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

    Upgrade 2.6 -> 2.7.2 now can’t make outgoing VOIP/SIP calls

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 3 Posters 730 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.
    • M
      MarioG
      last edited by MarioG

      UPDATE: I found https://www.voip-info.org/forum/threads/pfsense-2-6-2-7-breaks-outgoing-calls.27528/

      Sure enough, if I deactivate the one and only VPN IPSEC tunnel, I CAN make outbound calls. Not a solution though. What could cause this and could it be a 2.7.2 bug?

      Please note that the VOIP connection has nothing to do with VPN, the IPSEC VPN is only used for iPhones to connect remotely. Strange the IPSEC VPN would break SIP/VOIP.

      I checked all logs, nothing abnormal shows up. There are NO firewall block lines in log.

      I compared the PBX failing log with the previous working calls log and I found outgoing calls connect to Callcentric and connection starts but stops before "entering state [calling][0]" message should occur. Nothing else helpful.

      Only packages are: mailreport, notopng, and pfBlockerNG-devel.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        How is the IPSec configured? Is it tunnel or VTI mode? Is it grabbing the VoIP traffic incorrectly? Check a pcap on the VPN.

        1 Reply Last reply Reply Quote 0
        • M
          MarioG
          last edited by MarioG

          Thanks so much for your help. Some info:

          Just want to make sure this is understood: the SIP/VOIP phone traffic does not go through VPN It goes from the Mac host strait to the ITSP. Another item: If I turn on the tunnel the problem starts immediately, I must deactivate the tunnel and reboot to remove the problem, simply turning the tunnel off does not reverse the issue.

          I have been reading how to PCAP. Since this is new to me it may take a while but working on it since I really want to stay on 2.7.2. Had planned to jump to 2.8 but have a problem on 2.6 (routing stops and no GUI after power failure) since updating modem from Arris S33 to S34 which triggered this conversion.

          I think its tunnel because I set it up years ago. Have no idea what VTI is but think its new. The VPN settings are (any IPs changed for security):
          pfSense.lan - VPN: IPsec: Mobile Clients: Edit Phase 1.jpg

          pfSense.lan - VPN: IPsec: Mobile Clients: Edit Phase 2.png

          pfSense.lan - VPN: IPsec: Mobile Clients.png

          pfSense.lan - VPN: IPsec: Advanced Settings.png

          1 Reply Last reply Reply Quote 0
          • M
            MarioG
            last edited by

            Is there a way to change the post title to:
            Upgrade 2.6 -> 2.7.2 now can’t make outgoing VOIP/SIP calls if a VPN tunnel is active

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Ok the problem is almost certainly that the address pool you're using for mobile clients is 1.2.10.1/6.

              That's all addresses from 0.0.0.0 to 3.255.255.254 and those are public IPs. Since the local side is set to 0.0.0.0/0 (any address) it means that the tunnel will match any traffic trying to reach any public IP in that range. So I suspect a lot would be broken but you have just now noticed it because the VoIP server is probably in that range?

              Unclear why 2.6 would not be affected but probably more luck that anything. It likely should have been and only isn't because of a bug which is fixed in 2.7.2.

              So set the pool to some much smaller and private subnet like 10.2.10.1/24. Assuming that doesn't conflict with any local subnet you have already.

              1 Reply Last reply Reply Quote 0
              • M
                MarioG
                last edited by MarioG

                Holly mackerel you nailed it! When I set it up years ago I thought the 6 was the number of clients (no mask title), that's why I made it 6. I changed it to 24 and bingo all was well again! Also, the real pool address is different, I changed the post to 1.2.10... for privacy. It's actually 10.246...., no matter since changing the mask to 24 fixed it. I guess it was probably was a 2.6 bug as you said.

                Different issue but mentioning it again in case someone else has this happen:
                The recent S33 modem failure and change to S34 caused pfsense 2.6 not to come back up after a power failure (3 this month so far!). I hope pfsense 2.7.2 can recover from a power failure like 2.6 did with the old modem. Fingers crossed!

                stephenw10, I cannot thank you enough for this! This stressed wife and I a lot. We depend on emergency and medical calls/communications which is why I deferred 2.7.2.

                S 1 Reply Last reply Reply Quote 2
                • M
                  MarioG
                  last edited by

                  I can't believe I had pfsense since 2.4.2 and this major misconfiguration error didn't cause other problems! I was lucky I guess. Wife says thank you again! She is not techie at all, just watches me stress over stuff like this.

                  1 Reply Last reply Reply Quote 1
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Cool. Good result! 😁

                    1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @MarioG
                      last edited by

                      @MarioG said in Upgrade 2.6 -> 2.7.2 now can’t make outgoing VOIP/SIP calls:

                      I hope pfsense 2.7.2 can recover from a power failure

                      If you installed 2.7.x new it will use ZFS by default which should be much better in this case. Otherwise most writeable file systems might (or might not) have problems/corruption due to partially-written files. Option 2 is using a UPS...

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote 👍 helpful posts!

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MarioG @SteveITS
                        last edited by MarioG

                        @SteveITS I have had ZFS since it was available for that reason, and I always reformat the SSD so pfsense install does ZFS from scratch. Yes, I have a very large UPS for many years, small car battery size. The problem is it lasts for a couple of hours since it handles the modem, router, HP 24 port switch, Mac Mini phone system, etc., whereas our power failures average 3 to 8 hours. Sometimes multiple days, one time almost a week! 2.6 always recovered until the modem change, strange but true. Trying to login to pfsense 2.6 only returned the dreaded "502 Bad Gateway Nginx error". Had to power off/on. Waiting to see what happens to 2.7.2. I'm thinking possible ethernet driver issue with a different chip in the S34 than the S33, which may be fixed in 2.7.2. The next power failure will be the test.

                        My plan is after Pfsense 2.8 is released I will buy a new box for it with 2.5G ethernet to the modem which hopefully will be fine.

                        Thanks for the comments.

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