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

    FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge'

    IT Discussion
    twilio freepbx freepbx 14
    8
    15
    2.6k
    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.
    • B
      bnrstnr
      last edited by

      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
      
      travisdh1T 1 Reply Last reply Reply Quote 1
      • DashrenderD
        Dashrender
        last edited by

        What kind of firewall?

        1 Reply Last reply Reply Quote 1
        • B
          bnrstnr
          last edited by

          Sophos UTM :grimacing_face: I'm checking logs right now and I don't see anything yet

          Also, no errors in the Twilio debugger.

          A scottalanmillerS 2 Replies Last reply Reply Quote 0
          • A
            Alex Sage @bnrstnr
            last edited by

            @bnrstnr said in FreePBX/Twilio dropping calls after 32 seconds. Channel PJSIP left 'simple_bridge':

            Sophos UTM

            Make sure SIP ALG is disabled

            1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller @bnrstnr
              last edited by

              @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?

              B 1 Reply Last reply Reply Quote 0
              • B
                bnrstnr @scottalanmiller
                last edited by

                @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.

                JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @bnrstnr
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @bnrstnr
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • travisdh1T
                      travisdh1 @bnrstnr
                      last edited by

                      @bnrstnr Where I work right now, we have a lot of SonicWalls deployed.... none of the VOIP systems connect through a SonicWall.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @travisdh1
                        last edited by

                        @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.

                        dbeatoD 1 Reply Last reply Reply Quote 1
                        • NashBrydgesN
                          NashBrydges
                          last edited by

                          Have you tried this? Disable the SIP module could fix your problem.

                          https://community.sophos.com/kb/en-us/123523

                          1 Reply Last reply Reply Quote 1
                          • B
                            bnrstnr
                            last edited by bnrstnr

                            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.

                            1 Reply Last reply Reply Quote 1
                            • dbeatoD
                              dbeato @scottalanmiller
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • B
                                bnrstnr
                                last edited by

                                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.

                                0_1540991628677_816e42d0-19ba-480d-aefe-94a7b5f6bea3-image.png
                                0_1540991777346_ae802fc9-92f6-4b57-ba7a-47c00328c122-image.png

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @bnrstnr
                                  last edited by

                                  @bnrstnr that's your most likely culprit, having it be SIP aware.

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