Solved FreePBX and SonicWall intermittent inbound calls
-
@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.
-
I found this post on spiceworks:
https://community.spiceworks.com/topic/275636-sip-calls-blocked-by-sonicwallIt 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.- If you still have problems, open up these ports:
5060-5062 UDP
10000-20000 UDP
10000-20000 TCP
-
@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.
-
@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.
-
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.
-
If I remember right, I thought in the Sonicwall world you actually wanted to enable SIP transformations. I specifically remember having to do that once for a NTG customer that was connecting to a cloud PBX and getting one-way audio otherwise. That was a little over 3 years ago, so perhaps the setting is no longer counter-intuitive now.
-
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.
-
@Mike-Davis said in FreePBX and SonicWall intermittent inbound calls:
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.
"Enable Consistent NAT".... I guess maybe I have some learning to do here, but NAT can be inconsistent?!
-
@FiyaFly said in FreePBX and SonicWall intermittent inbound calls:
@Mike-Davis said in FreePBX and SonicWall intermittent inbound calls:
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.
"Enable Consistent NAT".... I guess maybe I have some learning to do here, but NAT can be inconsistent?!
By default. That is normal. Every new connection should get a random port. This setting breaks that.
-
@JaredBusch said in FreePBX and SonicWall intermittent inbound calls:
@FiyaFly said in FreePBX and SonicWall intermittent inbound calls:
@Mike-Davis said in FreePBX and SonicWall intermittent inbound calls:
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.
"Enable Consistent NAT".... I guess maybe I have some learning to do here, but NAT can be inconsistent?!
By default. That is normal. Every new connection should get a random port. This setting breaks that.
Okay, then maybe i just misunderstood it. I knew that was the concept of NAT, but the way I read it was that it was essentially always changing ports for one connection.
-
@FiyaFly Well, it inconsistent is how it was behaving.
-
@Mike-Davis said in FreePBX and SonicWall intermittent inbound calls:
@FiyaFly Well, it inconsistent is how it was behaving.
Fair point. Fair point indeed. lol. I will admit, I have a rule of thumb with inconsistent problems. If it's on a computer, first assumption is hardware.
For something like this, first assumption is Firewall, and more specifically NAT.