I’ve just tried this on a test system and it worked fine - I’ve pasted the Asterisk logs below. I called from a mobile (07961xxxxxx) to a DID (8850257) which comes in through an inbound route to extension 103. 103’s follow-me includes 0113320xxxx) which is called successfully. I’m on Freepbx 12.0.38 and Asterisk 11.16.0.
Not sure if it’s relevant but my dial options “TtrI” (“dial,20,TtrI,103-0113320xxxx#”) are different to yours (TtrM)
localhostCLI>
localhostCLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [8850257@from-trunk-sip-3200257:1] Set(“SIP/3200257-000000f2”, “GROUP()=OUT_2”) in new stack
– Executing [8850257@from-trunk-sip-3200257:2] Goto(“SIP/3200257-000000f2”, “from-trunk,8850257,1”) in new stack
– Goto (from-trunk,8850257,1)
– Executing [8850257@from-trunk:1] Set(“SIP/3200257-000000f2”, “__FROM_DID=8850257”) in new stack
– Executing [8850257@from-trunk:2] Set(“SIP/3200257-000000f2”, “CIDSFSCHEME=QUxMfEFMTA==”) in new stack
– Executing [8850257@from-trunk:3] AGI(“SIP/3200257-000000f2”, “/var/www/html/admin/modules/superfecta/agi/superfecta.agi”) in new stack
– Launched AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta is Answering the Channel
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: Scheme is ALL
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The DID passed from Asterisk is: 8850257
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The number passed from Asterisk is: 07961xxxxxx
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The CID name passed from Asterisk is: unknown
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: Executing Scheme…
– <SIP/3200257-000000f2>AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi completed, returning 0
– Executing [8850257@from-trunk:4] Set(“SIP/3200257-000000f2”, “CALLERID(name)=”) in new stack
– Executing [8850257@from-trunk:5] Gosub(“SIP/3200257-000000f2”, “sub-record-check,s,1(in,8850257,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/3200257-000000f2”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/3200257-000000f2”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/3200257-000000f2”, “NOW=1424914813”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/3200257-000000f2”, “__DAY=26”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/3200257-000000f2”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/3200257-000000f2”, “__YEAR=2015”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/3200257-000000f2”, “__TIMESTR=20150226-014013”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/3200257-000000f2”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/3200257-000000f2”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/3200257-000000f2”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/3200257-000000f2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/3200257-000000f2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/3200257-000000f2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/3200257-000000f2”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/3200257-000000f2”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“SIP/3200257-000000f2”, “Inbound Recording Check to 8850257”) in new stack
– Executing [in@sub-record-check:2] Set(“SIP/3200257-000000f2”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“SIP/3200257-000000f2”, “11?Set(FROMEXTEN=07961xxxxxx)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“SIP/3200257-000000f2”, “recordcheck,1(dontcare,in,8850257)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/3200257-000000f2”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/3200257-000000f2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/3200257-000000f2”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“SIP/3200257-000000f2”, “”) in new stack
– Executing [8850257@from-trunk:6] Gosub(“SIP/3200257-000000f2”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/3200257-000000f2”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/3200257-000000f2”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/3200257-000000f2”, “”) in new stack
– Executing [8850257@from-trunk:7] Set(“SIP/3200257-000000f2”, “CDR(did)=8850257”) in new stack
– Executing [8850257@from-trunk:8] ExecIf(“SIP/3200257-000000f2”, “1 ?Set(CALLERID(name)=07961xxxxxx)”) in new stack
– Executing [8850257@from-trunk:9] Set(“SIP/3200257-000000f2”, “CHANNEL(musicclass)=default”) in new stack
– Executing [8850257@from-trunk:10] Set(“SIP/3200257-000000f2”, “__MOHCLASS=default”) in new stack
[2015-02-26 01:40:13] WARNING[25977][C-00000074]: func_channel.c:538 func_channel_read: Unknown or unavailable item requested: ‘reversecharge’
– Executing [8850257@from-trunk:11] GotoIf(“SIP/3200257-000000f2”, “0?macro-hangupcall”) in new stack
– Executing [8850257@from-trunk:12] Set(“SIP/3200257-000000f2”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [8850257@from-trunk:13] Set(“SIP/3200257-000000f2”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [8850257@from-trunk:14] Set(“SIP/3200257-000000f2”, “__ALERT_INFO=http://localhost/;info=Test”) in new stack
– Executing [8850257@from-trunk:15] Goto(“SIP/3200257-000000f2”, “from-did-direct,103,1”) in new stack
– Goto (from-did-direct,103,1)
– Executing [103@from-did-direct:1] GotoIf(“SIP/3200257-000000f2”, “0?ext-local,103,1”) in new stack
– Executing [103@from-did-direct:2] Macro(“SIP/3200257-000000f2”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/3200257-000000f2”, “TOUCH_MONITOR=1424914809.268”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/3200257-000000f2”, “AMPUSER=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/3200257-000000f2”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/3200257-000000f2”, “1?Set(REALCALLERIDNUM=07961xxxxxx)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/3200257-000000f2”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/3200257-000000f2”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/3200257-000000f2”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/3200257-000000f2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,16)
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/3200257-000000f2”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:17] Set(“SIP/3200257-000000f2”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:18] GotoIf(“SIP/3200257-000000f2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] Set(“SIP/3200257-000000f2”, “CALLERID(number)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/3200257-000000f2”, “CALLERID(name)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/3200257-000000f2”, “CDR(cnum)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/3200257-000000f2”, “CDR(cnam)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/3200257-000000f2”, “CHANNEL(language)=en_GB”) in new stack
– Executing [103@from-did-direct:3] Set(“SIP/3200257-000000f2”, “DIAL_OPTIONS=TtrI”) in new stack
– Executing [103@from-did-direct:4] Set(“SIP/3200257-000000f2”, “CONNECTEDLINE(num,i)=103”) in new stack
– Executing [103@from-did-direct:5] Gosub(“SIP/3200257-000000f2”, “sub-presencestate-display,s,1(103)”) in new stack
[2015-02-26 01:40:13] WARNING[25977][C-00000074]: func_presencestate.c:132 presence_read: PRESENCE_STATE unknown
– Executing [s@sub-presencestate-display:1] Goto(“SIP/3200257-000000f2”, “state-,1”) in new stack
– Goto (sub-presencestate-display,state-,1)
– Executing [state-@sub-presencestate-display:1] Set(“SIP/3200257-000000f2”, “PRESENCESTATE_DISPLAY=”) in new stack
– Executing [state-@sub-presencestate-display:2] Return(“SIP/3200257-000000f2”, “”) in new stack
– Executing [103@from-did-direct:6] Set(“SIP/3200257-000000f2”, “CONNECTEDLINE(name)=Yealink-T48”) in new stack
– Executing [103@from-did-direct:7] Set(“SIP/3200257-000000f2”, “FM_DIALSTATUS=NOT_INUSE”) in new stack
– Executing [103@from-did-direct:8] Set(“SIP/3200257-000000f2”, “__EXTTOCALL=103”) in new stack
– Executing [103@from-did-direct:9] Set(“SIP/3200257-000000f2”, “__PICKUPMARK=103”) in new stack
– Executing [103@from-did-direct:10] Macro(“SIP/3200257-000000f2”, “blkvm-setifempty,”) in new stack
– Executing [s@macro-blkvm-setifempty:1] GotoIf(“SIP/3200257-000000f2”, “1?init”) in new stack
– Goto (macro-blkvm-setifempty,s,4)
– Executing [s@macro-blkvm-setifempty:4] Set(“SIP/3200257-000000f2”, “__BLKVM_CHANNEL=SIP/3200257-000000f2”) in new stack
– Executing [s@macro-blkvm-setifempty:5] Set(“SIP/3200257-000000f2”, “SHARED(BLKVM,SIP/3200257-000000f2)=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:6] Set(“SIP/3200257-000000f2”, “GOSUB_RETVAL=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:7] MacroExit(“SIP/3200257-000000f2”, “”) in new stack
– Executing [103@from-did-direct:11] GotoIf(“SIP/3200257-000000f2”, “1?skipov”) in new stack
– Goto (from-did-direct,103,14)
– Executing [103@from-did-direct:14] Set(“SIP/3200257-000000f2”, “RRNODEST=”) in new stack
– Executing [103@from-did-direct:15] Set(“SIP/3200257-000000f2”, “__NODEST=103”) in new stack
– Executing [103@from-did-direct:16] GosubIf(“SIP/3200257-000000f2”, “0?sub-fmsetcid,s,1()”) in new stack
– Executing [103@from-did-direct:17] Set(“SIP/3200257-000000f2”, “RecordMethod=Group”) in new stack
– Executing [103@from-did-direct:18] Gosub(“SIP/3200257-000000f2”, “sub-record-check,s,1(exten,103,)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/3200257-000000f2”, “11?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“SIP/3200257-000000f2”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/3200257-000000f2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/3200257-000000f2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/3200257-000000f2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/3200257-000000f2”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/3200257-000000f2”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“SIP/3200257-000000f2”, “Exten Recording Check between 07961xxxxxx and 103”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/3200257-000000f2”, “CALLTYPE=external”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“SIP/3200257-000000f2”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“SIP/3200257-000000f2”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“SIP/3200257-000000f2”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“SIP/3200257-000000f2”, “1?callee”) in new stack
– Goto (sub-record-check,exten,11)
– Executing [exten@sub-record-check:11] Gosub(“SIP/3200257-000000f2”, “recordcheck,1(dontcare,external,103)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/3200257-000000f2”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/3200257-000000f2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/3200257-000000f2”, “”) in new stack
– Executing [exten@sub-record-check:12] Return(“SIP/3200257-000000f2”, “”) in new stack
– Executing [103@from-did-direct:19] GotoIf(“SIP/3200257-000000f2”, “1 ?skipsimple”) in new stack
– Goto (from-did-direct,103,21)
– Executing [103@from-did-direct:21] Set(“SIP/3200257-000000f2”, “RingGroupMethod=ringall”) in new stack
– Executing [103@from-did-direct:22] Set(“SIP/3200257-000000f2”, “_FMGRP=103”) in new stack
– Executing [103@from-did-direct:23] GotoIf(“SIP/3200257-000000f2”, “0?doconfirm”) in new stack
– Executing [103@from-did-direct:24] Macro(“SIP/3200257-000000f2”, “dial,20,TtrI,103-0113320xxxx#”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/3200257-000000f2”, “0?dial”) in new stack
– Executing [s@macro-dial:2] Set(“SIP/3200257-000000f2”, “CHANNEL(musicclass)=default”) in new stack
– Executing [s@macro-dial:3] AGI(“SIP/3200257-000000f2”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘07961xxxxxx’ number is ‘07961xxxxxx’
– AGI Script Executing Application: (SIPAddHeader) Options: (Alert-Info:http://localhost/;info=Test)
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 103 to extension map
– dialparties.agi: Added extension 0113320xxxx# to extension map
– dialparties.agi: Extension 103 cf is disabled
– dialparties.agi: Extension 0113320xxxx# cf is disabled
– dialparties.agi: Extension 103 do not disturb is disabled
– dialparties.agi: dbset CALLTRACE/103 to 07961xxxxxx
– dialparties.agi: Filtered ARG3: 103-0113320xxxx
– <SIP/3200257-000000f2>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/3200257-000000f2”, “SIP/103&Local/0113320xxxx@from-internal/n,20,TtrIM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/103
– Called Local/0113320xxxx@from-internal/n
– Connected line update to SIP/3200257-000000f2 prevented.
– Executing [0113320xxxx@from-internal:1] Macro(“Local/0113320xxxx@from-internal-0000000c;2”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “TOUCH_MONITOR=1424914813.271”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “AMPUSER=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?Set(REALCALLERIDNUM=07961xxxxxx)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,16)
– Executing [s@macro-user-callerid:16] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CALLERID(number)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:30] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CALLERID(name)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:31] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CDR(cnum)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:32] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CDR(cnam)=07961xxxxxx”) in new stack
– Executing [s@macro-user-callerid:33] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CHANNEL(language)=en_GB”) in new stack
– Executing [0113320xxxx@from-internal:2] Gosub(“Local/0113320xxxx@from-internal-0000000c;2”, “sub-record-check,s,1(out,0113320xxxx,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “NOW=1424914813”) in new stack
– Executing [s@sub-record-check:4] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__DAY=26”) in new stack
– Executing [s@sub-record-check:5] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__YEAR=2015”) in new stack
– Executing [s@sub-record-check:7] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__TIMESTR=20150226-014013”) in new stack
– Executing [s@sub-record-check:8] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__FROMEXTEN=07961xxxxxx”) in new stack
– Executing [s@sub-record-check:9] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“Local/0113320xxxx@from-internal-0000000c;2”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“Local/0113320xxxx@from-internal-0000000c;2”, “Outbound Recording Check from 07961xxxxxx to 0113320xxxx”) in new stack
– Executing [out@sub-record-check:2] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “RECMODE=”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“Local/0113320xxxx@from-internal-0000000c;2”, “recordcheck,1(dontcare,out,0113320xxxx)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“Local/0113320xxxx@from-internal-0000000c;2”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“Local/0113320xxxx@from-internal-0000000c;2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“Local/0113320xxxx@from-internal-0000000c;2”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“Local/0113320xxxx@from-internal-0000000c;2”, “”) in new stack
– Executing [0113320xxxx@from-internal:3] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “MOHCLASS=default”) in new stack
– Executing [0113320xxxx@from-internal:4] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “_NODEST=”) in new stack
– Executing [0113320xxxx@from-internal:5] Macro(“Local/0113320xxxx@from-internal-0000000c;2”, “dialout-trunk,2,0113320xxxx,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “DIAL_NUMBER=0113320xxxx”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/0113320xxxx@from-internal-0000000c;2”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?Set(CALLERPRES()=allowed_not_screened)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(REALCALLERIDNUM=07961xxxxxx)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?normcid”) in new stack
– Executing [s@macro-outbound-callerid:4] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “USEROUTCID=07961xxxxxx”) in new stack
– Executing [s@macro-outbound-callerid:5] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?bypass”) in new stack
– Goto (macro-outbound-callerid,s,7)
– Executing [s@macro-outbound-callerid:7] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “TRUNKOUTCID=<01133200257>”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?Set(CALLERID(all)=<01133200257>)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “1?Set(CALLERID(all)=07961xxxxxx)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CDR(outbound_cnum)=07961xxxxxx”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?sub-flp-2,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “OUTNUM=0113320xxxx”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/0113320xxxx@from-internal-0000000c;2”, “custom=SIP/3200257”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“Local/0113320xxxx@from-internal-0000000c;2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“Local/0113320xxxx@from-internal-0000000c;2”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(CONNECTEDLINE(num,i)=0113320xxxx)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?Set(CONNECTEDLINE(name,i)=CID:07961xxxxxx)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“Local/0113320xxxx@from-internal-0000000c;2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“Local/0113320xxxx@from-internal-0000000c;2”, “SIP/3200257/0113320xxxx,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/3200257/0113320xxxx
– SIP/103-000000f3 is ringing
– SIP/3200257-000000f4 is ringing
– Local/0113320xxxx@from-internal-0000000c;1 is ringing
localhostCLI>
localhostCLI>
localhostCLI>
localhostCLI>
localhostCLI>
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/3200257-000000f2’ in macro ‘dial’
== Spawn extension (from-did-direct, 103, 24) exited non-zero on ‘SIP/3200257-000000f2’
– Executing [h@from-did-direct:1] Macro(“SIP/3200257-000000f2”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] ExecIf(“SIP/3200257-000000f2”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
– Executing [s@macro-hangupcall:2] GotoIf(“SIP/3200257-000000f2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] Hangup(“SIP/3200257-000000f2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/3200257-000000f2’ in macro ‘hangupcall’
== Spawn extension (from-did-direct, h, 1) exited non-zero on ‘SIP/3200257-000000f2’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘Local/0113320xxxx@from-internal-0000000c;2’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 0113320xxxx, 5) exited non-zero on ‘Local/0113320xxxx@from-internal-0000000c;2’
– Executing [h@from-internal:1] Hangup(“Local/0113320xxxx@from-internal-0000000c;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/0113320xxxx@from-internal-0000000c;2’
localhostCLI>