I set up the call forwarding by creating a “Misc Destination” like in the video here : https://www.youtube.com/watch?v=WxMrNuNtrGY and put the “Destination if no answer” of my ring group on my Misc Destination.
again : it is working if I call the ring group from an internal phone , but the redirection fails when the call is making by an external phone
These are the full logs :
A.A.A.A -> Inbound caller number (external cell phone)
Y.Y.Y.Y -> my alias number that is redirected to the trunk
X.X.X.X -> The number I want to redirect externals calls to
– Executing [[email protected]:1] Goto(“PJSIP/PJSIP Trunk-000001c2”, “from-trunk,Y.Y.Y.Y,1”) in new stack
– Goto (from-trunk,Y.Y.Y.Y,1)
– Executing [[email protected]:1] Set(“PJSIP/PJSIP Trunk-000001c2”, “__DIRECTION=INBOUND”) in new stack
– Executing [[email protected]:2] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “sub-record-check,s,1(in,Y.Y.Y.Y,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/PJSIP Trunk-000001c2”, “NOW=1468392453”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/PJSIP Trunk-000001c2”, “__DAY=13”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “__MONTH=07”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/PJSIP Trunk-000001c2”, “__YEAR=2016”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/PJSIP Trunk-000001c2”, “__TIMESTR=20160713-084733”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/PJSIP Trunk-000001c2”, “__FROMEXTEN=unknown”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/PJSIP Trunk-000001c2”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/PJSIP Trunk-000001c2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Inbound Recording Check to Y.Y.Y.Y”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “FROMEXTEN=unknown”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “10?Set(FROMEXTEN=A.A.A.A)”) in new stack
– Executing [[email protected]:4] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “recordcheck,1(dontcare,in,Y.Y.Y.Y)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/PJSIP Trunk-000001c2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:5] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:3] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “app-blacklist-check,s,1()”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?blacklisted”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLED_BLACKLIST=1”) in new stack
– Executing [[email protected]:3] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/PJSIP Trunk-000001c2”, “__FROM_DID=Y.Y.Y.Y”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(did)=Y.Y.Y.Y”) in new stack
– Executing [[email protected]runk:6] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0 ?Set(CALLERID(name)=A.A.A.A)”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/PJSIP Trunk-000001c2”, “__MOHCLASS=”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/PJSIP Trunk-000001c2”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?post-reverse-charge”) in new stack
– Goto (from-trunk,Y.Y.Y.Y,11)
– Executing [[email protected]:11] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/PJSIP Trunk-000001c2”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:13] Set(“PJSIP/PJSIP Trunk-000001c2”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:14] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [[email protected]:15] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [[email protected]:16] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “CallerID Entry Point”) in new stack
– Executing [[email protected]:17] Goto(“PJSIP/PJSIP Trunk-000001c2”, “ext-group,3008,1”) in new stack
– Goto (ext-group,3008,1)
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?cid”) in new stack
– Executing [[email protected]:2] Progress(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:3] Macro(“PJSIP/PJSIP Trunk-000001c2”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/PJSIP Trunk-000001c2”, “TOUCH_MONITOR=1468392453.1945”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “AMPUSER=A.A.A.A”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Set(REALCALLERIDNUM=A.A.A.A)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “AMPUSER=”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/PJSIP Trunk-000001c2”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,15)
– Executing [[email protected]:15] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?continue”) in new stack
– Executing [[email protected]:16] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [[email protected]:17] Set(“PJSIP/PJSIP Trunk-000001c2”, “__TTL=64”) in new stack
– Executing [[email protected]:18] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [[email protected]:29] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLERID(number)=A.A.A.A”) in new stack
– Executing [[email protected]:30] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLERID(name)=A.A.A.A”) in new stack
– Executing [[email protected]:31] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(cnum)=A.A.A.A”) in new stack
– Executing [[email protected]:32] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(cnam)=A.A.A.A”) in new stack
– Executing [[email protected]:33] Set(“PJSIP/PJSIP Trunk-000001c2”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:4] Macro(“PJSIP/PJSIP Trunk-000001c2”, “blkvm-setifempty,”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?init”) in new stack
– Goto (macro-blkvm-setifempty,s,4)
– Executing [[email protected]:4] Set(“PJSIP/PJSIP Trunk-000001c2”, “__BLKVM_CHANNEL=PJSIP/PJSIP Trunk-000001c2”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “SHARED(BLKVM,PJSIP/PJSIP Trunk-000001c2)=TRUE”) in new stack
[2016-07-13 08:47:33] WARNING[2330][C-000002ea]: pbx.c:11848 pbx_builtin_setvar: Please avoid unnecessary spaces on variables as it may lead to unexpected results (‘SHARED(BLKVM,PJSIP/PJSIP Trunk-000001c2)’ set to ‘TRUE’).
– Executing [[email protected]:6] Set(“PJSIP/PJSIP Trunk-000001c2”, “GOSUB_RETVAL=TRUE”) in new stack
– Executing [[email protected]:7] MacroExit(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:5] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?skipov”) in new stack
– Goto (ext-group,3008,8)
– Executing [[email protected]:8] Set(“PJSIP/PJSIP Trunk-000001c2”, “RRNODEST=”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/PJSIP Trunk-000001c2”, “__NODEST=3008”) in new stack
– Executing [[email protected]:10] GosubIf(“PJSIP/PJSIP Trunk-000001c2”, “0?sub-rgsetcid,s,1()”) in new stack
– Executing [[email protected]:11] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “sub-record-check,s,1(rg,3008,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “10?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/PJSIP Trunk-000001c2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?sub-record-check,rg,1”) in new stack
– Executing [[email protected]:18] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Generic rg Recording Check - A.A.A.A 3008”) in new stack
– Executing [[email protected]:19] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “recordcheck,1(dontcare,rg,3008)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/PJSIP Trunk-000001c2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:20] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/PJSIP Trunk-000001c2”, “RingGroupMethod=ringall”) in new stack
– Executing [[email protected]:13] Macro(“PJSIP/PJSIP Trunk-000001c2”, “dial,7,Ttr,1011”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
– Executing [[email protected]:2] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [[email protected]:6] AGI(“PJSIP/PJSIP Trunk-000001c2”, “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 ‘A.A.A.A’ number is 'A.A.A.A’
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 1011 to extension map
– dialparties.agi: Extension 1011 cf is disabled
– dialparties.agi: Extension 1011 do not disturb is disabled
> dialparties.agi: extnum 1011 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/1011 to A.A.A.A
– dialparties.agi: Filtered ARG3: 1011
> dialparties.agi: NODEST: 3008 adding M(auto-blkvm) to dialopts: TtrM(auto-blkvm)
> dialparties.agi: NODEST: 3008 blkvm enabled macro already in dialopts: TtrM(auto-blkvm)
– <PJSIP/PJSIP Trunk-000001c2>AGI Script dialparties.agi completed, returning 0
– Executing [[email protected]:9] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Returned from dialparties with groups to dial”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/PJSIP Trunk-000001c2”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/PJSIP Trunk-000001c2”, “ITER=1”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/PJSIP Trunk-000001c2”, “EXTTOCALL=1011”) in new stack
– Executing [[email protected]:13] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Working with 1011”) in new stack
– Executing [[email protected]:14] Set(“PJSIP/PJSIP Trunk-000001c2”, “ITER=2”) in new stack
– Executing [[email protected]:15] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?ndloopbegin”) in new stack
– Executing [[email protected]:16] Macro(“PJSIP/PJSIP Trunk-000001c2”, “dial-ringall-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:17] Dial(“PJSIP/PJSIP Trunk-000001c2”, “SIP/1011,7,trM(auto-blkvm)b(func-apply-sipheaders^s^1),”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/1011-000004c5 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [[email protected]:1] NoOp(“SIP/1011-000004c5”, “Applying SIP Headers to channel”) in new stack
– Executing [[email protected]:2] Set(“SIP/1011-000004c5”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:3] While(“SIP/1011-000004c5”, “0”) in new stack
– Jumping to priority 7
– Executing [[email protected]:8] Return(“SIP/1011-000004c5”, “”) in new stack
== Spawn extension (from-internal, 3008, 1) exited non-zero on ‘SIP/1011-000004c5’
– SIP/1011-000004c5 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called SIP/1011
– SIP/1011-000004c5 is ringing
– Nobody picked up in 7000 ms
– Executing [[email protected]:18] Set(“PJSIP/PJSIP Trunk-000001c2”, “DIALSTATUS=NOANSWER”) in new stack
– Executing [[email protected]:19] GosubIf(“PJSIP/PJSIP Trunk-000001c2”, “0?NOANSWER,1()”) in new stack
– Executing [[email protected]:20] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Returning since nobody answered”) in new stack
– Executing [[email protected]:21] MacroExit(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:14] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “sub-record-cancel,s,1()”) in new stack
– Executing [[email protected]:1] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:15] Set(“PJSIP/PJSIP Trunk-000001c2”, “RingGroupMethod=”) in new stack
– Executing [[email protected]:16] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?nodest”) in new stack
– Executing [[email protected]:17] Set(“PJSIP/PJSIP Trunk-000001c2”, “__NODEST=”) in new stack
– Executing [[email protected]:18] Macro(“PJSIP/PJSIP Trunk-000001c2”, “blkvm-clr,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/PJSIP Trunk-000001c2”, “SHARED(BLKVM,PJSIP/PJSIP Trunk-000001c2)=”) in new stack
[2016-07-13 08:47:41] WARNING[2330][C-000002ea]: pbx.c:11848 pbx_builtin_setvar: Please avoid unnecessary spaces on variables as it may lead to unexpected results (‘SHARED(BLKVM,PJSIP/PJSIP Trunk-000001c2)’ set to ‘’).
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “GOSUB_RETVAL=”) in new stack
– Executing [[email protected]:3] MacroExit(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:19] Goto(“PJSIP/PJSIP Trunk-000001c2”, “ext-miscdests,1,1”) in new stack
– Goto (ext-miscdests,1,1)
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “MiscDest: Aurel’s Cell Phone”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/PJSIP Trunk-000001c2”, “from-internal,X.X.X.X,1”) in new stack
– Goto (from-internal,X.X.X.X,1)
– Executing [[email protected]:1] Macro(“PJSIP/PJSIP Trunk-000001c2”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/PJSIP Trunk-000001c2”, “TOUCH_MONITOR=1468392453.1945”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “AMPUSER=A.A.A.A”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(REALCALLERIDNUM=A.A.A.A)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “AMPUSER=”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/PJSIP Trunk-000001c2”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,15)
– Executing [[email protected]:15] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [[email protected]:29] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLERID(number)=A.A.A.A”) in new stack
– Executing [[email protected]:30] Set(“PJSIP/PJSIP Trunk-000001c2”, “CALLERID(name)=A.A.A.A”) in new stack
– Executing [[email protected]:31] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(cnum)=A.A.A.A”) in new stack
– Executing [[email protected]:32] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(cnam)=A.A.A.A”) in new stack
– Executing [[email protected]:33] Set(“PJSIP/PJSIP Trunk-000001c2”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “sub-record-check,s,1(out,X.X.X.X,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “10?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/PJSIP Trunk-000001c2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]b-record-check:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Outbound Recording Check from A.A.A.A to X.X.X.X”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/PJSIP Trunk-000001c2”, “RECMODE=”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“PJSIP/PJSIP Trunk-000001c2”, “recordcheck,1(dontcare,out,X.X.X.X)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/PJSIP Trunk-000001c2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:8] Return(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/PJSIP Trunk-000001c2”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(TRUNKCIDOVERRIDE=0428290898)”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/PJSIP Trunk-000001c2”, “_NODEST=”) in new stack
– Executing [[email protected]:7] Macro(“PJSIP/PJSIP Trunk-000001c2”, “dialout-trunk,3,X.X.X.X,off”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/PJSIP Trunk-000001c2”, “DIAL_TRUNK=3”) in new stack
– Executing [[email protected]:2] GosubIf(“PJSIP/PJSIP Trunk-000001c2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/PJSIP Trunk-000001c2”, “DIAL_NUMBER=X.X.X.X”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/PJSIP Trunk-000001c2”, “OUTBOUND_GROUP=OUT_3”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/PJSIP Trunk-000001c2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [[email protected]:11] Macro(“PJSIP/PJSIP Trunk-000001c2”, “outbound-callerid,3”) in new stack
– Executing [[email protected]:1] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Set(CALLERPRES(name-pres)=allowed_not_screened)”) in new stack
– Executing [[email protected]:2] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Set(CALLERPRES(num-pres)=allowed_not_screened)”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(REALCALLERIDNUM=A.A.A.A)”) in new stack
– Executing [[email protected]:4] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?normcid”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/PJSIP Trunk-000001c2”, “USEROUTCID=A.A.A.A”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?bypass”) in new stack
– Goto (macro-outbound-callerid,s,8)
– Executing [[email protected]:8] Set(“PJSIP/PJSIP Trunk-000001c2”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/PJSIP Trunk-000001c2”, “TRUNKOUTCID=0428290898”) in new stack
– Executing [[email protected]:10] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,15)
– Executing [[email protected]:15] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Set(CALLERID(all)=0428290898)”) in new stack
– Executing [[email protected]:16] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “1?Set(CALLERID(all)=A.A.A.A)”) in new stack
– Executing [[email protected]:17] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:18] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:19] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:20] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(outbound_cnum)=A.A.A.A”) in new stack
– Executing [[email protected]:21] Set(“PJSIP/PJSIP Trunk-000001c2”, “CDR(outbound_cnam)=”) in new stack
[2016-07-13 08:47:41] WARNING[3501]: func_cdr.c:352 cdr_write_callback: CDR requires a value (CDR(variable)=value)
– Executing [[email protected]:12] GosubIf(“PJSIP/PJSIP Trunk-000001c2”, “0?sub-flp-3,s,1()”) in new stack
– Executing [[email protected]:13] Set(“PJSIP/PJSIP Trunk-000001c2”, “OUTNUM=X.X.X.X”) in new stack
– Executing [[email protected]:14] Set(“PJSIP/PJSIP Trunk-000001c2”, “custom=PJSIP”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [[email protected]:16] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“PJSIP/PJSIP Trunk-000001c2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CONNECTEDLINE(num,i)=X.X.X.X)”) in new stack
– Executing [[email protected]:20] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CONNECTEDLINE(name,i)=CID:A.A.A.A)”) in new stack
– Executing [[email protected]:21] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)A.A.A.A)”) in new stack
– Executing [[email protected]:22] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?customtrunk”) in new stack
– Executing [[email protected]:23] Dial(“PJSIP/PJSIP Trunk-000001c2”, “PJSIP/[email protected] Trunk,300,Tt”) in new stack
– Called PJSIP/[email protected] Trunk
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [[email protected]:24] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1”) in new stack
– Executing [[email protected]:25] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [[email protected]:1] Set(“PJSIP/PJSIP Trunk-000001c2”, “RC=1”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/PJSIP Trunk-000001c2”, “1,1”) in new stack
– Goto (macro-dialout-trunk,1,1)
– Executing [[email protected]:1] Goto(“PJSIP/PJSIP Trunk-000001c2”, “s-INVALIDNMBR,1”) in new stack
– Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
– Executing [[email protected]:1] NoOp(“PJSIP/PJSIP Trunk-000001c2”, “Dial failed due to trunk reporting Address Incomplete - giving up”) in new stack
– Executing [[email protected]:2] Progress(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
– Executing [[email protected]:3] Playback(“PJSIP/PJSIP Trunk-000001c2”, “ss-noservice,noanswer”) in new stack
– <PJSIP/PJSIP Trunk-000001c2> Playing ‘ss-noservice.alaw’ (language ‘en’)
– Executing [[email protected]:4] Busy(“PJSIP/PJSIP Trunk-000001c2”, “20”) in new stack
[2016-07-13 08:47:46] WARNING[2330][C-000002ea]: channel.c:4856 ast_prod: Prodding channel ‘PJSIP/PJSIP Trunk-000001c2’ failed
== Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on ‘PJSIP/PJSIP Trunk-000001c2’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, X.X.X.X, 7) exited non-zero on ‘PJSIP/PJSIP Trunk-000001c2’
– Executing [[email protected]:1] Macro(“PJSIP/PJSIP Trunk-000001c2”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/PJSIP Trunk-000001c2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“PJSIP/PJSIP Trunk-000001c2”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] Hangup(“PJSIP/PJSIP Trunk-000001c2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘PJSIP/PJSIP Trunk-000001c2’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/PJSIP Trunk-000001c2’