Calls Dropped after 32 Seconds

Hi Guys,

I have noticed that some outgoing calls to mobile phone are dropped after 32 secons.

I examined the logs and see:

378 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] res_agi.c: <SIP/206-00000165>AGI Script attendedtransfer-rec-restart.php completed, returning 0
379 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“SIP/206-00000165”, “”) in new stack
380 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/206-00000165’ in macro ‘hangupcall’
381 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/206-00000165’
382 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] app_stack.c: SIP/206-00000165 Internal Gosub(crm-hangup,s,1) start
383 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:1] NoOp(“SIP/206-00000165”, “Sending Hangup to CRM”) in new stack
384 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/206-00000165”, “HANGUP CAUSE: 16”) in new stack
385 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/206-00000165”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
386 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/206-00000165”, “MASTER CHANNEL: 1601654084.357 = 1601654084.357”) in new stack
387 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/206-00000165”, “0?return”) in new stack
388 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/206-00000165”, “__CRM_HANGUP=1”) in new stack
389 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/206-00000165”, “sangomacrm.agi”) in new stack
390 [2020-10-02 15:55:35] VERBOSE[29592][C-0000003a] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi

Any suggestions what might be causing this or what I can do to rectify it?

Thanks.

Turn on SIP Debug and provide a complete log of an example call (where the issue happens)

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug

When issues like this occur, they are likely network/NAT related.

1 Like

Also, search the archive for “30 seconds” and you’ll see a lot of information that may be related to this.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.