Callcentric sending random DID

Dear all, I have setup freepbx with callcentric. I have two DIDs (one for USA and one for UK).
I was able to successfully do inbound/outbound when i only had USA configured.

When i added UK (by adding one more trunk and one more inbound route) the problem now is that no matter if user is calling USA or UK number the DID is random. So if USA did should send call to USA extension , the call goes to UK extension. When i check CDR records i can see that wrong DID is coming from callcentric.

Outbound calls are fine for both USA and UK.

I have latest freepbx with latest asterisk .

Are you saying:

  • When users call the DID for the US (e.x.1111111111) to go to one treatment.
  • When users call the DID for the UK (22222 222222) to go to another treatment.

You should be able to do this easily with your inbound routes. As long as there is only one entry for each DID. what is your treatment for each DID? Do you have other DIDs that may pattern match the two DIDs in question?

I see a similar thread where you are discussing this. It might be better to merge this.

You say you created a new trunk. Did you add a new CallCentric Server IP? You should normally have one trunk per ITSP Server. Of course, there are certain cases where the vendor wants you to have one trunk per inbound number, but that’s honestly silly.

We’re going to need a call log for a failed call to be able to help you troubleshoot this.

As a matter of general rules, trunks and inbound routes are independent. A call comes in on a trunk, any trunk, and gets processed through the Inbound Route using the DID number that was sent with the call. It’s possible that your inbound routes are not set up correctly (as in, you are actually processing the call through an “any/any” route) or that the inbound call’s DID is coming in on an unusual header. Regardless, the logs will tell the tale.

Dear Dave and comtech i am attaching screenshot of all my settings. Please have a look at them.

At the top is the callcentric gui where i have put two DIDs rest all below is freepbx gui

Dear Dave i am using only one ITSP

Please note that the destination extensions (148 for USA and 149 for UK ) are temporary , i will later replace them with a ring group but right now for simplicity i am using just single extension.

Dear friends please find below a log that i collected after enable pjsip logger.

Note that i called my USA number in this case (which is 16xxxxxxxx1 ) so it should end up on my 148 extension but as soon as this call enters my freepbx system its showing the UK DID ( 44xxxxx ) and hence terminating at my 149 extension. which is WRONG

When i check the CDR it shows my DID as 44xxxxxxx so basically there is it something wrong with call centric which is sending wrong DID ?

I have highlighted few things. Please let me know if they are of any significance. Please read below logs
Thanks to you all in advance.

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f803c598780 – Strict RTP learning after remote address set to: 204.11.192.160:52132
– Executing [44xxxxxxxxx4@from-sip-external:1] NoOp(“SIP/callcentric.com-00000018”, “Received incoming SIP connection from unknown peer to 44xxxxxxxxx4”) in new stack
– Executing [44xxxxxxxxx4@from-sip-external:2] Set(“SIP/callcentric.com-00000018”, “DID=44xxxxxxxxx4”) in new stack
– Executing [44xxxxxxxxx4@from-sip-external:3] Goto(“SIP/callcentric.com-00000018”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/callcentric.com-00000018”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] Set(“SIP/callcentric.com-00000018”, “CHANNEL(language)=en”) in new stack
– Executing [s@from-sip-external:3] GotoIf(“SIP/callcentric.com-00000018”, “0?noanonymous”) in new stack
– Executing [s@from-sip-external:4] Goto(“SIP/callcentric.com-00000018”, “from-trunk,44xxxxxxxxx4,1”) in new stack
– Goto (from-trunk,44xxxxxxxxx4,1)
– Executing [44xxxxxxxxx4@from-trunk:1] Set(“SIP/callcentric.com-00000018”, “__DIRECTION=INBOUND”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:2] Gosub(“SIP/callcentric.com-00000018”, “sub-record-check,s,1(in,44xxxxxxxxx4,no)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/callcentric.com-00000018”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/callcentric.com-00000018”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/callcentric.com-00000018”, “NOW=1527090825”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/callcentric.com-00000018”, “__DAY=23”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/callcentric.com-00000018”, “__MONTH=05”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/callcentric.com-00000018”, “__YEAR=2018”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/callcentric.com-00000018”, “__TIMESTR=20180523-155345”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/callcentric.com-00000018”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/callcentric.com-00000018”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/callcentric.com-00000018”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/callcentric.com-00000018”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/callcentric.com-00000018”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/callcentric.com-00000018”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“SIP/callcentric.com-00000018”, “Inbound Recording Check to 44xxxxxxxxx4”) in new stack
– Executing [in@sub-record-check:2] Set(“SIP/callcentric.com-00000018”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“SIP/callcentric.com-00000018”, “14?Set(FROMEXTEN=+192xxxxxxxxxx)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“SIP/callcentric.com-00000018”, “recordcheck,1(no,in,44xxxxxxxxx4)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/callcentric.com-00000018”, “Starting recording check against no”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/callcentric.com-00000018”, “no”) in new stack
– Goto (sub-record-check,recordcheck,12)
– Executing [recordcheck@sub-record-check:12] Set(“SIP/callcentric.com-00000018”, “__REC_POLICY_MODE=NO”) in new stack
– Executing [recordcheck@sub-record-check:13] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:3] Gosub(“SIP/callcentric.com-00000018”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/callcentric.com-00000018”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/callcentric.com-00000018”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:4] Set(“SIP/callcentric.com-00000018”, “__FROM_DID=44xxxxxxxxx4”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:5] Set(“SIP/callcentric.com-00000018”, “CDR(did)=44xxxxxxxxx4”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:6] ExecIf(“SIP/callcentric.com-00000018”, “0 ?Set(CALLERID(name)=+192xxxxxxxxxx)”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:7] Set(“SIP/callcentric.com-00000018”, “__MOHCLASS=”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:8] Ringing(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:9] Set(“SIP/callcentric.com-00000018”, “__RINGINGSENT=TRUE”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:10] Set(“SIP/callcentric.com-00000018”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:11] GotoIf(“SIP/callcentric.com-00000018”, “1?post-reverse-charge”) in new stack
– Goto (from-trunk,44xxxxxxxxx4,13)
– Executing [44xxxxxxxxx4@from-trunk:13] NoOp(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:14] Set(“SIP/callcentric.com-00000018”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:15] Set(“SIP/callcentric.com-00000018”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:16] Set(“SIP/callcentric.com-00000018”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:17] Set(“SIP/callcentric.com-00000018”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:18] NoOp(“SIP/callcentric.com-00000018”, “CallerID Entry Point”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:19] Set(“SIP/callcentric.com-00000018”, “__CRM_DIRECTION=INBOUND”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:20] Set(“SIP/callcentric.com-00000018”, “__CRM_SOURCE=+192xxxxxxxxxx”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:21] Set(“SIP/callcentric.com-00000018”, “__CRM_LINKEDID=1527090825.41”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:22] ExecIf(“SIP/callcentric.com-00000018”, “1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [44xxxxxxxxx4@from-trunk:23] Goto(“SIP/callcentric.com-00000018”, “from-did-direct,149,1”) in new stack
– Goto (from-did-direct,149,1)
– Executing [149@from-did-direct:1] GotoIf(“SIP/callcentric.com-00000018”, “1?ext-local,149,1:followme-check,149,1”) in new stack
– Goto (ext-local,149,1)
– Executing [149@ext-local:1] Set(“SIP/callcentric.com-00000018”, “__RINGTIMER=15”) in new stack
– Executing [149@ext-local:2] Macro(“SIP/callcentric.com-00000018”, “exten-vm,novm,149,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/callcentric.com-00000018”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/callcentric.com-00000018”, “TOUCH_MONITOR=1527090825.41”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/callcentric.com-00000018”, “AMPUSER=+192xxxxxxxxxx”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/callcentric.com-00000018”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/callcentric.com-00000018”, “1?Set(REALCALLERIDNUM=+192xxxxxxxxxx)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/callcentric.com-00000018”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/callcentric.com-00000018”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/callcentric.com-00000018”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:9] GotoIf(“SIP/callcentric.com-00000018”, “1?report”) in new stack
– Goto (macro-user-callerid,s,16)
– Executing [s@macro-user-callerid:16] NoOp(“SIP/callcentric.com-00000018”, “Macro Depth is 2”) in new stack
– Executing [s@macro-user-callerid:17] GotoIf(“SIP/callcentric.com-00000018”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] GotoIf(“SIP/callcentric.com-00000018”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/callcentric.com-00000018”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:21] GotoIf(“SIP/callcentric.com-00000018”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,37)
– Executing [s@macro-user-callerid:37] Set(“SIP/callcentric.com-00000018”, “CALLERID(number)=+192xxxxxxxxxx”) in new stack
– Executing [s@macro-user-callerid:38] Set(“SIP/callcentric.com-00000018”, “CALLERID(name)=+192xxxxxxxxxx”) in new stack
– Executing [s@macro-user-callerid:39] GotoIf(“SIP/callcentric.com-00000018”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:40] Set(“SIP/callcentric.com-00000018”, “CDR(cnam)=+192xxxxxxxxxx”) in new stack
– Executing [s@macro-user-callerid:41] Set(“SIP/callcentric.com-00000018”, “CDR(cnum)=+192xxxxxxxxxx”) in new stack
– Executing [s@macro-user-callerid:42] Set(“SIP/callcentric.com-00000018”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/callcentric.com-00000018”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/callcentric.com-00000018”, “__EXTTOCALL=149”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/callcentric.com-00000018”, “__PICKUPMARK=149”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/callcentric.com-00000018”, “RT=”) in new stack
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
** – Executing [s@macro-exten-vm:6] ExecIf(“SIP/callcentric.com-00000018”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack**
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:7] ExecIf(“SIP/callcentric.com-00000018”, “0?MacroExit()”) in new stack
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/callcentric.com-00000018”, “0?Gosub(ext-intercom,*80149,1())”) in new stack
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:9] ExecIf(“SIP/callcentric.com-00000018”, “0?MacroExit()”) in new stack
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/callcentric.com-00000018”, “0?ChanSpy(PJSIP/149,q)”) in new stack
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:11] ExecIf(“SIP/callcentric.com-00000018”, “0?MacroExit()”) in new stack
[2018-05-23 15:53:45] ERROR[43441][C-0000001c]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:12] Gosub(“SIP/callcentric.com-00000018”, “sub-record-check,s,1(exten,149,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/callcentric.com-00000018”, “14?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“SIP/callcentric.com-00000018”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/callcentric.com-00000018”, “REC_POLICY_MODE_SAVE=NO”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/callcentric.com-00000018”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/callcentric.com-00000018”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“SIP/callcentric.com-00000018”, “Exten Recording Check between +192xxxxxxxxxx and 149”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/callcentric.com-00000018”, “CALLTYPE=external”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“SIP/callcentric.com-00000018”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“SIP/callcentric.com-00000018”, “1?callee”) in new stack
– Goto (sub-record-check,exten,11)
– Executing [exten@sub-record-check:11] Gosub(“SIP/callcentric.com-00000018”, “recordcheck,1(dontcare,external,149)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/callcentric.com-00000018”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/callcentric.com-00000018”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [exten@sub-record-check:12] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [s@macro-exten-vm:13] GotoIf(“SIP/callcentric.com-00000018”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,19)
– Executing [s@macro-exten-vm:19] GosubIf(“SIP/callcentric.com-00000018”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:20] Macro(“SIP/callcentric.com-00000018”, “dial-one,HhTtr,149”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/callcentric.com-00000018”, “DEXTEN=149”) in new stack
– Executing [s@macro-dial-one:2] Set(“SIP/callcentric.com-00000018”, “__CRM_SOURCE=+192xxxxxxxxxx”) in new stack
– Executing [s@macro-dial-one:3] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(EXTTOCALL=149)”) in new stack
– Executing [s@macro-dial-one:4] Set(“SIP/callcentric.com-00000018”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“SIP/callcentric.com-00000018”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:6] GosubIf(“SIP/callcentric.com-00000018”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:7] GotoIf(“SIP/callcentric.com-00000018”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,10)
– Executing [s@macro-dial-one:10] GotoIf(“SIP/callcentric.com-00000018”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“SIP/callcentric.com-00000018”, “0?continue”) in new stack
– Executing [s@macro-dial-one:12] Set(“SIP/callcentric.com-00000018”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:13] GotoIf(“SIP/callcentric.com-00000018”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“SIP/callcentric.com-00000018”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,27)
– Executing [s@macro-dial-one:27] GotoIf(“SIP/callcentric.com-00000018”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GosubIf(“SIP/callcentric.com-00000018”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“SIP/callcentric.com-00000018”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/callcentric.com-00000018”, “DEVICES=149”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“SIP/callcentric.com-00000018”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(DEVICES=49)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“SIP/callcentric.com-00000018”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“SIP/callcentric.com-00000018”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/callcentric.com-00000018”, “THISDIAL=PJSIP/149”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“SIP/callcentric.com-00000018”, “1?zap2dahdi,1()”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/callcentric.com-00000018”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/callcentric.com-00000018”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/callcentric.com-00000018”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/callcentric.com-00000018”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/callcentric.com-00000018”, “THISPART2=PJSIP/149”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(THISPART2=DAHDIIP/149)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/callcentric.com-00000018”, “NEWDIAL=PJSIP/149&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/callcentric.com-00000018”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/callcentric.com-00000018”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/callcentric.com-00000018”, “THISDIAL=PJSIP/149”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [dstring@macro-dial-one:9] GotoIf(“SIP/callcentric.com-00000018”, “0?docheck”) in new stack
– Executing [dstring@macro-dial-one:10] NoOp(“SIP/callcentric.com-00000018”, “Debug: Found PJSIP Destination PJSIP/149”) in new stack
– Executing [dstring@macro-dial-one:11] GotoIf(“SIP/callcentric.com-00000018”, “0?doset”) in new stack
– Executing [dstring@macro-dial-one:12] NoOp(“SIP/callcentric.com-00000018”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
– Executing [dstring@macro-dial-one:13] Set(“SIP/callcentric.com-00000018”, “THISDIAL=PJSIP/149/sip:[email protected]:5060”) in new stack
– Executing [dstring@macro-dial-one:14] GotoIf(“SIP/callcentric.com-00000018”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:15] Set(“SIP/callcentric.com-00000018”, “DSTRING=PJSIP/149/sip:[email protected]:5060&”) in new stack
– Executing [dstring@macro-dial-one:16] Set(“SIP/callcentric.com-00000018”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:17] GotoIf(“SIP/callcentric.com-00000018”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:18] ExecIf(“SIP/callcentric.com-00000018”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:19] Set(“SIP/callcentric.com-00000018”, “DSTRING=PJSIP/149/sip:[email protected]:5060”) in new stack
– Executing [dstring@macro-dial-one:20] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [s@macro-dial-one:29] GotoIf(“SIP/callcentric.com-00000018”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:30] GotoIf(“SIP/callcentric.com-00000018”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:31] GosubIf(“SIP/callcentric.com-00000018”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“SIP/callcentric.com-00000018”, “DB(CALLTRACE/149)=+192xxxxxxxxxx”) in new stack
– Executing [ctset@macro-dial-one:2] Return(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [s@macro-dial-one:32] Set(“SIP/callcentric.com-00000018”, “D_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dial-one:33] NoOp(“SIP/callcentric.com-00000018”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
– Executing [s@macro-dial-one:34] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:35] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:37] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:38] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:39] GosubIf(“SIP/callcentric.com-00000018”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:40] ExecIf(“SIP/callcentric.com-00000018”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:41] GosubIf(“SIP/callcentric.com-00000018”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:42] Set(“SIP/callcentric.com-00000018”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:43] Set(“SIP/callcentric.com-00000018”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:44] GotoIf(“SIP/callcentric.com-00000018”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:45] GotoIf(“SIP/callcentric.com-00000018”, “1?godial”) in new stack
– Goto (macro-dial-one,s,50)
– Executing [s@macro-dial-one:50] Macro(“SIP/callcentric.com-00000018”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [s@macro-dial-one:51] ExecIf(“SIP/callcentric.com-00000018”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
– Executing [s@macro-dial-one:52] NoOp(“SIP/callcentric.com-00000018”, “”) in new stack
– Executing [s@macro-dial-one:53] Dial(“SIP/callcentric.com-00000018”, “PJSIP/149/sip:[email protected]:5060,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/149-00000011 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“PJSIP/149-00000011”, “1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“PJSIP/149-00000011”, “Applying SIP Headers to channel”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/149-00000011”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/149-00000011”, “0”) in new stack
– Jumping to priority 8
– Executing [s@func-apply-sipheaders:9] Return(“PJSIP/149-00000011”, “”) in new stack
== Spawn extension (from-internal, 149, 1) exited non-zero on ‘PJSIP/149-00000011’
– PJSIP/149-00000011 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/149/sip:[email protected]:5060

It looks like it.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.