Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 9:43 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem with call forwarding
PostPosted: Mon Apr 09, 2018 9:29 am 
Offline

Joined: Mon Apr 09, 2018 9:24 am
Posts: 1
Hi

I have an end user where we changed the ITSP to a new provider. All normal outbound calls work and the account codes are correct. I made the modifications within A2B 2.2 but now when an extension is doing a call forward, the call will not forward as is asking for a PIN to the calling party.

Code:
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [01201234567@from-pstn:1] Set("SIP/sip-itsp-000055a8", "__DIRECTION=INBOUND") in new stack
    -- Executing [01201234567@from-pstn:2] Gosub("SIP/sip-itsp-000055a8", "sub-record-check,s,1(in,01201234567,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/sip-itsp-000055a8", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/sip-itsp-000055a8", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/sip-itsp-000055a8", "NOW=1523263848") in new stack
    -- Executing [s@sub-record-check:4] Set("SIP/sip-itsp-000055a8", "__DAY=09") in new stack
    -- Executing [s@sub-record-check:5] Set("SIP/sip-itsp-000055a8", "__MONTH=04") in new stack
    -- Executing [s@sub-record-check:6] Set("SIP/sip-itsp-000055a8", "__YEAR=2018") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/sip-itsp-000055a8", "__TIMESTR=20180409-095048") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/sip-itsp-000055a8", "__FROMEXTEN=unknown") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/sip-itsp-000055a8", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/sip-itsp-000055a8", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/sip-itsp-000055a8", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/sip-itsp-000055a8", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/sip-itsp-000055a8", "2?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/sip-itsp-000055a8", "1?sub-record-check,in,1") in new stack
    -- Goto (sub-record-check,in,1)
    -- Executing [in@sub-record-check:1] NoOp("SIP/sip-itsp-000055a8", "Inbound Recording Check to 01201234567") in new stack
    -- Executing [in@sub-record-check:2] Set("SIP/sip-itsp-000055a8", "FROMEXTEN=unknown") in new stack
    -- Executing [in@sub-record-check:3] ExecIf("SIP/sip-itsp-000055a8", "13?Set(FROMEXTEN=+447200123456)") in new stack
    -- Executing [in@sub-record-check:4] Gosub("SIP/sip-itsp-000055a8", "recordcheck,1(dontcare,in,01201234567)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/sip-itsp-000055a8", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/sip-itsp-000055a8", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [in@sub-record-check:5] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [01201234567@from-pstn:3] Gosub("SIP/sip-itsp-000055a8", "app-blacklist-check,s,1()") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/sip-itsp-000055a8", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/sip-itsp-000055a8", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [01201234567@from-pstn:4] Set("SIP/sip-itsp-000055a8", "__FROM_DID=01201234567") in new stack
    -- Executing [01201234567@from-pstn:5] Set("SIP/sip-itsp-000055a8", "CDR(did)=01201234567") in new stack
    -- Executing [01201234567@from-pstn:6] ExecIf("SIP/sip-itsp-000055a8", "0 ?Set(CALLERID(name)=+447200123456)") in new stack
    -- Executing [01201234567@from-pstn:7] Set("SIP/sip-itsp-000055a8", "__MOHCLASS=") in new stack
    -- Executing [01201234567@from-pstn:8] Set("SIP/sip-itsp-000055a8", "__REVERSAL_REJECT=FALSE") in new stack
    -- Executing [01201234567@from-pstn:9] GotoIf("SIP/sip-itsp-000055a8", "1?post-reverse-charge") in new stack
    -- Goto (from-pstn,01201234567,11)
    -- Executing [01201234567@from-pstn:11] NoOp("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [01201234567@from-pstn:12] Set("SIP/sip-itsp-000055a8", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
    -- Executing [01201234567@from-pstn:13] Set("SIP/sip-itsp-000055a8", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
    -- Executing [01201234567@from-pstn:14] Set("SIP/sip-itsp-000055a8", "CALLERID(name-pres)=allowed_not_screened") in new stack
    -- Executing [01201234567@from-pstn:15] Set("SIP/sip-itsp-000055a8", "CALLERID(num-pres)=allowed_not_screened") in new stack
    -- Executing [01201234567@from-pstn:16] NoOp("SIP/sip-itsp-000055a8", "CallerID Entry Point") in new stack
    -- Executing [01201234567@from-pstn:17] Macro("SIP/sip-itsp-000055a8", "prepend-cid,Reaction:") in new stack
    -- Executing [s@macro-prepend-cid:1] GotoIf("SIP/sip-itsp-000055a8", "1?REPCID") in new stack
    -- Goto (macro-prepend-cid,s,5)
    -- Executing [s@macro-prepend-cid:5] Set("SIP/sip-itsp-000055a8", "_RGPREFIX=Reaction:") in new stack
    -- Executing [s@macro-prepend-cid:6] Set("SIP/sip-itsp-000055a8", "CALLERID(name)=Reaction:+447200123456") in new stack
    -- Executing [01201234567@from-pstn:18] Set("SIP/sip-itsp-000055a8", "__CRM_DIRECTION=INBOUND") in new stack
    -- Executing [01201234567@from-pstn:19] Set("SIP/sip-itsp-000055a8", "__CRM_SOURCE=+447200123456") in new stack
    -- Executing [01201234567@from-pstn:20] Set("SIP/sip-itsp-000055a8", "__CRM_LINKEDID=1523263848.22965") in new stack
    -- Executing [01201234567@from-pstn:21] ExecIf("SIP/sip-itsp-000055a8", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
    -- Executing [01201234567@from-pstn:22] Goto("SIP/sip-itsp-000055a8", "from-did-direct,71111,1") in new stack
    -- Goto (from-did-direct,71111,1)
    -- Executing [71111@from-did-direct:1] GotoIf("SIP/sip-itsp-000055a8", "1?ext-local,71111,1:followme-check,71111,1") in new stack
    -- Goto (ext-local,71111,1)
    -- Executing [71111@ext-local:1] Set("SIP/sip-itsp-000055a8", "__RINGTIMER=15") in new stack
    -- Executing [71111@ext-local:2] Macro("SIP/sip-itsp-000055a8", "exten-vm,71111,71111,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/sip-itsp-000055a8", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/sip-itsp-000055a8", "TOUCH_MONITOR=1523263848.22965") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/sip-itsp-000055a8", "AMPUSER=+447200123456") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/sip-itsp-000055a8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/sip-itsp-000055a8", "1?Set(REALCALLERIDNUM=+447200123456)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/sip-itsp-000055a8", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/sip-itsp-000055a8", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/sip-itsp-000055a8", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/sip-itsp-000055a8", "1?report") in new stack
    -- Goto (macro-user-callerid,s,15)
    -- Executing [s@macro-user-callerid:15] NoOp("SIP/sip-itsp-000055a8", "Macro Depth is 2") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/sip-itsp-000055a8", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [s@macro-user-callerid:18] GotoIf("SIP/sip-itsp-000055a8", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:19] Set("SIP/sip-itsp-000055a8", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:20] GotoIf("SIP/sip-itsp-000055a8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,36)
    -- Executing [s@macro-user-callerid:36] Set("SIP/sip-itsp-000055a8", "CALLERID(number)=+447200123456") in new stack
    -- Executing [s@macro-user-callerid:37] Set("SIP/sip-itsp-000055a8", "CALLERID(name)=Reaction:+447200123456") in new stack
    -- Executing [s@macro-user-callerid:38] GotoIf("SIP/sip-itsp-000055a8", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:39] Set("SIP/sip-itsp-000055a8", "CDR(cnam)=Reaction:+447200123456") in new stack
    -- Executing [s@macro-user-callerid:40] Set("SIP/sip-itsp-000055a8", "CDR(cnum)=+447200123456") in new stack
    -- Executing [s@macro-user-callerid:41] Set("SIP/sip-itsp-000055a8", "CHANNEL(language)=en_GB") in new stack
    -- Executing [s@macro-user-callerid:42] GosubIf("SIP/sip-itsp-000055a8", "0?app-check-classofservce,s,1()") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/sip-itsp-000055a8", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/sip-itsp-000055a8", "__EXTTOCALL=71111") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/sip-itsp-000055a8", "__PICKUPMARK=71111") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/sip-itsp-000055a8", "RT=15") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4425 ast_func_read: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:6] ExecIf("SIP/sip-itsp-000055a8", "0?Macro(vm,71111,DIRECTDIAL,)") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4464 ast_func_read2: Function PJSIP_HEADER not registered
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4425 ast_func_read: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:7] ExecIf("SIP/sip-itsp-000055a8", "0?MacroExit()") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4464 ast_func_read2: Function PJSIP_HEADER not registered
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4425 ast_func_read: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:8] ExecIf("SIP/sip-itsp-000055a8", "0?Gosub(ext-intercom,*8071111,1())") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4464 ast_func_read2: Function PJSIP_HEADER not registered
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4425 ast_func_read: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:9] ExecIf("SIP/sip-itsp-000055a8", "0?MacroExit()") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4464 ast_func_read2: Function PJSIP_HEADER not registered
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4425 ast_func_read: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:10] ExecIf("SIP/sip-itsp-000055a8", "0?ChanSpy(SIP/71111,q)") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4464 ast_func_read2: Function PJSIP_HEADER not registered
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4425 ast_func_read: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:11] ExecIf("SIP/sip-itsp-000055a8", "0?MacroExit()") in new stack
[2018-04-09 09:50:48] ERROR[10100][C-00004e50]: pbx.c:4464 ast_func_read2: Function PJSIP_HEADER not registered
    -- Executing [s@macro-exten-vm:12] Gosub("SIP/sip-itsp-000055a8", "sub-record-check,s,1(exten,71111,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/sip-itsp-000055a8", "13?initialized") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] NoOp("SIP/sip-itsp-000055a8", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/sip-itsp-000055a8", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/sip-itsp-000055a8", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/sip-itsp-000055a8", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/sip-itsp-000055a8", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] NoOp("SIP/sip-itsp-000055a8", "Exten Recording Check between +447200123456 and 71111") in new stack
    -- Executing [exten@sub-record-check:2] Set("SIP/sip-itsp-000055a8", "CALLTYPE=external") in new stack
    -- Executing [exten@sub-record-check:3] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CALLTYPE=)") in new stack
    -- Executing [exten@sub-record-check:4] Set("SIP/sip-itsp-000055a8", "CALLEE=dontcare") in new stack
    -- Executing [exten@sub-record-check:5] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:6] GotoIf("SIP/sip-itsp-000055a8", "1?callee") in new stack
    -- Goto (sub-record-check,exten,11)
    -- Executing [exten@sub-record-check:11] Gosub("SIP/sip-itsp-000055a8", "recordcheck,1(dontcare,external,71111)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/sip-itsp-000055a8", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/sip-itsp-000055a8", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [exten@sub-record-check:12] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [s@macro-exten-vm:13] GotoIf("SIP/sip-itsp-000055a8", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,19)
    -- Executing [s@macro-exten-vm:19] GosubIf("SIP/sip-itsp-000055a8", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:20] Macro("SIP/sip-itsp-000055a8", "dial-one,15,Ttr,71111") in new stack
    -- Executing [s@macro-dial-one:1] Set("SIP/sip-itsp-000055a8", "DEXTEN=71111") in new stack
    -- Executing [s@macro-dial-one:2] Set("SIP/sip-itsp-000055a8", "__CRM_SOURCE=+447200123456") in new stack
    -- Executing [s@macro-dial-one:3] ExecIf("SIP/sip-itsp-000055a8", "0?Set(EXTTOCALL=71111)") in new stack
    -- Executing [s@macro-dial-one:4] Set("SIP/sip-itsp-000055a8", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:5] GosubIf("SIP/sip-itsp-000055a8", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:6] GosubIf("SIP/sip-itsp-000055a8", "1?cf,1()") in new stack
    -- Executing [cf@macro-dial-one:1] Set("SIP/sip-itsp-000055a8", "CFAMPUSER=+447200123456") in new stack
    -- Executing [cf@macro-dial-one:2] ExecIf("SIP/sip-itsp-000055a8", "0?Return()") in new stack
    -- Executing [cf@macro-dial-one:3] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ARG1=0)") in new stack
    -- Executing [cf@macro-dial-one:4] ExecIf("SIP/sip-itsp-000055a8", "1?Set(ARG1=)") in new stack
    -- Executing [cf@macro-dial-one:5] Set("SIP/sip-itsp-000055a8", "DEXTEN=907333333333#") in new stack
    -- Executing [cf@macro-dial-one:6] ExecIf("SIP/sip-itsp-000055a8", "1?Return()") in new stack
    -- Executing [s@macro-dial-one:7] GotoIf("SIP/sip-itsp-000055a8", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,10)
    -- Executing [s@macro-dial-one:10] GotoIf("SIP/sip-itsp-000055a8", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("SIP/sip-itsp-000055a8", "1?continue") in new stack
    -- Goto (macro-dial-one,s,27)
    -- Executing [s@macro-dial-one:27] GotoIf("SIP/sip-itsp-000055a8", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GosubIf("SIP/sip-itsp-000055a8", "0?dstring,1():dlocal,1()") in new stack
    -- Executing [dlocal@macro-dial-one:1] Set("SIP/sip-itsp-000055a8", "DSTRING=907333333333") in new stack
    -- Executing [dlocal@macro-dial-one:2] Set("SIP/sip-itsp-000055a8", "USEGOTO=1") in new stack
    -- Executing [dlocal@macro-dial-one:3] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [s@macro-dial-one:29] GotoIf("SIP/sip-itsp-000055a8", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:30] GotoIf("SIP/sip-itsp-000055a8", "1?skiptrace") in new stack
    -- Goto (macro-dial-one,s,32)
    -- Executing [s@macro-dial-one:32] Set("SIP/sip-itsp-000055a8", "D_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dial-one:33] NoOp("SIP/sip-itsp-000055a8", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
    -- Executing [s@macro-dial-one:34] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:35] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:36] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:37] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [s@macro-dial-one:38] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [s@macro-dial-one:39] GosubIf("SIP/sip-itsp-000055a8", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [s@macro-dial-one:40] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:41] GosubIf("SIP/sip-itsp-000055a8", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:42] Set("SIP/sip-itsp-000055a8", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:43] Set("SIP/sip-itsp-000055a8", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:44] GotoIf("SIP/sip-itsp-000055a8", "1?usegoto,1") in new stack
    -- Goto (macro-dial-one,usegoto,1)
    -- Executing [usegoto@macro-dial-one:1] Set("SIP/sip-itsp-000055a8", "USEGOTO=") in new stack
    -- Executing [usegoto@macro-dial-one:2] Goto("SIP/sip-itsp-000055a8", "from-internal,907333333333,1") in new stack
    -- Goto (from-internal,907333333333,1)
    -- Executing [907333333333@from-internal:1] Goto("SIP/sip-itsp-000055a8", "from-internal-original,907333333333,1") in new stack
    -- Goto (from-internal-original,907333333333,1)
    -- Executing [907333333333@from-internal-original:1] Macro("SIP/sip-itsp-000055a8", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/sip-itsp-000055a8", "TOUCH_MONITOR=1523263848.22965") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/sip-itsp-000055a8", "AMPUSER=+447200123456") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/sip-itsp-000055a8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/sip-itsp-000055a8", "0?Set(REALCALLERIDNUM=+447200123456)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/sip-itsp-000055a8", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/sip-itsp-000055a8", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/sip-itsp-000055a8", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/sip-itsp-000055a8", "1?report") in new stack
    -- Goto (macro-user-callerid,s,15)
    -- Executing [s@macro-user-callerid:15] NoOp("SIP/sip-itsp-000055a8", "Macro Depth is 3") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/sip-itsp-000055a8", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [s@macro-user-callerid:18] GotoIf("SIP/sip-itsp-000055a8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,36)
    -- Executing [s@macro-user-callerid:36] Set("SIP/sip-itsp-000055a8", "CALLERID(number)=+447200123456") in new stack
    -- Executing [s@macro-user-callerid:37] Set("SIP/sip-itsp-000055a8", "CALLERID(name)=Reaction:+447200123456") in new stack
    -- Executing [s@macro-user-callerid:38] GotoIf("SIP/sip-itsp-000055a8", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:39] Set("SIP/sip-itsp-000055a8", "CDR(cnam)=Reaction:+447200123456") in new stack
    -- Executing [s@macro-user-callerid:40] Set("SIP/sip-itsp-000055a8", "CDR(cnum)=+447200123456") in new stack
    -- Executing [s@macro-user-callerid:41] Set("SIP/sip-itsp-000055a8", "CHANNEL(language)=en_GB") in new stack
    -- Executing [s@macro-user-callerid:42] GosubIf("SIP/sip-itsp-000055a8", "0?app-check-classofservce,s,1()") in new stack
    -- Executing [907333333333@from-internal-original:2] Gosub("SIP/sip-itsp-000055a8", "sub-record-check,s,1(out,907333333333,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/sip-itsp-000055a8", "13?initialized") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] NoOp("SIP/sip-itsp-000055a8", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/sip-itsp-000055a8", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/sip-itsp-000055a8", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/sip-itsp-000055a8", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/sip-itsp-000055a8", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/sip-itsp-000055a8", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("SIP/sip-itsp-000055a8", "Outbound Recording Check from +447200123456 to 907333333333") in new stack
    -- Executing [out@sub-record-check:2] Set("SIP/sip-itsp-000055a8", "RECMODE=") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("SIP/sip-itsp-000055a8", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [out@sub-record-check:7] Gosub("SIP/sip-itsp-000055a8", "recordcheck,1(dontcare,out,907333333333)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/sip-itsp-000055a8", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/sip-itsp-000055a8", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [out@sub-record-check:8] Return("SIP/sip-itsp-000055a8", "") in new stack
    -- Executing [907333333333@from-internal-original:3] ExecIf("SIP/sip-itsp-000055a8", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [907333333333@from-internal-original:4] Set("SIP/sip-itsp-000055a8", "EMERGENCYROUTE=YES") in new stack
    -- Executing [907333333333@from-internal-original:5] Set("SIP/sip-itsp-000055a8", "MOHCLASS=default") in new stack
    -- Executing [907333333333@from-internal-original:6] Set("SIP/sip-itsp-000055a8", "_NODEST=") in new stack
    -- Executing [907333333333@from-internal-original:7] Macro("SIP/sip-itsp-000055a8", "dialout-trunk,1,07333333333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/sip-itsp-000055a8", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/sip-itsp-000055a8", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/sip-itsp-000055a8", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/sip-itsp-000055a8", "DIAL_NUMBER=07333333333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/sip-itsp-000055a8", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/sip-itsp-000055a8", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("SIP/sip-itsp-000055a8", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/sip-itsp-000055a8", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,10)
    -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/sip-itsp-000055a8", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/sip-itsp-000055a8", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/sip-itsp-000055a8", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/sip-itsp-000055a8", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
    -- Executing [s@macro-outbound-callerid:3] ExecIf("SIP/sip-itsp-000055a8", "0?Set(REALCALLERIDNUM=+447200123456)") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/sip-itsp-000055a8", "0?normcid") in new stack
    -- Executing [s@macro-outbound-callerid:5] Set("SIP/sip-itsp-000055a8", "USEROUTCID=+447200123456") in new stack
    -- Executing [s@macro-outbound-callerid:6] GotoIf("SIP/sip-itsp-000055a8", "1?bypass") in new stack
    -- Goto (macro-outbound-callerid,s,8)
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/sip-itsp-000055a8", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/sip-itsp-000055a8", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/sip-itsp-000055a8", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/sip-itsp-000055a8", "1?Set(CALLERID(all)=+447200123456)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:18] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/sip-itsp-000055a8", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:20] Set("SIP/sip-itsp-000055a8", "CDR(outbound_cnum)=+447200123456") in new stack
    -- Executing [s@macro-outbound-callerid:21] Set("SIP/sip-itsp-000055a8", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/sip-itsp-000055a8", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/sip-itsp-000055a8", "OUTNUM=07333333333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/sip-itsp-000055a8", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/sip-itsp-000055a8", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/sip-itsp-000055a8", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/sip-itsp-000055a8", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] GotoIf("SIP/sip-itsp-000055a8", "1?custom-freepbx-a2billing,07333333333,1:2") in new stack
    -- Goto (custom-freepbx-a2billing,07333333333,1)
  == Channel 'SIP/sip-itsp-000055a8' jumping out of macro 'dialout-trunk-predial-hook'
  == Channel 'SIP/sip-itsp-000055a8' jumping out of macro 'dialout-trunk'
    -- Executing [07333333333@custom-freepbx-a2billing:1] DeadAGI("SIP/sip-itsp-000055a8", "a2billing.php,1") in new stack
[2018-04-09 09:50:48] WARNING[10100][C-00004e50]: res_agi.c:4006 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
    -- <SIP/sip-itsp-000055a8> Playing 'prepaid-enter-pin-number.gsm' (language 'en_GB')
[2018-04-09 09:50:50] WARNING[10100][C-00004e50]: file.c:830 ast_readaudio_callback: Failed to write frame
[2018-04-09 09:50:50] WARNING[10100][C-00004e50]: channel.c:4861 ast_prod: Prodding channel 'SIP/sip-itsp-000055a8' failed
    -- <SIP/sip-itsp-000055a8>AGI Script a2billing.php completed, returning 4
  == Spawn extension (custom-freepbx-a2billing, 07333333333, 1) exited non-zero on 'SIP/sip-itsp-000055a8' in macro 'dial-one'
  == Spawn extension (custom-freepbx-a2billing, 07333333333, 1) exited non-zero on 'SIP/sip-itsp-000055a8' in macro 'exten-vm'
  == Spawn extension (custom-freepbx-a2billing, 07333333333, 1) exited non-zero on 'SIP/sip-itsp-000055a8'
    -- SIP/sip-itsp-000055a8 Internal Gosub(crm-hangup,s,1) start
    -- Executing [s@crm-hangup:1] NoOp("SIP/sip-itsp-000055a8", "Sending Hangup to CRM") in new stack
    -- Executing [s@crm-hangup:2] NoOp("SIP/sip-itsp-000055a8", "HANGUP CAUSE: 0") in new stack
    -- Executing [s@crm-hangup:3] ExecIf("SIP/sip-itsp-000055a8", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [s@crm-hangup:4] NoOp("SIP/sip-itsp-000055a8", "MASTER CHANNEL: 1523263848.22965 = 1523263848.22965") in new stack
    -- Executing [s@crm-hangup:5] GotoIf("SIP/sip-itsp-000055a8", "0?return") in new stack
    -- Executing [s@crm-hangup:6] Set("SIP/sip-itsp-000055a8", "__CRM_HANGUP=1") in new stack
    -- Executing [s@crm-hangup:7] AGI("SIP/sip-itsp-000055a8", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <SIP/sip-itsp-000055a8>AGI Script sangomacrm.agi completed, returning 0
    -- Executing [s@crm-hangup:8] Return("SIP/sip-itsp-000055a8", "") in new stack
  == Spawn extension (custom-freepbx-a2billing, 07333333333, 1) exited non-zero on 'SIP/sip-itsp-000055a8'
    -- SIP/sip-itsp-000055a8 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=


In this case, +447200123456 calls the inbound DDI 01201234567, which calls extension 70111. 70111 has a cfwd to 907333333333.


Top
 Profile  
 
 Post subject: Re: Problem with call forwarding
PostPosted: Mon Jul 09, 2018 5:26 am 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
This thing is dead now. They have moved on to other things. It was a great run. There are other open source projects out there which are still in the game, such as ASTPP


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group