Thanks for your reply.
Given the log trace below I can see that my test CID (12345678900) makes it most the way through, but I don’t know why it doesn’t get through to the outside SIP provider and onto the pstn.
Perhaps it is making it outside my network correctly but I don’t have the knowledge to determine that. Can someone please confirm?
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/105-00000003”, “AMPUSERCID=105”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/105-00000003”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/105-00000003”, “CALLERID(all)=“Sean #2” <105>”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERID(all)=EXTERNAL)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/105-00000003”, “0?limit”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/105-00000003”, “1?Set(GROUP(concurrency_limit)=105)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:16] ExecIf(“PJSIP/105-00000003”, “0?Set(CHANNEL(language)=)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:17] NoOp(“PJSIP/105-00000003”, “Macro Depth is 1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“PJSIP/105-00000003”, “1?report2:macroerror”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,19)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/105-00000003”, “1?continue”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,38)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:38] Set(“PJSIP/105-00000003”, “CALLERID(number)=105”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:39] Set(“PJSIP/105-00000003”, “CALLERID(name)=Sean #2”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:40] GotoIf(“PJSIP/105-00000003”, “0?cnum”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:41] Set(“PJSIP/105-00000003”, “CDR(cnam)=Sean #2”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:42] Set(“PJSIP/105-00000003”, “CDR(cnum)=105”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-user-callerid:43] Set(“PJSIP/105-00000003”, “CHANNEL(language)=en_GB”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [9447342052440@from-internal:2] Gosub(“PJSIP/105-00000003”, “sub-record-check,s,1(out,9447342052440,dontcare)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/105-00000003”, “0?initialized”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/105-00000003”, “__REC_STATUS=INITIALIZED”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/105-00000003”, “NOW=1574936703”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/105-00000003”, “__DAY=28”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/105-00000003”, “__MONTH=11”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/105-00000003”, “__YEAR=2019”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/105-00000003”, “__TIMESTR=20191128-102503”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/105-00000003”, “__FROMEXTEN=105”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/105-00000003”, “__MON_FMT=wav”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/105-00000003”, “Recordings initialized”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/105-00000003”, “0?Set(ARG3=dontcare)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/105-00000003”, “REC_POLICY_MODE_SAVE=”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/105-00000003”, “0?Set(REC_STATUS=NO)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/105-00000003”, “3?checkaction”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (sub-record-check,s,17)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/105-00000003”, “1?sub-record-check,out,1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (sub-record-check,out,1)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/105-00000003”, “Outbound Recording Check from 105 to 9447342052440”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/105-00000003”, “RECMODE=dontcare”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/105-00000003”, “1?Goto(routewins)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (sub-record-check,out,7)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/105-00000003”, “recordcheck,1(dontcare,out,9447342052440)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/105-00000003”, “Starting recording check against dontcare”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/105-00000003”, “dontcare”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/105-00000003”, “”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/105-00000003”, “”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [9447342052440@from-internal:3] ExecIf(“PJSIP/105-00000003”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [9447342052440@from-internal:4] Set(“PJSIP/105-00000003”, “ROUTE_CIDSAVE=“Sean #2” <105>”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [9447342052440@from-internal:5] Set(“PJSIP/105-00000003”, “MOHCLASS=default”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [9447342052440@from-internal:6] Set(“PJSIP/105-00000003”, “_NODEST=”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [9447342052440@from-internal:7] Macro(“PJSIP/105-00000003”, “dialout-trunk,1,447342052440,off”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/105-00000003”, “DIAL_TRUNK=1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/105-00000003”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/105-00000003”, “0?sub-pincheck,s,1()”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERID(num)=105)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/105-00000003”, “0?disabletrunk,1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/105-00000003”, “DIAL_NUMBER=447342052440”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/105-00000003”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/105-00000003”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/105-00000003”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/105-00000003”, “1?nomax”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/105-00000003”, “0?skipoutcid”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/105-00000003”, “outbound-callerid,1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/105-00000003”, “105”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/105-00000003”, “”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/105-00000003”, “off”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“PJSIP/105-00000003”, “0?Set(REALCALLERIDNUM=105)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf(“PJSIP/105-00000003”, “0?Set(AMPUSER=105)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf(“PJSIP/105-00000003”, “1?normcid”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“PJSIP/105-00000003”, “USEROUTCID=<12345678900>”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“PJSIP/105-00000003”, “EMERGENCYCID=”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:14] Set(“PJSIP/105-00000003”, “TRUNKOUTCID=01157351119”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf(“PJSIP/105-00000003”, “1?trunkcid”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx_builtins.c: Goto (macro-outbound-callerid,s,21)
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“PJSIP/105-00000003”, “1?Set(CALLERID(all)=01157351119)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/105-00000003”, “1?Set(CALLERID(all)=<12345678900>)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERID(all)=)”) in new stack
[2019-11-28 10:25:03] WARNING[16082][C-00000003] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:
= 1 & 0 = 0
^
[2019-11-28 10:25:03] WARNING[16082][C-00000003] ast_expr2.fl: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“PJSIP/105-00000003”, “?Set(CALLERID(all)=105)”) in new stack
[2019-11-28 10:25:03] WARNING[16082][C-00000003] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:
= 1 & 0 = 0
^
[2019-11-28 10:25:03] WARNING[16082][C-00000003] ast_expr2.fl: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:26] ExecIf(“PJSIP/105-00000003”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:27] Set(“PJSIP/105-00000003”, “CDR(outbound_cnum)=12345678900”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:28] Set(“PJSIP/105-00000003”, “CDR(outbound_cnam)=”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/105-00000003”, “1?sub-flp-1,s,1()”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-flp-1:1] ExecIf(“PJSIP/105-00000003”, “0?Set(TARGET_FLP_1=44447342052440)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-flp-1:2] GotoIf(“PJSIP/105-00000003”, “0?match”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-flp-1:3] ExecIf(“PJSIP/105-00000003”, “0?Return()”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@sub-flp-1:4] Return(“PJSIP/105-00000003”, “”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/105-00000003”, “OUTNUM=447342052440”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/105-00000003”, “custom=SIP/didlogic”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/105-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/105-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/105-00000003”, “dialout-trunk-predial-hook,”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/105-00000003”, “”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/105-00000003”, “0?skipcrm”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“PJSIP/105-00000003”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“PJSIP/105-00000003”, “__CRM_DESTINATION=447342052440”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“PJSIP/105-00000003”, “__CRM_SOURCE=105”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:24] AGI(“PJSIP/105-00000003”, “sangomacrm.agi”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] res_agi.c: <PJSIP/105-00000003>AGI Script sangomacrm.agi completed, returning 0
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“PJSIP/105-00000003”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“PJSIP/105-00000003”, “CRM Finished”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“PJSIP/105-00000003”, “0?bypass,1”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“PJSIP/105-00000003”, “1?Set(CONNECTEDLINE(num,i)=447342052440)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“PJSIP/105-00000003”, “1?Set(CONNECTEDLINE(name,i)=CID:12345678900)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“PJSIP/105-00000003”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)12345678900)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“PJSIP/105-00000003”, “0?customtrunk”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf(“PJSIP/105-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:33] Dial(“PJSIP/105-00000003”, “SIP/didlogic/447342052440,300,Tb(func-apply-sipheaders^s^1,(1))”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] netsock2.c: Using SIP RTP TOS bits 184
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] netsock2.c: Using SIP RTP CoS mark 5
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] app_stack.c: SIP/didlogic-00000003 Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/didlogic-00000003”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“SIP/didlogic-00000003”, “Applying SIP Headers to channel SIP/didlogic-00000003”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/didlogic-00000003”, “TECH=SIP”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“SIP/didlogic-00000003”, “SIPHEADERKEYS=”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/didlogic-00000003”, “0”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] app_while.c: Jumping to priority 13
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:14] Return(“SIP/didlogic-00000003”, “”) in new stack
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] app_stack.c: Spawn extension (from-trunk-sip-didlogic, 9447342052440, 1) exited non-zero on ‘SIP/didlogic-00000003’
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] app_stack.c: SIP/didlogic-00000003 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] chan_sip.c: Audio is at 16242
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] chan_sip.c: Adding codec ulaw to SDP
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2019-11-28 10:25:03] VERBOSE[16082][C-00000003] chan_sip.c: Reliably Transmitting (NAT) to 83.222.249.39:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.xx.31.196:5160;branch=z9hG4bK3fdc3fc2;rport
Max-Forwards: 70
From: <sip:[email protected]:5160>;tag=as4fc98a18
To: <sip:[email protected]>
Contact: <sip:[email protected]:5160>
Call-ID: [email protected]:5160
CSeq: 102 INVITE
User-Agent: FPBX-14.0.13.12(13.29.2)
Date: Thu, 28 Nov 2019 10:25:03 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
P-Asserted-Identity: “12345678900” <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 240