Thanks a lot for your post.
I got the extension routing module to block an extension from accessing an outbound route if the dial pattern is composed of regular numbers. However, if I dial digits other then numbers, my extension routing roule doesn’t apply.
E.g., I want to send *102 out on the trunk and I have configured an outbound route accordingly. 5313 should not be able to access this route, but it does.
The complete call:
[2014-12-19 17:04:51] VERBOSE[12031][C-000001e1] netsock2.c: == Using SIP VIDEO CoS mark 6
[2014-12-19 17:04:51] VERBOSE[12031][C-000001e1] netsock2.c: == Using SIP RTP TOS bits 184
[2014-12-19 17:04:51] VERBOSE[12031][C-000001e1] netsock2.c: == Using SIP RTP CoS mark 5
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [*102@from-internal:1] Macro(“SIP/5313-00000219”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/5313-00000219”, “TOUCH_MONITOR=1419026691.938”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/5313-00000219”, “AMPUSER=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/5313-00000219”, “0?report”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/5313-00000219”, “1?Set(REALCALLERIDNUM=5313)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/5313-00000219”, “AMPUSER=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/5313-00000219”, “0?limit”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/5313-00000219”, “AMPUSERCIDNAME=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/5313-00000219”, “0?report”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:9] Set(“SIP/5313-00000219”, “AMPUSERCID=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:10] Set(“SIP/5313-00000219”, “__DIAL_OPTIONS=Ttr”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:11] Set(“SIP/5313-00000219”, “CALLERID(all)=“Johann Remote Office” <5313>”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“SIP/5313-00000219”, “0?limit”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:13] ExecIf(“SIP/5313-00000219”, “1?Set(GROUP(concurrency_limit)=5313)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:14] GosubIf(“SIP/5313-00000219”, “7?sub-ccss,s,1(from-internal,*102)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-ccss:1] ExecIf(“SIP/5313-00000219”, “0?Return()”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-ccss:2] Set(“SIP/5313-00000219”, “CCSS_SETUP=TRUE”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-ccss:3] GosubIf(“SIP/5313-00000219”, “0?monitor_config,1(from-internal,*102):monitor_default,1(from-internal,*102)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/5313-00000219”, “0?is_exten”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [monitor_default@sub-ccss:2] StackPop(“SIP/5313-00000219”, “”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [monitor_default@sub-ccss:3] Return(“SIP/5313-00000219”, “FALSE”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:15] ExecIf(“SIP/5313-00000219”, “0?Set(CHANNEL(language)=)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:16] GotoIf(“SIP/5313-00000219”, “1?continue”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (macro-user-callerid,s,30)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/5313-00000219”, “CALLERID(number)=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/5313-00000219”, “CALLERID(name)=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/5313-00000219”, “CDR(cnum)=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/5313-00000219”, “CDR(cnam)=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-user-callerid:34] Set(“SIP/5313-00000219”, “CHANNEL(language)=en”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [*102@from-internal:2] Gosub(“SIP/5313-00000219”, “sub-record-check,s,1(out,*102,dontcare)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/5313-00000219”, “0?initialized”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/5313-00000219”, “__REC_STATUS=INITIALIZED”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/5313-00000219”, “NOW=1419026691”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/5313-00000219”, “__DAY=19”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/5313-00000219”, “__MONTH=12”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/5313-00000219”, “__YEAR=2014”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/5313-00000219”, “__TIMESTR=20141219-170451”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/5313-00000219”, “__FROMEXTEN=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/5313-00000219”, “__MON_FMT=wav”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/5313-00000219”, “Recordings initialized”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/5313-00000219”, “0?Set(ARG3=dontcare)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/5313-00000219”, “REC_POLICY_MODE_SAVE=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:13] GotoIf(“SIP/5313-00000219”, “3?checkaction”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (sub-record-check,s,16)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@sub-record-check:16] GotoIf(“SIP/5313-00000219”, “1?sub-record-check,out,1”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (sub-record-check,out,1)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [out@sub-record-check:1] NoOp(“SIP/5313-00000219”, “Outbound Recording Check from 5313 to *102”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [out@sub-record-check:2] Set(“SIP/5313-00000219”, “RECMODE=dontcare”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [out@sub-record-check:3] ExecIf(“SIP/5313-00000219”, “1?Goto(routewins)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (sub-record-check,out,7)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [out@sub-record-check:7] Gosub(“SIP/5313-00000219”, “recordcheck,1(dontcare,out,*102)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/5313-00000219”, “Starting recording check against dontcare”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/5313-00000219”, “dontcare”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (sub-record-check,recordcheck,3)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [recordcheck@sub-record-check:3] Return(“SIP/5313-00000219”, “”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [out@sub-record-check:8] Return(“SIP/5313-00000219”, “”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [*102@from-internal:3] ExecIf(“SIP/5313-00000219”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [*102@from-internal:4] Set(“SIP/5313-00000219”, “MOHCLASS=default”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [*102@from-internal:5] Set(“SIP/5313-00000219”, “_NODEST=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [*102@from-internal:6] Macro(“SIP/5313-00000219”, “dialout-trunk,20,102,off") in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/5313-00000219”, “DIAL_TRUNK=20”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/5313-00000219”, “0?sub-pincheck,s,1()”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/5313-00000219”, “0?disabletrunk,1”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/5313-00000219”, "DIAL_NUMBER=102") in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/5313-00000219”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/5313-00000219”, “OUTBOUND_GROUP=OUT_20”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/5313-00000219”, “0?nomax”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/5313-00000219”, “0?chanfull”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/5313-00000219”, “0?skipoutcid”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/5313-00000219”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/5313-00000219”, “outbound-callerid,20”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/5313-00000219”, “0?Set(CALLERPRES()=)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/5313-00000219”, “0?Set(REALCALLERIDNUM=5313)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/5313-00000219”, “1?normcid”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/5313-00000219”, “USEROUTCID=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/5313-00000219”, “EMERGENCYCID=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/5313-00000219”, “TRUNKOUTCID=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/5313-00000219”, “1?trunkcid”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/5313-00000219”, “0?Set(CALLERID(all)=)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/5313-00000219”, “0?Set(CALLERID(all)=)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/5313-00000219”, “0?Set(CALLERID(all)=)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/5313-00000219”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/5313-00000219”, “CDR(outbound_cnum)=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/5313-00000219”, “CDR(outbound_cnam)=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/5313-00000219”, “0?sub-flp-20,s,1()”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/5313-00000219”, "OUTNUM=102") in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/5313-00000219”, “custom=AMP”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/5313-00000219”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/5313-00000219”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/5313-00000219”, “dialout-trunk-predial-hook,”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] NoOp(“SIP/5313-00000219”, " *102 ***”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:2] Set(“SIP/5313-00000219”, “num2find=102") in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:3] Set(“SIP/5313-00000219”, “OrigCID=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:4] Set(“SIP/5313-00000219”, “OrigCNAM=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:5] Set(“SIP/5313-00000219”, "CALLERID(num)=102") in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:6] Set(“SIP/5313-00000219”, “CURLOPT(httptimeout)=7”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:7] Set(“SIP/5313-00000219”, "lookupcid=102") in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:8] Set(“SIP/5313-00000219”, “CALLERID(name)=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:9] Set(“SIP/5313-00000219”, “lookupcid=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:10] Set(“SIP/5313-00000219”, “CALLERID(name)=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:11] NoOp(“SIP/5313-00000219”, " ***”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:12] Set(“SIP/5313-00000219”, “CDR(accountcode,r)=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:13] Set(“SIP/5313-00000219”, “CONNECTEDLINE(num,i)=*102”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:14] Set(“SIP/5313-00000219”, “CONNECTEDLINE(name,i)=”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:15] Set(“SIP/5313-00000219”, “CALLERID(num)=5313”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:16] Set(“SIP/5313-00000219”, “CALLERID(name)=Johann Remote Office”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:17] MacroExit(“SIP/5313-00000219”, “”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/5313-00000219”, “0?bypass,1”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:19] GotoIf(“SIP/5313-00000219”, “1?customtrunk”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (macro-dialout-trunk,s,23)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:23] Set(“SIP/5313-00000219”, “pre_num=AMP:ooh323/”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:24] Set(“SIP/5313-00000219”, “the_num=OUTNUM”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:25] Set(“SIP/5313-00000219”, “post_num=@avaya-h323”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:26] GotoIf(“SIP/5313-00000219”, “1?outnum:skipoutnum”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Goto (macro-dialout-trunk,s,27)
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:27] Set(“SIP/5313-00000219”, “the_num=*102”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-dialout-trunk:28] Dial(“SIP/5313-00000219”, “ooh323/*102@avaya-h323,300,Tt”) in new stack
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] app_dial.c: – Called ooh323/*102@avaya-h323
[2014-12-19 17:04:51] VERBOSE[19933][C-000001e1] app_dial.c: – OOH323/avaya-h323-247 answered SIP/5313-00000219
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: – Executing [h@macro-dialout-trunk:1] Macro(“SIP/5313-00000219”, “hangupcall,”) in new stack
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/5313-00000219”, “1?theend”) in new stack
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: – Goto (macro-hangupcall,s,3)
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-hangupcall:3] ExecIf(“SIP/5313-00000219”, “0?Set(CDR(recordingfile)=)”) in new stack
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: – Executing [s@macro-hangupcall:4] Hangup(“SIP/5313-00000219”, “”) in new stack
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/5313-00000219’ in macro ‘hangupcall’
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/5313-00000219’
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 28) exited non-zero on ‘SIP/5313-00000219’ in macro ‘dialout-trunk’
[2014-12-19 17:04:52] VERBOSE[19933][C-000001e1] pbx.c: == Spawn extension (from-internal, *102, 6) exited non-zero on ‘SIP/5313-00000219’
[2014-12-19 17:05:36] VERBOSE[19932] asterisk.c: – Remote UNIX connection disconnected