Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VOIP calls don't end

    Scheduled Pinned Locked Moved NAT
    voip
    13 Posts 4 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WillemC
      last edited by WillemC

      We just noticed another problem.
      It seems that if an mobile user wants to call with the company number, they dial the 'incalling' number, with an extension behind it.
      so for example +31 123 456789,201
      When they dial the first number, don't get the 'pause', it just dials and they keep hearing a double peep for 30 seconds. Then the connections is ended. So they aren't able to call with the company number.

      Perhaps this triggers anyone for a solution?

      these instructions were followed:
      https://docs.netgate.com/pfsense/en/latest/nat/configuring-nat-for-a-voip-pbx.html

      1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer
        last edited by

        pfsense does not alter headers.

        Are you using any packages?

        Are you using 1:1 NAT?

        if not are you using static port?

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • W
          WillemC
          last edited by WillemC

          I'm not using any packages.
          I'm not using 1:1 NAT
          An static port for what? The Avaya PBX? Or something else?
          I checked the static port in outbound as described in this link:
          https://docs.netgate.com/pfsense/en/latest/nat/configuring-nat-for-a-voip-pbx.html

          Below some screenshots of the settings I've entered.
          I didn't make any further changes. Perhaps I'm doing something wrong?

          76ca000b-295c-461f-bdc0-c84d14c35e06-afbeelding.png

          The Voip Ports
          cb83ce1c-b02a-41c6-8b88-fd602c6c0fa6-afbeelding.png

          Settings in the outbound:
          d5df3623-dd38-4b50-be64-8c3239af6636-afbeelding.png

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer
            last edited by chpalmer

            Firewall rules are processed for traffic that enters an interface. (look at your interface and point your finger at it.. that direction)

            In order for traffic to get to your PBX interface from outside you need rules on your WAN pointed at (or destination of) your PBX address. (its LAN address).

            On your PBX interface (the LAN your PBX is on) you need a rule with your PBX net as the source and "any" as its destination.

            I believe from a quick look at your pictures above you are using "aliases"..??.. I do not personally so Im not familiar.

            In a rule above you show a "destination" address starting with 31.x.x.x That is obviously a public address of some kind. If that address is on your premises here (i.e. your WAN address) that is wrong. Your public IP WAN address should probably never show up in any firewall rules for any purpose I can think of other than allowing access to your firewall from an outside source (and even then it should probably be "destination" "WAN address" on your WAN interface. )

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • W
              WillemC
              last edited by WillemC

              @chpalmer said in VOIP calls don't end:

              PBX net a

              Thanks for your reply.
              Let's see if I understand it correctly.

              I need to create a NAT Port Forward rule looking like this:

              Interface: The Interface where the PBX is located on (192.xxx.xxx.xxx)
              Protocol TCP/UDP
              Source address: same as the above mentioned interface (/ or should this be the IP address of the PBX itself (192.xxx.xxx.17?)
              Source ports: * (all)
              destination address: * (all)
              destination Ports: VOIP_Ports (5060, 10000:20000, 46750:50750)
              NAT IP: 192.xxx.xxx.17 (local ip of the PBX)
              NAT Ports: VOIP_Ports (5060, 10000:20000, 46750:50750)

              41e6e530-5a5b-4465-9cf4-84363a5dd5fb-afbeelding.png

              Also my rules with the public IP should be changed:
              Interface: fiberglass interface, containing my public IP
              Protocol: TCP/UDP
              Source address: SIPTrunk (containing few IP-addresses)
              Source Ports: * (all)
              Dest. address: The Lan on which the PBX is (192.xxx.xxx.xxx)
              Dest. Ports: VOIP_Ports (5060, 10000:20000, 46750:50750)
              NAT IP: 192.xxx.xxx.17 (Local IP of the PBX)
              NAT Ports: VOIP_Ports (5060, 10000:20000, 46750:50750)

              bc4adcea-f60a-4406-a50e-bfc2ad1c816c-afbeelding.png

              chpalmerC 1 Reply Last reply Reply Quote 0
              • chpalmerC
                chpalmer @WillemC
                last edited by

                @WillemC

                I actually said nothing about port forwarding. I only mentioned firewall rules.

                On your screen shots.. You do not have to hide addresses on your LAN from public view. Just hide your public addresses.

                Usually VOIP is all UDP with a few exceptions. It does not hurt to add TCP however if you trust your external addresses.

                On a port forward your source is "Any" unless you want to tie things down to specific users and know those addresses.

                Only you know what ports you have specified. 5060-5061 is standard usually but this is not set in stone.

                What RTP are you using? Usually you do not need 5000 ports open for that.

                Triggering snowflakes one by one..
                Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                1 Reply Last reply Reply Quote 0
                • W
                  WillemC
                  last edited by WillemC

                  My bad :)

                  So in the firewall rules, on the local LAN, I create a rule like this:
                  Protocol: IPv4 TCP/UDP
                  Source: localLan
                  Port : *
                  Destination: *
                  Port: *
                  Gateway: *
                  Queue: none
                  e28b56f3-cc8d-4aaf-b437-c6c85ae64415-afbeelding.png

                  In my WAN firewall rules I have a rule like this:
                  cc26b031-9195-4c15-a34f-b790bfc0b3f1-afbeelding.png

                  edit: regarding the ports I mentioned before, these were given to me as the correct ports by the company who installed the VOIP PBX.

                  chpalmerC 1 Reply Last reply Reply Quote 0
                  • chpalmerC
                    chpalmer @WillemC
                    last edited by

                    @WillemC

                    On your WAN rule.. what is "Siptrunk" and what does it relate to?

                    Alias? Just to reiterate.. I don't do aliases myself so Im unfamiliar with how they work. Id have to tinker.

                    That seems to be the source? Does it equal your providers servers?

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 0
                    • chpalmerC
                      chpalmer
                      last edited by chpalmer

                      192.9.x.x is not a private IP address and should not be used as though. That is probably why its not working.

                      This is a routable (reported unreachable right now) address and their servers will treat it as such. You break stuff when you don't follow the rules.

                      https://www.speedguide.net/ip/192.9.200.17

                      Use addresses from the range below.
                      10.0.0.0/8
                      172.16.0.0/16
                      192.168.0.0/24

                      Triggering snowflakes one by one..
                      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                      1 Reply Last reply Reply Quote 0
                      • Y
                        Yoshkara
                        last edited by

                        For nearly a year now, we have multichannel numbers and 800 numbers from Hottelecom. When it was connected, it was a problem, but not significant, so the support service instantly decided everything. Have you contacted the support team?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.