Hi,
Hope I am not posing a common question…I did have a good hunt around for a solution. I am running FreePBX 14 behind a pfsense firewall. I have a dedicated static external IP and Internal IPs which are Natted 1:1.
I have followed a couple of guides which improved the time from 15mins to 60mins but it still drops …I changed the firewall optimisation setting to conservative and also Disabled the Firewall Scrub.
I am guessing its still the firewall…keen to hear any ideas as what to try next.
Log for call drop is detailed below (note: My number has been starred out)
-- Channel SIP/Aus_Phone_Co-00000005 left 'simple_bridge' basic-bridge <f0b079b3-7c8e-4bc9-8d13-8b24f5df1300>
-- Channel SIP/210-00000004 left 'simple_bridge' basic-bridge <f0b079b3-7c8e-4bc9-8d13-8b24f5df1300>
== Spawn extension (macro-dialout-trunk, s, 32) exited non-zero on ‘SIP/210-00000004’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, **********, 6) exited non-zero on ‘SIP/210-00000004’
– Executing [h@from-internal:1] Macro(“SIP/210-00000004”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/210-00000004”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/210-00000004”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“SIP/210-00000004”, "SIP/Aus_Phone_Co-00000005 monior file= ") in new stack
– Executing [s@macro-hangupcall:5] AGI(“SIP/210-00000004”, “attendedtransfer-rec-restart.php,SIP/Aus_Phone_Co-00000005,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– <SIP/210-00000004>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [s@macro-hangupcall:6] Hangup(“SIP/210-00000004”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘SIP/210-00000004’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/210-00000004’
– SIP/210-00000004 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“SIP/210-00000004”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“SIP/210-00000004”, “HANGUP CAUSE: 16”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“SIP/210-00000004”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“SIP/210-00000004”, “MASTER CHANNEL: 1547877720.4 = 1547877720.4”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“SIP/210-00000004”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“SIP/210-00000004”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“SIP/210-00000004”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
– <SIP/210-00000004>AGI Script sangomacrm.agi completed, returning 0
– Executing [s@crm-hangup:8] Return(“SIP/210-00000004”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/210-00000004’
– SIP/210-00000004 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=