pbx*CLI>
-- Remote UNIX connection
-- Remote UNIX connection disconnected
== Setting global variable 'SIPDOMAIN' to 'pbx.example.com'
-- Executing [**[email protected]:1] Macro("PJSIP/61-0000002a", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [[email protected]:1] Set("PJSIP/61-0000002a", "TOUCH_MONITOR=1502029717.49") in new stack
-- Executing [[email protected]:2] Set("PJSIP/61-0000002a", "AMPUSER=61") in new stack
-- Executing [[email protected]:3] GotoIf("PJSIP/61-0000002a", "0?report") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/61-0000002a", "1?Set(__REALCALLERIDNUM=61)") in new stack
-- Executing [[email protected]:5] Set("PJSIP/61-0000002a", "AMPUSER=61") in new stack
-- Executing [[email protected]:6] GotoIf("PJSIP/61-0000002a", "0?limit") in new stack
-- Executing [[email protected]:7] Set("PJSIP/61-0000002a", "AMPUSERCIDNAME=Gigaset") in new stack
-- Executing [[email protected]:8] GotoIf("PJSIP/61-0000002a", "0?report") in new stack
-- Executing [[email protected]:9] Set("PJSIP/61-0000002a", "AMPUSERCID=61") in new stack
-- Executing [[email protected]:10] Set("PJSIP/61-0000002a", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [[email protected]:11] Set("PJSIP/61-0000002a", "CALLERID(all)="Gigaset" <61>") in new stack
-- Executing [[email protected]:12] GotoIf("PJSIP/61-0000002a", "0?limit") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/61-0000002a", "1?Set(GROUP(concurrency_limit)=61)") in new stack
-- Executing [[email protected]:14] ExecIf("PJSIP/61-0000002a", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [[email protected]:15] GotoIf("PJSIP/61-0000002a", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [[email protected]:29] Set("PJSIP/61-0000002a", "CALLERID(number)=61") in new stack
-- Executing [[email protected]:30] Set("PJSIP/61-0000002a", "CALLERID(name)=Gigaset") in new stack
-- Executing [[email protected]:31] GotoIf("PJSIP/61-0000002a", "0?cnum") in new stack
-- Executing [[email protected]:32] Set("PJSIP/61-0000002a", "CDR(cnam)=Gigaset") in new stack
-- Executing [[email protected]:33] Set("PJSIP/61-0000002a", "CDR(cnum)=61") in new stack
-- Executing [[email protected]:34] Set("PJSIP/61-0000002a", "CHANNEL(language)=de") in new stack
-- Executing [**[email protected]:2] Gosub("PJSIP/61-0000002a", "sub-record-check,s,1(out,**620,dontcare)") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/61-0000002a", "0?initialized") in new stack
-- Executing [[email protected]:2] Set("PJSIP/61-0000002a", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:3] Set("PJSIP/61-0000002a", "NOW=1502029717") in new stack
-- Executing [[email protected]:4] Set("PJSIP/61-0000002a", "__DAY=06") in new stack
-- Executing [[email protected]:5] Set("PJSIP/61-0000002a", "__MONTH=08") in new stack
-- Executing [[email protected]:6] Set("PJSIP/61-0000002a", "__YEAR=2017") in new stack
-- Executing [[email protected]:7] Set("PJSIP/61-0000002a", "__TIMESTR=20170806-162837") in new stack
-- Executing [[email protected]:8] Set("PJSIP/61-0000002a", "__FROMEXTEN=61") in new stack
-- Executing [[email protected]:9] Set("PJSIP/61-0000002a", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:10] NoOp("PJSIP/61-0000002a", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/61-0000002a", "0?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("PJSIP/61-0000002a", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/61-0000002a", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/61-0000002a", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [[email protected]:17] GotoIf("PJSIP/61-0000002a", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [[email protected]:1] NoOp("PJSIP/61-0000002a", "Outbound Recording Check from 61 to **620") in new stack
-- Executing [[email protected]:2] Set("PJSIP/61-0000002a", "RECMODE=dontcare") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/61-0000002a", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [[email protected]:7] Gosub("PJSIP/61-0000002a", "recordcheck,1(dontcare,out,**620)") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/61-0000002a", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/61-0000002a", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [[email protected]:3] Return("PJSIP/61-0000002a", "") in new stack
-- Executing [[email protected]:8] Return("PJSIP/61-0000002a", "") in new stack
-- Executing [**[email protected]:3] ExecIf("PJSIP/61-0000002a", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [**[email protected]:4] Set("PJSIP/61-0000002a", "MOHCLASS=default") in new stack
-- Executing [**[email protected]:5] Set("PJSIP/61-0000002a", "_NODEST=") in new stack
-- Executing [**[email protected]:6] Macro("PJSIP/61-0000002a", "dialout-trunk,3,**620,,off") in new stack
-- Executing [[email protected]:1] Set("PJSIP/61-0000002a", "DIAL_TRUNK=3") in new stack
-- Executing [[email protected]:2] GosubIf("PJSIP/61-0000002a", "0?sub-pincheck,s,1()") in new stack
-- Executing [[email protected]:3] GotoIf("PJSIP/61-0000002a", "0?disabletrunk,1") in new stack
-- Executing [[email protected]:4] Set("PJSIP/61-0000002a", "DIAL_NUMBER=**620") in new stack
-- Executing [[email protected]:5] Set("PJSIP/61-0000002a", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [[email protected]:6] Set("PJSIP/61-0000002a", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [[email protected]:7] GotoIf("PJSIP/61-0000002a", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [[email protected]:9] GotoIf("PJSIP/61-0000002a", "0?skipoutcid") in new stack
-- Executing [[email protected]:10] Set("PJSIP/61-0000002a", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [[email protected]:11] Macro("PJSIP/61-0000002a", "outbound-callerid,3") in new stack
-- Executing [[email protected]:1] ExecIf("PJSIP/61-0000002a", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [[email protected]:2] ExecIf("PJSIP/61-0000002a", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/61-0000002a", "0?Set(REALCALLERIDNUM=61)") in new stack
-- Executing [[email protected]:4] GotoIf("PJSIP/61-0000002a", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [[email protected]:7] Set("PJSIP/61-0000002a", "USEROUTCID=") in new stack
-- Executing [[email protected]:8] Set("PJSIP/61-0000002a", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:9] Set("PJSIP/61-0000002a", "TRUNKOUTCID="Asterix" <621>") in new stack
-- Executing [[email protected]:10] GotoIf("PJSIP/61-0000002a", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [[email protected]:15] ExecIf("PJSIP/61-0000002a", "1?Set(CALLERID(all)="Asterix" <621>)") in new stack
-- Executing [[email protected]:16] ExecIf("PJSIP/61-0000002a", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:17] ExecIf("PJSIP/61-0000002a", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:18] ExecIf("PJSIP/61-0000002a", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:19] ExecIf("PJSIP/61-0000002a", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:20] Set("PJSIP/61-0000002a", "CDR(outbound_cnum)=621") in new stack
-- Executing [[email protected]:21] Set("PJSIP/61-0000002a", "CDR(outbound_cnam)=Asterix") in new stack
-- Executing [[email protected]:12] GosubIf("PJSIP/61-0000002a", "1?sub-flp-3,s,1()") in new stack
-- Executing [[email protected]:1] ExecIf("PJSIP/61-0000002a", "1?Set(TARGET_FLP_3=620)") in new stack
-- Executing [[email protected]:2] GotoIf("PJSIP/61-0000002a", "1?match") in new stack
-- Goto (sub-flp-3,s,4)
-- Executing [[email protected]:4] Set("PJSIP/61-0000002a", "DIAL_NUMBER=620") in new stack
-- Executing [[email protected]:5] Return("PJSIP/61-0000002a", "") in new stack
-- Executing [[email protected]:13] Set("PJSIP/61-0000002a", "OUTNUM=620") in new stack
-- Executing [[email protected]:14] Set("PJSIP/61-0000002a", "custom=PJSIP") in new stack
-- Executing [[email protected]:15] ExecIf("PJSIP/61-0000002a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [[email protected]:16] ExecIf("PJSIP/61-0000002a", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [[email protected]:17] Macro("PJSIP/61-0000002a", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("PJSIP/61-0000002a", "") in new stack
-- Executing [[email protected]:18] GotoIf("PJSIP/61-0000002a", "0?skipcrm") in new stack
-- Executing [[email protected]:19] Set("PJSIP/61-0000002a", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [[email protected]:20] Set("PJSIP/61-0000002a", "__CRM_DESTINATION=620") in new stack
-- Executing [[email protected]:21] Set("PJSIP/61-0000002a", "__CRM_SOURCE=61") in new stack
-- Executing [[email protected]:22] AGI("PJSIP/61-0000002a", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
-- <PJSIP/61-0000002a>AGI Script sangomacrm.agi completed, returning 0
-- Executing [[email protected]:23] Set("PJSIP/61-0000002a", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [[email protected]:24] NoOp("PJSIP/61-0000002a", "CRM Finished") in new stack
-- Executing [[email protected]:25] GotoIf("PJSIP/61-0000002a", "0?bypass,1") in new stack
-- Executing [[email protected]:26] ExecIf("PJSIP/61-0000002a", "1?Set(CONNECTEDLINE(num,i)=620)") in new stack
-- Executing [[email protected]:27] ExecIf("PJSIP/61-0000002a", "1?Set(CONNECTEDLINE(name,i)=CID:621)") in new stack
-- Executing [[email protected]:28] ExecIf("PJSIP/61-0000002a", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)621)") in new stack
-- Executing [[email protected]:29] GotoIf("PJSIP/61-0000002a", "0?customtrunk") in new stack
-- Executing [[email protected]:30] Dial("PJSIP/61-0000002a", "PJSIP/[email protected],300,T") in new stack
-- Called PJSIP/[email protected]
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [[email protected]:31] NoOp("PJSIP/61-0000002a", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
-- Executing [[email protected]:32] GotoIf("PJSIP/61-0000002a", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [[email protected]:1] Set("PJSIP/61-0000002a", "RC=1") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/61-0000002a", "1,1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [[email protected]:1] Goto("PJSIP/61-0000002a", "s-INVALIDNMBR,1") in new stack
-- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
-- Executing [[email protected]:1] NoOp("PJSIP/61-0000002a", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
-- Executing [[email protected]:2] Progress("PJSIP/61-0000002a", "") in new stack
-- Executing [[email protected]:3] Playback("PJSIP/61-0000002a", "ss-noservice,noanswer") in new stack
-- <PJSIP/61-0000002a> Playing 'ss-noservice.ulaw' (language 'de')
> 0x7f1368b17090 -- Probation passed - setting RTP source address to 10.0.1.12:5006
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Executing [[email protected]:1] Macro("PJSIP/61-0000002a", "hangupcall") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/61-0000002a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [[email protected]:3] ExecIf("PJSIP/61-0000002a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [[email protected]:4] Hangup("PJSIP/61-0000002a", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/61-0000002a' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/61-0000002a'
-- PJSIP/61-0000002a Internal Gosub(crm-hangup,s,1) start
-- Executing [[email protected]:1] NoOp("PJSIP/61-0000002a", "Sending Hangup to CRM") in new stack
-- Executing [[email protected]:2] NoOp("PJSIP/61-0000002a", "HANGUP CAUSE: 1") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/61-0000002a", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [[email protected]:4] NoOp("PJSIP/61-0000002a", "MASTER CHANNEL: 1502029717.49 = 1502029717.49") in new stack
-- Executing [[email protected]:5] GotoIf("PJSIP/61-0000002a", "0?return") in new stack
-- Executing [[email protected]:6] Set("PJSIP/61-0000002a", "__CRM_HANGUP=1") in new stack
-- Executing [[email protected]:7] AGI("PJSIP/61-0000002a", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
-- <PJSIP/61-0000002a>AGI Script sangomacrm.agi completed, returning 0
-- Executing [[email protected]:8] Return("PJSIP/61-0000002a", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/61-0000002a'
-- PJSIP/61-0000002a Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
pbx*CLI>