Help with log file. Somehow my subaccount is sometimes used instead of DID

I have an unlimited plan with Vitelity. For some reason after updating a bunch of settings, my subaccount credentials are being used for outgoing calls.

Vitelity says:
“you appear to be placing outbound calls that are passing your Sub Account credentials instead of a valid 10 digit DID number. We do recommend that you place outbound calls using a valid 10 digit DID number as the caller ID”

I am not an expert with the logfile. Below is a sample call where I was charged bc the call used my subaccount. I dont see where the problem is. :thinking:
[2020-11-03 09:58:49] VERBOSE[10221] netsock2.c: Using SIP RTP TOS bits 184
[2020-11-03 09:58:49] VERBOSE[10221] netsock2.c: Using SIP RTP CoS mark 5
[2020-11-03 09:58:49] VERBOSE[10222] dial.c: Called 704
[2020-11-03 09:58:49] VERBOSE[10222] dial.c: SIP/704-00000a3c is ringing
[2020-11-03 09:58:49] VERBOSE[10222] dial.c: SIP/704-00000a3c is ringing
[2020-11-03 09:58:50] VERBOSE[10222] dial.c: SIP/704-00000a3c answered
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:1] Macro(“SIP/704-00000a3c”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/704-00000a3c”, “TOUCH_MONITOR=1604415529.2644”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/704-00000a3c”, “AMPUSER=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:3] Set(“SIP/704-00000a3c”, “HOTDESCKCHAN=704-00000a3c”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:4] Set(“SIP/704-00000a3c”, “HOTDESKEXTEN=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/704-00000a3c”, “HOTDESKCALL=0”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“SIP/704-00000a3c”, “0?Set(HOTDESKCALL=1)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(name)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/704-00000a3c”, “0?report”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“SIP/704-00000a3c”, “1?Set(REALCALLERIDNUM=704)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/704-00000a3c”, “AMPUSER=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“SIP/704-00000a3c”, “0?limit”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/704-00000a3c”, “AMPUSERCIDNAME=2A-Roy-6730”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“SIP/704-00000a3c”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“SIP/704-00000a3c”, “0?report”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:15] Set(“SIP/704-00000a3c”, “AMPUSERCID=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:16] Set(“SIP/704-00000a3c”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:17] Set(“SIP/704-00000a3c”, “CALLERID(all)=“2A-Roy-6730” <704>”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:18] Set(“SIP/704-00000a3c”, “HOTDESCKCHAN=704-00000a3c”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:19] Set(“SIP/704-00000a3c”, “HOTDESKEXTEN=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:20] Set(“SIP/704-00000a3c”, “HOTDESKCALL=0”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:21] ExecIf(“SIP/704-00000a3c”, “0?Set(HOTDESKCALL=1)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:22] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(name)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:23] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(all)=”" < >)") in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:24] ExecIf(“SIP/704-00000a3c”, “0?Set(CUSDIAL=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:25] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(all)=“2A-Roy-6730” <704>)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:26] GotoIf(“SIP/704-00000a3c”, “0?limit”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:27] ExecIf(“SIP/704-00000a3c”, “1?Set(GROUP(concurrency_limit)=704)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:28] ExecIf(“SIP/704-00000a3c”, “0?Set(CHANNEL(language)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:29] NoOp(“SIP/704-00000a3c”, “Macro Depth is 1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:30] GotoIf(“SIP/704-00000a3c”, “1?report2:macroerror”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (macro-user-callerid,s,31)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“SIP/704-00000a3c”, “1?continue”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (macro-user-callerid,s,50)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:50] Set(“SIP/704-00000a3c”, “CALLERID(number)=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:51] Set(“SIP/704-00000a3c”, “CALLERID(name)=2A-Roy-6730”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:52] GotoIf(“SIP/704-00000a3c”, “0?cnum”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:53] Set(“SIP/704-00000a3c”, “CDR(cnam)=2A-Roy-6730”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:54] Set(“SIP/704-00000a3c”, “CDR(cnum)=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-user-callerid:55] Set(“SIP/704-00000a3c”, “CHANNEL(language)=en”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:2] Gosub(“SIP/704-00000a3c”, “sub-record-check,s,1(out,6109352657,dontcare)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/704-00000a3c”, “0?initialized”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/704-00000a3c”, “__REC_STATUS=INITIALIZED”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/704-00000a3c”, “NOW=1604415530”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/704-00000a3c”, “__DAY=03”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/704-00000a3c”, “__MONTH=11”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/704-00000a3c”, “__YEAR=2020”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/704-00000a3c”, “__TIMESTR=20201103-095850”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/704-00000a3c”, “__FROMEXTEN=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/704-00000a3c”, “__MON_FMT=wav”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/704-00000a3c”, “Recordings initialized”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/704-00000a3c”, “0?Set(ARG3=dontcare)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/704-00000a3c”, “REC_POLICY_MODE_SAVE=”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/704-00000a3c”, “0?Set(REC_STATUS=NO)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/704-00000a3c”, “3?checkaction”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (sub-record-check,s,17)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/704-00000a3c”, “1?sub-record-check,out,1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (sub-record-check,out,1)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/704-00000a3c”, “Outbound Recording Check from 704 to 6109352657”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/704-00000a3c”, “RECMODE=dontcare”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/704-00000a3c”, “1?Goto(routewins)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (sub-record-check,out,7)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/704-00000a3c”, “recordcheck,1(dontcare,out,6109352657)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/704-00000a3c”, “Starting recording check against dontcare”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/704-00000a3c”, “dontcare”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/704-00000a3c”, “”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/704-00000a3c”, “”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:3] ExecIf(“SIP/704-00000a3c”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:4] Set(“SIP/704-00000a3c”, “_ROUTEID=1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:5] Set(“SIP/704-00000a3c”, “_ROUTENAME=outbound”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:6] Set(“SIP/704-00000a3c”, “MOHCLASS=default”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:7] Set(“SIP/704-00000a3c”, “_CALLERIDNAMEINTERNAL=2A-Roy-6730”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:8] Set(“SIP/704-00000a3c”, “_CALLERIDNUMINTERNAL=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:9] Set(“SIP/704-00000a3c”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:10] Set(“SIP/704-00000a3c”, “_NODEST=”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [6109352657@from-internal:11] Macro(“SIP/704-00000a3c”, “dialout-trunk,1,6109352657,on”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/704-00000a3c”, “DIAL_TRUNK=1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/704-00000a3c”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/704-00000a3c”, “0?sub-pincheck,s,1()”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(num)=704)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/704-00000a3c”, “0?disabletrunk,1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/704-00000a3c”, “DIAL_NUMBER=6109352657”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“SIP/704-00000a3c”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“SIP/704-00000a3c”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“SIP/704-00000a3c”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/704-00000a3c”, “1?nomax”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/704-00000a3c”, “0?skipoutcid”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“SIP/704-00000a3c”, “outbound-callerid,1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“SIP/704-00000a3c”, “704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“SIP/704-00000a3c”, “”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“SIP/704-00000a3c”, “off”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“SIP/704-00000a3c”, “HOTDESCKCHAN=704-00000a3c”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“SIP/704-00000a3c”, “HOTDESKEXTEN=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“SIP/704-00000a3c”, “HOTDESKCALL=0”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“SIP/704-00000a3c”, “0?Set(HOTDESKCALL=1)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(name)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“SIP/704-00000a3c”, “ALLOWTHISROUTE=NO”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/704-00000a3c”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/704-00000a3c”, “0?Hangup()”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/704-00000a3c”, “0?Set(REALCALLERIDNUM=704)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/704-00000a3c”, “0?Set(AMPUSER=704)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“SIP/704-00000a3c”, “1?normcid”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“SIP/704-00000a3c”, “USEROUTCID=”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“SIP/704-00000a3c”, “EMERGENCYCID=”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/704-00000a3c”, “0?Set(EMERGENCYCID=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:23] Set(“SIP/704-00000a3c”, “TRUNKOUTCID=6109487000”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf(“SIP/704-00000a3c”, “1?trunkcid”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf(“SIP/704-00000a3c”, “1?Set(CALLERID(all)=6109487000)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(all)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(all)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERID(all)=704)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:34] Set(“SIP/704-00000a3c”, “TIOHIDE=no”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf(“SIP/704-00000a3c”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:39] Set(“SIP/704-00000a3c”, “CDR(outbound_cnum)=6109487000”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-outbound-callerid:40] Set(“SIP/704-00000a3c”, “CDR(outbound_cnam)=”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/704-00000a3c”, “1?sub-flp-1,s,1()”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-flp-1:1] ExecIf(“SIP/704-00000a3c”, “0?Return()”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@sub-flp-1:2] ExecIf(“SIP/704-00000a3c”, “1?Return()”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/704-00000a3c”, “OUTNUM=6109352657”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“SIP/704-00000a3c”, “custom=SIP/ vitel-outbound”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/704-00000a3c”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/704-00000a3c”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“SIP/704-00000a3c”, “dialout-trunk-predial-hook,”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/704-00000a3c”, “”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/704-00000a3c”, “0?skipcrm”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“SIP/704-00000a3c”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/704-00000a3c”, “__CRM_DESTINATION=6109352657”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“SIP/704-00000a3c”, “__CRM_SOURCE=704”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:24] AGI(“SIP/704-00000a3c”, “sangomacrm.agi”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] res_agi.c: <SIP/704-00000a3c>AGI Script sangomacrm.agi completed, returning 0
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“SIP/704-00000a3c”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“SIP/704-00000a3c”, “CRM Finished”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/704-00000a3c”, “0?bypass,1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/704-00000a3c”, “1?Set(CONNECTEDLINE(num,i)=6109352657)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“SIP/704-00000a3c”, “1?Set(CONNECTEDLINE(name,i)=CID:6109487000)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“SIP/704-00000a3c”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)6109487000)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“SIP/704-00000a3c”, “0?customtrunk”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf(“SIP/704-00000a3c”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:33] Set(“SIP/704-00000a3c”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/704-00000a3c”, “SIP/ vitel-outbound/6109352657,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^6109352657^6109352657^1^1604415530^^6109487000)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] netsock2.c: Using SIP RTP TOS bits 184
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] netsock2.c: Using SIP RTP CoS mark 5
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] app_stack.c: SIP/ vitel-outbound-00000a3d Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/ vitel-outbound-00000a3d”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“SIP/ vitel-outbound-00000a3d”, “Applying SIP Headers to channel SIP/ vitel-outbound-00000a3d”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/ vitel-outbound-00000a3d”, “TECH=SIP”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“SIP/ vitel-outbound-00000a3d”, “SIPHEADERKEYS=Alert-Info”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/ vitel-outbound-00000a3d”, “1”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:6] Set(“SIP/ vitel-outbound-00000a3d”, “sipheader=unset”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf(“SIP/ vitel-outbound-00000a3d”, “1?SIPRemoveHeader(Alert-Info:)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf(“SIP/ vitel-outbound-00000a3d”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf(“SIP/ vitel-outbound-00000a3d”, “0?Set(sipheader=<http://127.0.0.1>;info=unset)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“SIP/ vitel-outbound-00000a3d”, “0?Set(sipheader=<http://127.0.0.1>unset)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:11] ExecIf(“SIP/ vitel-outbound-00000a3d”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:12] ExecIf(“SIP/ vitel-outbound-00000a3d”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:13] EndWhile(“SIP/ vitel-outbound-00000a3d”, “”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/ vitel-outbound-00000a3d”, “0”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] pbx.c: Executing [s@func-apply-sipheaders:14] Return(“SIP/ vitel-outbound-00000a3d”, “”) in new stack
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] app_stack.c: Spawn extension (from-trunk, 6109352657, 1) exited non-zero on ‘SIP/ vitel-outbound-00000a3d’
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] app_stack.c: SIP/ vitel-outbound-00000a3d Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2020-11-03 09:58:50] VERBOSE[10222][C-00000451] app_dial.c: Called SIP/ vitel-outbound/6109352657
[2020-11-03 09:58:52] VERBOSE[10222][C-00000451] app_dial.c: SIP/ vitel-outbound-00000a3d is ringing

i realize pasting a lengthy log file to analyze is annoying. My apologies.

the short question:
where do I ensure that I am passing my DID number as the caller id?

Posting a pastebin link or using preformatted text helps…

Posting a lengthy log full of extraneous stuff is a quick way to stop people from looking. In my waning years, I have learned a great deal of zen when it comes to helping people with technology problems, but there’s nothing that will make me want to f**k a b***h up faster than an hour of logs that might or might not have the information we need to identify the problem.

Haha. I know! I am extremely grateful for the expertise on this forum!

:+1:

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