Here is the log - there were several other calls happening at the same time but I think I got everything not related to this call deleted out. I had to replace certain values with fake ones.
The call is coming from a Freeswitch instance downstream of FreePBX. That is sending the call because it is required for use with our faxing software. That is why you will see ‘TrunktoFreeswitch’ in the logs.
‘T38carrier’ is the carrier being used for T38. Is the only trunk in this route, and should be the only one used. IP changed to 62.62.62.62.
‘VoiceCarrier’ is the trunk that the call is failing over to when is gets the failure on the T38 trunk (the call also fails there because the recipient of the fax did not realize the line was disconnected). That IP is changed to 82.82.82.82.
The sending caller ID is 1112223333, and the called party / recipient of the fax is 4445556666. In the dialstring you will see a prefix code of 9999. In practice that is a different code, and tells the T38 carrier to use a specific route for this traffic.
Here is the log:
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:1] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/TrunktoFreeswitch-002e15ff”, “TOUCH_MONITOR=1539784324.6994873”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/TrunktoFreeswitch-002e15ff”, “AMPUSER=1112223333”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?report”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?Set(REALCALLERIDNUM=1112223333)”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/TrunktoFreeswitch-002e15ff”, “AMPUSER=”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?limit”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/TrunktoFreeswitch-002e15ff”, “AMPUSERCIDNAME=”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?report”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-user-callerid,s,16)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:16] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?continue”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-user-callerid,s,30)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CALLERID(number)=1112223333”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CALLERID(name)=fax”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CDR(cnum)=1112223333”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CDR(cnam)=fax”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-user-callerid:34] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CHANNEL(language)=en”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:2] Gosub(“SIP/TrunktoFreeswitch-002e15ff”, “sub-record-check,s,1(out,4445556666,never)”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?initialized”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/TrunktoFreeswitch-002e15ff”, “NOW=1539784324”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__DAY=17”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__MONTH=10”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__YEAR=2018”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__TIMESTR=20181017-095204”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__FROMEXTEN=1112223333”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__MON_FMT=wav”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “Recordings initialized”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(ARG3=dontcare)”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/TrunktoFreeswitch-002e15ff”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:14] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “3?checkaction”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (sub-record-check,s,17)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@sub-record-check:17] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?sub-record-check,out,1”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (sub-record-check,out,1)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [out@sub-record-check:1] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “Outbound Recording Check from 1112223333 to 4445556666”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [out@sub-record-check:2] Set(“SIP/TrunktoFreeswitch-002e15ff”, “RECMODE=”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [out@sub-record-check:3] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?Goto(routewins)”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (sub-record-check,out,7)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [out@sub-record-check:7] Gosub(“SIP/TrunktoFreeswitch-002e15ff”, “recordcheck,1(never,out,4445556666)”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “Starting recording check against never”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/TrunktoFreeswitch-002e15ff”, “never”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (sub-record-check,recordcheck,14)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:14] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__REC_POLICY_MODE=NEVER”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:15] Goto(“SIP/TrunktoFreeswitch-002e15ff”, “stoprec”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (sub-record-check,recordcheck,25)
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:25] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “Stopping recording: out, 4445556666”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:26] Set(“SIP/TrunktoFreeswitch-002e15ff”, “__REC_STATUS=STOPPED”) in new stack
[2018-10-17 09:52:04] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:27] System(“SIP/TrunktoFreeswitch-002e15ff”, “/var/lib/asterisk/bin/stoprecording.php “SIP/TrunktoFreeswitch-002e15ff””) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [recordcheck@sub-record-check:28] Return(“SIP/TrunktoFreeswitch-002e15ff”, “”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [out@sub-record-check:8] Return(“SIP/TrunktoFreeswitch-002e15ff”, “”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:3] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:4] Set(“SIP/TrunktoFreeswitch-002e15ff”, “MOHCLASS=default”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:5] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?Set(TRUNKCIDOVERRIDE=“Client Name” <1112223333>)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:6] Set(“SIP/TrunktoFreeswitch-002e15ff”, “_NODEST=”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:7] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “dialout-trunk,4,+14445556666,off”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_TRUNK=4”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?sub-pincheck,s,1()”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?disabletrunk,1”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_NUMBER=+14445556666”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/TrunktoFreeswitch-002e15ff”, “OUTBOUND_GROUP=OUT_4”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?nomax”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?skipoutcid”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “outbound-callerid,4”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERPRES()=)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(REALCALLERIDNUM=1112223333)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?normcid”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/TrunktoFreeswitch-002e15ff”, “USEROUTCID=”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/TrunktoFreeswitch-002e15ff”, “EMERGENCYCID=”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/TrunktoFreeswitch-002e15ff”, “TRUNKOUTCID=<1112223333>”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?trunkcid”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?Set(CALLERID(all)=<1112223333>)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERID(all)=)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?Set(CALLERID(all)=Client Name <1112223333>)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CDR(outbound_cnum)=1112223333”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CDR(outbound_cnam)=Client Name”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?sub-flp-4,s,1()”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/TrunktoFreeswitch-002e15ff”, “OUTNUM=9999+14445556666”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/TrunktoFreeswitch-002e15ff”, “custom=SIP/T38carrierFaxOut”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “dialout-trunk-predial-hook,”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/TrunktoFreeswitch-002e15ff”, “”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?bypass,1”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CONNECTEDLINE(num,i)=+14445556666)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CONNECTEDLINE(name,i)=CID:1112223333)”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?customtrunk”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/TrunktoFreeswitch-002e15ff”, “SIP/T38carrierFaxOut/9999+14445556666,300,Tt”) in new stack
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] netsock2.c: == Using SIP RTP TOS bits 184
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] netsock2.c: == Using SIP RTP CoS mark 5
[2018-10-17 09:52:05] VERBOSE[23551][C-0023b0bc] app_dial.c: – Called SIP/T38carrierFaxOut/9999+14445556666
[2018-10-17 09:52:10] VERBOSE[27933][C-0023b0bc] chan_sip.c: – Got SIP response 504 “Server Time-out” back from 62.62.62.62:5060
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] app_dial.c: – SIP/T38carrierFaxOut-002e1600 is circuit-busy
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 102”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?continue,1:s-CONGESTION,1”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,s-CONGESTION,1)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/TrunktoFreeswitch-002e15ff”, “RC=102”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/TrunktoFreeswitch-002e15ff”, “102,1”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,102,1)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [102@macro-dialout-trunk:1] Goto(“SIP/TrunktoFreeswitch-002e15ff”, “continue,1”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 102 - failing through to other trunks”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [continue@macro-dialout-trunk:2] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CALLERID(number)=”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:8] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “dialout-trunk,2,+14445556666,off”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_TRUNK=2”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?sub-pincheck,s,1()”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?disabletrunk,1”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_NUMBER=+14445556666”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/TrunktoFreeswitch-002e15ff”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?nomax”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?skipoutcid”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/TrunktoFreeswitch-002e15ff”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “outbound-callerid,2”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERPRES()=)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(REALCALLERIDNUM=)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?normcid”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/TrunktoFreeswitch-002e15ff”, “USEROUTCID=”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/TrunktoFreeswitch-002e15ff”, “EMERGENCYCID=”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/TrunktoFreeswitch-002e15ff”, “TRUNKOUTCID=”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?trunkcid”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERID(all)=)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERID(all)=)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “1?Set(CALLERID(all)=Client Name <1112223333>)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CDR(outbound_cnum)=1112223333”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CDR(outbound_cnam)=Client Name”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?sub-flp-2,s,1()”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/TrunktoFreeswitch-002e15ff”, “OUTNUM=+14445556666”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/TrunktoFreeswitch-002e15ff”, “custom=SIP/VoiceCarrierOut”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “dialout-trunk-predial-hook,”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/TrunktoFreeswitch-002e15ff”, “”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?bypass,1”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CONNECTEDLINE(num,i)=+14445556666)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?Set(CONNECTEDLINE(name,i)=CID:1112223333)”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?customtrunk”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/TrunktoFreeswitch-002e15ff”, “SIP/VoiceCarrierOut/+14445556666,300,Tt”) in new stack
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] netsock2.c: == Using SIP RTP TOS bits 184
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] netsock2.c: == Using SIP RTP CoS mark 5
[2018-10-17 09:52:10] VERBOSE[23551][C-0023b0bc] app_dial.c: – Called SIP/VoiceCarrierOut/+14445556666
[2018-10-17 09:52:11] VERBOSE[27933][C-0023b0bd] netsock2.c: == Using SIP RTP TOS bits 184
[2018-10-17 09:52:11] VERBOSE[27933][C-0023b0bd] netsock2.c: == Using SIP RTP CoS mark 5
[2018-10-17 09:52:40] VERBOSE[27933][C-0023b0be] netsock2.c: == Using SIP RTP TOS bits 184
[2018-10-17 09:52:40] VERBOSE[27933][C-0023b0be] netsock2.c: == Using SIP RTP CoS mark 5
[2018-10-17 09:52:50] VERBOSE[23551][C-0023b0bc] app_dial.c: – SIP/VoiceCarrierOut-002e1601 is ringing
[2018-10-17 09:52:52] VERBOSE[27933][C-0023b0bc] chan_sip.c: – Got SIP response 480 “Temporarily not available” back from 82.82.82.82:5060
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] app_dial.c: – SIP/VoiceCarrierOut-002e1601 is circuit-busy
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 19”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?continue,1:s-CONGESTION,1”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,s-CONGESTION,1)
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/TrunktoFreeswitch-002e15ff”, “RC=19”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/TrunktoFreeswitch-002e15ff”, “19,1”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,19,1)
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [19@macro-dialout-trunk:1] Goto(“SIP/TrunktoFreeswitch-002e15ff”, “continue,1”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/TrunktoFreeswitch-002e15ff”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 19 - failing through to other trunks”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [continue@macro-dialout-trunk:2] Set(“SIP/TrunktoFreeswitch-002e15ff”, “CALLERID(number)=”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [4445556666@from-internal:9] Macro(“SIP/TrunktoFreeswitch-002e15ff”, “outisbusy,”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outisbusy:1] Progress(“SIP/TrunktoFreeswitch-002e15ff”, “”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outisbusy:2] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?emergency,1”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outisbusy:3] GotoIf(“SIP/TrunktoFreeswitch-002e15ff”, “0?intracompany,1”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outisbusy:4] Playback(“SIP/TrunktoFreeswitch-002e15ff”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[2018-10-17 09:52:52] VERBOSE[23551][C-0023b0bc] file.c: – <SIP/TrunktoFreeswitch-002e15ff> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2018-10-17 09:52:54] VERBOSE[23551][C-0023b0bc] file.c: – <SIP/TrunktoFreeswitch-002e15ff> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
[2018-10-17 09:52:56] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [s@macro-outisbusy:5] Congestion(“SIP/TrunktoFreeswitch-002e15ff”, “20”) in new stack
[2018-10-17 09:52:56] WARNING[23551][C-0023b0bc] channel.c: Prodding channel ‘SIP/TrunktoFreeswitch-002e15ff’ failed
[2018-10-17 09:52:56] VERBOSE[23551][C-0023b0bc] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/TrunktoFreeswitch-002e15ff’ in macro ‘outisbusy’
[2018-10-17 09:52:56] VERBOSE[23551][C-0023b0bc] pbx.c: == Spawn extension (from-internal, 4445556666, 9) exited non-zero on ‘SIP/TrunktoFreeswitch-002e15ff’
[2018-10-17 09:52:56] VERBOSE[23551][C-0023b0bc] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/TrunktoFreeswitch-002e15ff”, “”) in new stack
[2018-10-17 09:52:56] VERBOSE[23551][C-0023b0bc] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/TrunktoFreeswitch-002e15ff’