ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved FreePBX and SonicWall intermittent inbound calls

    IT Discussion
    freepbx sonicwall
    7
    27
    4.3k
    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.
    • Mike DavisM
      Mike Davis
      last edited by gjacobse

      We have a FreePBX outside a SonicWall firewall and a Yealink on the inside of the firewall. From other extensions, when you dial that extension, 9 times out of 10 , you get the message:
      "The person at extension xxx is unavailable. Please leave your message after the tone. When done hang up or press the # key."

      On the Yealink we have enabled STUN.

      On the SonicWall we have disabled SIP translations.

      We suspect the SonicWall because the phone was working before it was moved to that location.

      What other things should we check?

      1 Reply Last reply Reply Quote 4
      • Mike DavisM
        Mike Davis
        last edited by

        Found the magic checkbox. Under SIP settings, had to check the box for Enable consistent NAT. I did have to reboot the phone for the change to take effect.

        When we checked the box for "Enable SIP Transformations" we got the one way audio thing. On the remote side. the phone would ring and ring and eventually go to voicemail. On the local side, the phone would ring, and he would answer, but couldn't hear anything.

        0_1484235829277_settingToAllowInboundCalls.png

        FiyaFlyF 1 Reply Last reply Reply Quote 1
        • Mike DavisM
          Mike Davis
          last edited by

          These guys @gjacobse @Mike-Ralston @FiyaFly might have more info.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            So you're testing this to move all phones behind the sonicwall?

            Mike DavisM 1 Reply Last reply Reply Quote 0
            • Mike DavisM
              Mike Davis @DustinB3403
              last edited by

              @DustinB3403 No, I have a coworker that spends so much time in that office I wanted to put a phone there.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by

                Is this a remote office? Any reason the phone can't be on the same side of the firewall as the rest of the phone equipment?

                Mike DavisM 1 Reply Last reply Reply Quote 0
                • Mike DavisM
                  Mike Davis @DustinB3403
                  last edited by Mike Davis

                  Yes, this a remote office. The PBX is on the internet, the phone is inside the firewall.

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    On the 10th call you reach the phone and it rings, and you can converse with this employee?

                    Mike DavisM 1 Reply Last reply Reply Quote 0
                    • Mike DavisM
                      Mike Davis @DustinB3403
                      last edited by

                      @DustinB3403 said in FreePBX and SonicWall intermittent inbound calls:

                      On the 10th call you reach the phone and it rings, and you can converse with this employee?

                      yes. It seemed like each time we changed a setting, we thought we had it because the call went through. Then the next time we tried to call we realized the issue hasn't been resolved.

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @Mike Davis
                        last edited by

                        @Mike-Davis So if you're able to get a call to go through, across the internet, and connect, even sporadically. The issue has to be with the internet, and not the firewall settings.

                        If the firewall was denying access to the phone, it wouldn't ever connect.

                        FreePBX is forwarding you to voicemail because it knows the phone is unreachable.

                        Mike DavisM JaredBuschJ 3 Replies Last reply Reply Quote 0
                        • Mike DavisM
                          Mike Davis @DustinB3403
                          last edited by

                          @DustinB3403 said in FreePBX and SonicWall intermittent inbound calls:

                          @Mike-Davis So if you're able to get a call to go through, across the internet, and connect, even sporadically. The issue has to be with the internet, and not the firewall settings.

                          If the firewall was denying access to the phone, it wouldn't ever connect.

                          FreePBX is forwarding you to voicemail because it knows the phone is unreachable.

                          The odd thing is that when I can't call him, I can IM him and have him call me and everything works fine every time. I just can't call him most of the time.

                          Mike DavisM 1 Reply Last reply Reply Quote 0
                          • Mike DavisM
                            Mike Davis @Mike Davis
                            last edited by

                            we just added the STUN server address of Stun.ekiga.net and for two calls, it rang twice and then gave the error message, and on the third call failed without delay.

                            1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403
                              last edited by

                              Have you setup a wireshark trace to see where the connection is breaking?

                              1 Reply Last reply Reply Quote 0
                              • coliverC
                                coliver
                                last edited by coliver

                                Doesn't RTP use a huge port range? Could this be a matter of an RTP session getting blocked by the sonicwall for some ports but not others? Although STUN should resolve this issue.

                                DustinB3403D 1 Reply Last reply Reply Quote 1
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  Also have the employee setup a wireshark session and see what they get from their side.

                                  1 Reply Last reply Reply Quote 0
                                  • FiyaFlyF
                                    FiyaFly
                                    last edited by

                                    For giggles and grins, make sure you have ports 10000-20000 open to the PBX. In theory you already do, or at least some of them, and STUN should have fixed the rest, but doesn't hurt to check. You can also get someone to check the PBX logs when you try a call. If you can't during the day I can this afternoon

                                    1 Reply Last reply Reply Quote 1
                                    • DustinB3403D
                                      DustinB3403 @coliver
                                      last edited by

                                      @coliver said in FreePBX and SonicWall intermittent inbound calls:

                                      Doesn't RTP use a huge port range? Could this be a matter of an RTP session getting blocked by the sonicwall for some ports but not others? Although STUN should resolve this issue.

                                      The devices should be configured to use only specific ports though. Just because it can use a wide range, doesn't mean it should be left open.

                                      1 Reply Last reply Reply Quote 0
                                      • Mike DavisM
                                        Mike Davis
                                        last edited by

                                        I found this post on spiceworks:
                                        https://community.spiceworks.com/topic/275636-sip-calls-blocked-by-sonicwall

                                        It suggests:
                                        2. If the above is not an option... For SonicWalls, create a LAN > WAN firewall rule with SIP as the service (everything else set to ANY), only have Allow Fragmented Packets checked. In the advanced tab, set the TCP timeout to 15 and the UDP timeout to 1200.

                                        1. If you still have problems, open up these ports:

                                        5060-5062 UDP

                                        10000-20000 UDP

                                        10000-20000 TCP

                                        1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @DustinB3403
                                          last edited by JaredBusch

                                          @DustinB3403 said in FreePBX and SonicWall intermittent inbound calls:

                                          @Mike-Davis So if you're able to get a call to go through, across the internet, and connect, even sporadically. The issue has to be with the internet, and not the firewall settings.

                                          That is completely untrue.

                                          1 Reply Last reply Reply Quote 3
                                          • JaredBuschJ
                                            JaredBusch @DustinB3403
                                            last edited by

                                            @DustinB3403 said in FreePBX and SonicWall intermittent inbound calls:

                                            If the firewall was denying access to the phone, it wouldn't ever connect.

                                            Of course, but it is not denying access. Does not mean everything else is working. Firewall is just one portion of a router functionality.

                                            1 Reply Last reply Reply Quote 1
                                            • DashrenderD
                                              Dashrender
                                              last edited by

                                              I tend to agree with most here (not Dustin though) that there is a port issue involved.

                                              To make matters worse, SonicWall is notorious for having issues with SIP - I did when I was using SIP through it for a while.

                                              1 Reply Last reply Reply Quote 0
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • First post
                                                Last post