FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge'
-
All of our calls are randomly dropping after exactly 32 seconds. This just started this morning from what I can tell.
The log shows Channel PJSIP/Twilio joined simple bridge, then 32 seconds later it says PJSIP/Twilio left simple bridge...
Not sure if it's a networking error with my connection and Twilio. I tried rebooting the PBX to no avail. The PBX and all phones are onsite.
[2018-10-29 14:36:08] VERBOSE[28696][C-00000022] bridge_channel.c: Channel PJSIP/103-00000034 joined 'simple_bridge' basic-bridge <04242348-749d-4aed-a0cd-d335464ab84f> [2018-10-29 14:36:08] VERBOSE[28660][C-00000022] bridge_channel.c: Channel PJSIP/Twilio-US1-North-America-Virginia-00000030 joined 'simple_bridge' basic-bridge <04242348-749d-4aed-a0cd-d335464ab84f> [2018-10-29 14:36:40] VERBOSE[28660][C-00000022] bridge_channel.c: Channel PJSIP/Twilio-US1-North-America-Virginia-00000030 left 'simple_bridge' basic-bridge <04242348-749d-4aed-a0cd-d335464ab84f> [2018-10-29 14:36:40] VERBOSE[28660][C-00000022] app_macro.c: Spawn extension (macro-dial, s, 23) exited non-zero on 'PJSIP/Twilio-US1-North-America-Virginia-00000030' in macro 'dial' [2018-10-29 14:36:40] VERBOSE[28660][C-00000022] pbx.c: Spawn extension (ext-group, 600, 19) exited non-zero on 'PJSIP/Twilio-US1-North-America-Virginia-00000030' [2018-10-29 14:36:40] VERBOSE[28660][C-00000022] pbx.c: Executing [h@ext-group:1] Macro("PJSIP/Twilio-US1-North-America-Virginia-00000030", "hangupcall,") in new stack
-
What kind of firewall?
-
Sophos UTM :grimacing_face: I'm checking logs right now and I don't see anything yet
Also, no errors in the Twilio debugger.
-
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
Sophos UTM
Make sure SIP ALG is disabled
-
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
Sophos UTM :grimacing_face: I'm checking logs right now and I don't see anything yet
Also, no errors in the Twilio debugger.
Any changes made there?
-
@scottalanmiller said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
Sophos UTM :grimacing_face: I'm checking logs right now and I don't see anything yet
Also, no errors in the Twilio debugger.
Any changes made there?
Only the updates to the UTM. I did fire up a new FreePBX install (on a new IP address) when we switched to Twilio, I'll set the new PBX IP to the old PBX's address and see if there is something going on with the routing.
Things have been working better than ever since the switch to Twilio 2 weeks ago, so maybe the last round of sophos updates screwed me. I'll keep digging.
-
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@scottalanmiller said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
Sophos UTM :grimacing_face: I'm checking logs right now and I don't see anything yet
Also, no errors in the Twilio debugger.
Any changes made there?
Only the updates to the UTM. I did fire up a new FreePBX install (on a new IP address) when we switched to Twilio, I'll set the new PBX IP to the old PBX's address and see if there is something going on with the routing.
Things have been working better than ever since the switch to Twilio 2 weeks ago, so maybe the last round of sophos updates screwed me. I'll keep digging.
Don’t change many things at once. You will hurt yourself in the end.
-
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@scottalanmiller said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
Sophos UTM :grimacing_face: I'm checking logs right now and I don't see anything yet
Also, no errors in the Twilio debugger.
Any changes made there?
Only the updates to the UTM. I did fire up a new FreePBX install (on a new IP address) when we switched to Twilio, I'll set the new PBX IP to the old PBX's address and see if there is something going on with the routing.
Things have been working better than ever since the switch to Twilio 2 weeks ago, so maybe the last round of sophos updates screwed me. I'll keep digging.
UTM updates would be a key candidate for problems.
-
@bnrstnr Where I work right now, we have a lot of SonicWalls deployed.... none of the VOIP systems connect through a SonicWall.
-
@travisdh1 said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@bnrstnr Where I work right now, we have a lot of SonicWalls deployed.... none of the VOIP systems connect through a SonicWall.
SonicWalls famously cause problems with VoIP. They traditionally are the number 1 VoIP problem we see in teh while.
-
Have you tried this? Disable the SIP module could fix your problem.
-
All morning I've been messing with firewall settings, watching all kinds of logs, rebooting the firewall/freepbx/host to no avail.
Somehow the cable modem has been off my troubleshooting radar today... well, I rebooted it just now and everything seems to be back to normal :pouting_face: We did lose power last Thursday and looking back through logs, the call dropping did seem to start right after the power turned back on. I don't think the cable modem is on the UPS so maybe having a few hard power cycles and brown outs in a row messed something up? No idea. Glad it's working again though. Definitely going to put the modem on the UPS now though.
-
@scottalanmiller said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@travisdh1 said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':
@bnrstnr Where I work right now, we have a lot of SonicWalls deployed.... none of the VOIP systems connect through a SonicWall.
SonicWalls famously cause problems with VoIP. They traditionally are the number 1 VoIP problem we see in teh while.
That's because is a simple setting to enable, same as disabling SIP-ALG that is enabled on most routers or firewalls like Ubiquiti, Linksys...
Only Setting to enable is consistent NAT... under VOIP...
One that is super annoying and cannot disable for now is the new Verizon FIOS Routers at home.
-
I will say that our Sophos SG has been solid over the years, and it was super easy to setup. I have used the built in VOIP helper since we ported our POTS lines to VoicePulse a few years ago, and we just recently switched to Twilio. Shots of the only setup required below.
-
@bnrstnr that's your most likely culprit, having it be SIP aware.