Cant Make Call using callcentric

Hi all. 8 hrs is enough trying.

I have a call centric account that registers. I am using the latest Freepbx install.

I cant make outbound calls despite having trunks and routes setup. I get a "cannot be completed as dialed. Here is the logfile for the call. Any thoughts?

[2018-06-22 00:41:07] VERBOSE[2401] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘192.168.1.106’
[2018-06-22 00:41:07] VERBOSE[2401] netsock2.c: Using SIP RTP Audio TOS bits 184
[2018-06-22 00:41:07] VERBOSE[2401] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2018-06-22 00:41:07] VERBOSE[2401] netsock2.c: Using SIP RTP Audio CoS mark 5
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [9106425168@from-internal:1] Macro(“PJSIP/5-00000003”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/5-00000003”, “TOUCH_MONITOR=1529628067.6”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/5-00000003”, “AMPUSER=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“PJSIP/5-00000003”, “0?report”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“PJSIP/5-00000003”, “1?Set(REALCALLERIDNUM=5)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/5-00000003”, “AMPUSER=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“PJSIP/5-00000003”, “0?limit”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/5-00000003”, “AMPUSERCIDNAME=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“PJSIP/5-00000003”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“PJSIP/5-00000003”, “1?report”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,16)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“PJSIP/5-00000003”, “Macro Depth is 1”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/5-00000003”, “1?report2:macroerror”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“PJSIP/5-00000003”, “1?continue”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:37] Set(“PJSIP/5-00000003”, “CALLERID(number)=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:38] Set(“PJSIP/5-00000003”, “CALLERID(name)=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“PJSIP/5-00000003”, “0?cnum”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:40] Set(“PJSIP/5-00000003”, “CDR(cnam)=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:41] Set(“PJSIP/5-00000003”, “CDR(cnum)=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-user-callerid:42] Set(“PJSIP/5-00000003”, “CHANNEL(language)=en”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [9106425168@from-internal:2] Gosub(“PJSIP/5-00000003”, “sub-record-check,s,1(out,9106425168,dontcare)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/5-00000003”, “0?initialized”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/5-00000003”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/5-00000003”, “NOW=1529628067”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/5-00000003”, “__DAY=22”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/5-00000003”, “__MONTH=06”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/5-00000003”, “__YEAR=2018”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/5-00000003”, “__TIMESTR=20180622-004107”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/5-00000003”, “__FROMEXTEN=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/5-00000003”, “__MON_FMT=wav”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/5-00000003”, “Recordings initialized”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/5-00000003”, “0?Set(ARG3=dontcare)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/5-00000003”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/5-00000003”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/5-00000003”, “3?checkaction”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (sub-record-check,s,17)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/5-00000003”, “1?sub-record-check,out,1”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (sub-record-check,out,1)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/5-00000003”, “Outbound Recording Check from 5 to 9106425168”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/5-00000003”, “RECMODE=dontcare”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/5-00000003”, “1?Goto(routewins)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (sub-record-check,out,7)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/5-00000003”, “recordcheck,1(dontcare,out,9106425168)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/5-00000003”, “Starting recording check against dontcare”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/5-00000003”, “dontcare”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/5-00000003”, “”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/5-00000003”, “”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [9106425168@from-internal:3] ExecIf(“PJSIP/5-00000003”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [9106425168@from-internal:4] Set(“PJSIP/5-00000003”, “MOHCLASS=default”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [9106425168@from-internal:5] Set(“PJSIP/5-00000003”, “_NODEST=”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [9106425168@from-internal:6] Macro(“PJSIP/5-00000003”, “dialout-trunk,1,106425168,off”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/5-00000003”, “DIAL_TRUNK=1”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:2] GosubIf(“PJSIP/5-00000003”, “0?sub-pincheck,s,1()”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:3] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERID(num)=5)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:4] GotoIf(“PJSIP/5-00000003”, “0?disabletrunk,1”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:5] Set(“PJSIP/5-00000003”, “DIAL_NUMBER=106425168”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/5-00000003”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/5-00000003”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/5-00000003”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf(“PJSIP/5-00000003”, “0?nomax”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/5-00000003”, “0?chanfull”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf(“PJSIP/5-00000003”, “0?skipoutcid”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:12] Macro(“PJSIP/5-00000003”, “outbound-callerid,1”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/5-00000003”, “5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/5-00000003”, “”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/5-00000003”, “off”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“PJSIP/5-00000003”, “1?Set(REALCALLERIDNUM=5)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:7] GotoIf(“PJSIP/5-00000003”, “1?normcid”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (macro-outbound-callerid,s,11)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“PJSIP/5-00000003”, “USEROUTCID=”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“PJSIP/5-00000003”, “EMERGENCYCID=”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“PJSIP/5-00000003”, “TRUNKOUTCID=”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:14] GotoIf(“PJSIP/5-00000003”, “1?trunkcid”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (macro-outbound-callerid,s,19)
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERID(all)=)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERID(all)=)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERID(all)=)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/5-00000003”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:24] Set(“PJSIP/5-00000003”, “CDR(outbound_cnum)=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-outbound-callerid:25] Set(“PJSIP/5-00000003”, “CDR(outbound_cnam)=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:13] GosubIf(“PJSIP/5-00000003”, “0?sub-flp-1,s,1()”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:14] Set(“PJSIP/5-00000003”, “OUTNUM=106425168”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/5-00000003”, “custom=SIP/callcentric”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf(“PJSIP/5-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/5-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:18] Macro(“PJSIP/5-00000003”, “dialout-trunk-predial-hook,”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/5-00000003”, “”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:19] GotoIf(“PJSIP/5-00000003”, “0?skipcrm”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:20] Set(“PJSIP/5-00000003”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“PJSIP/5-00000003”, “__CRM_DESTINATION=106425168”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“PJSIP/5-00000003”, “__CRM_SOURCE=5”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:23] AGI(“PJSIP/5-00000003”, “sangomacrm.agi”) in new stack
[2018-06-22 00:41:07] VERBOSE[13061][C-00000003] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] res_agi.c: <PJSIP/5-00000003>AGI Script sangomacrm.agi completed, returning 0
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:24] Set(“PJSIP/5-00000003”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:25] NoOp(“PJSIP/5-00000003”, “CRM Finished”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:26] GotoIf(“PJSIP/5-00000003”, “0?bypass,1”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:27] ExecIf(“PJSIP/5-00000003”, “1?Set(CONNECTEDLINE(num,i)=106425168)”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“PJSIP/5-00000003”, “1?Set(CONNECTEDLINE(name,i)=CID:5)”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“PJSIP/5-00000003”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5)”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:30] GotoIf(“PJSIP/5-00000003”, “0?customtrunk”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:31] Dial(“PJSIP/5-00000003”, “SIP/callcentric/106425168,300,Tb(func-apply-sipheaders^s^1)”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] netsock2.c: Using SIP RTP TOS bits 184
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] netsock2.c: Using SIP RTP CoS mark 5
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_stack.c: SIP/callcentric-00000003 Internal Gosub(func-apply-sipheaders,s,1) start
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/callcentric-00000003”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“SIP/callcentric-00000003”, “Applying SIP Headers to channel”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/callcentric-00000003”, “SIPHEADERKEYS=”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:4] While(“SIP/callcentric-00000003”, “0”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_while.c: Jumping to priority 8
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:9] Return(“SIP/callcentric-00000003”, “”) in new stack
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_stack.c: Spawn extension (from-pstn, 9106425168, 1) exited non-zero on ‘SIP/callcentric-00000003’
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_stack.c: SIP/callcentric-00000003 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_dial.c: Called SIP/callcentric/106425168
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_dial.c: SIP/callcentric-00000003 is making progress passing it to PJSIP/5-00000003
[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] app_dial.c: SIP/callcentric-00000003 is making progress passing it to PJSIP/5-00000003
[2018-06-22 00:41:09] VERBOSE[13061][C-00000003] app_dial.c: SIP/callcentric-00000003 is making progress passing it to PJSIP/5-00000003
[2018-06-22 00:41:11] VERBOSE[13061][C-00000003] app_dial.c: SIP/callcentric-00000003 is making progress passing it to PJSIP/5-00000003
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] app_macro.c: Spawn extension (macro-dialout-trunk, s, 31) exited non-zero on ‘PJSIP/5-00000003’ in macro ‘dialout-trunk’
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Spawn extension (from-internal, 9106425168, 6) exited non-zero on ‘PJSIP/5-00000003’
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/5-00000003”, “hangupcall”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/5-00000003”, “1?theend”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/5-00000003”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/5-00000003”, "SIP/callcentric-00000003 monior file= ") in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-hangupcall:5] AGI(“PJSIP/5-00000003”, “attendedtransfer-rec-restart.php,SIP/callcentric-00000003,”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] res_agi.c: <PJSIP/5-00000003>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/5-00000003”, “”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/5-00000003’ in macro ‘hangupcall’
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/5-00000003’
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] app_stack.c: PJSIP/5-00000003 Internal Gosub(crm-hangup,s,1) start
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:1] NoOp(“PJSIP/5-00000003”, “Sending Hangup to CRM”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:2] NoOp(“PJSIP/5-00000003”, “HANGUP CAUSE: 127”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:3] ExecIf(“PJSIP/5-00000003”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:4] NoOp(“PJSIP/5-00000003”, “MASTER CHANNEL: 1529628067.6 = 1529628067.6”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:5] GotoIf(“PJSIP/5-00000003”, “0?return”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:6] Set(“PJSIP/5-00000003”, “__CRM_HANGUP=1”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:7] AGI(“PJSIP/5-00000003”, “sangomacrm.agi”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] res_agi.c: <PJSIP/5-00000003>AGI Script sangomacrm.agi completed, returning 0
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] pbx.c: Executing [s@crm-hangup:8] Return(“PJSIP/5-00000003”, “”) in new stack
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/5-00000003’
[2018-06-22 00:41:12] VERBOSE[13061][C-00000003] app_stack.c: PJSIP/5-00000003 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

[2018-06-22 00:41:08] VERBOSE[13061][C-00000003] pbx.c: Executing [s@macro-dialout-trunk:31] Dial(“PJSIP/5-00000003”, “SIP/callcentric/106425168,300,Tb(func-apply-sipheaders^s^1)”) in new stack

This is not a valid NANP number, where are you?

I am in area code 910 – the number is 910642XXXX - and it lists that … but I noticed it is missing the 9 in other places in the log. A prefix issue?

You must have a dial pattern in the outbound route or trunk that’s stripping the 9.

Here is the result from a 704 area code… Is the sip domain look right? An internal IP?

[2018-06-22 01:32:01] VERBOSE[2368] asterisk.c: Remote UNIX connection
[2018-06-22 01:32:01] VERBOSE[17721] asterisk.c: Remote UNIX connection disconnected
[2018-06-22 01:32:01] VERBOSE[2368] asterisk.c: Remote UNIX connection
[2018-06-22 01:32:01] VERBOSE[17723] asterisk.c: Remote UNIX connection disconnected
[2018-06-22 01:32:01] VERBOSE[2368] asterisk.c: Remote UNIX connection
[2018-06-22 01:32:01] VERBOSE[17725] asterisk.c: Remote UNIX connection disconnected
[2018-06-22 02:24:02] VERBOSE[2401] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘192.168.1.106’
[2018-06-22 02:24:02] VERBOSE[2401] netsock2.c: Using SIP RTP Audio TOS bits 184
[2018-06-22 02:24:02] VERBOSE[2401] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2018-06-22 02:24:02] VERBOSE[2401] netsock2.c: Using SIP RTP Audio CoS mark 5
[2018-06-22 02:24:02] VERBOSE[21918][C-00000006] pbx.c: Executing [7045551212@from-internal:1] ResetCDR(“PJSIP/5-00000006”, “”) in new stack
[2018-06-22 02:24:02] VERBOSE[21918][C-00000006] pbx.c: Executing [7045551212@from-internal:2] NoCDR(“PJSIP/5-00000006”, “”) in new stack
[2018-06-22 02:24:02] VERBOSE[21918][C-00000006] pbx.c: Executing [7045551212@from-internal:3] Progress(“PJSIP/5-00000006”, “”) in new stack
[2018-06-22 02:24:02] VERBOSE[21918][C-00000006] pbx.c: Executing [7045551212@from-internal:4] Wait(“PJSIP/5-00000006”, “1”) in new stack
[2018-06-22 02:24:03] VERBOSE[21918][C-00000006] pbx.c: Executing [7045551212@from-internal:5] Playback(“PJSIP/5-00000006”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2018-06-22 02:24:03] VERBOSE[21918][C-00000006] file.c: <PJSIP/5-00000006> Playing ‘silence/1.ulaw’ (language ‘en’)
[2018-06-22 02:24:04] VERBOSE[21918][C-00000006] file.c: <PJSIP/5-00000006> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] file.c: <PJSIP/5-00000006> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/5-00000006”, “hangupcall”) in new stack
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/5-00000006”, “1?theend”) in new stack
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/5-00000006”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/5-00000006”, " monior file= ") in new stack
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Executing [s@macro-hangupcall:5] AGI(“PJSIP/5-00000006”, “attendedtransfer-rec-restart.php,”) in new stack
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] res_agi.c: <PJSIP/5-00000006>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/5-00000006”, “”) in new stack
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/5-00000006’ in macro ‘hangupcall’
[2018-06-22 02:24:07] VERBOSE[21918][C-00000006] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/5-00000006’

Your Outbound Route appears to be set up to require 9 to be dialed before outside numbers. Unless you have a special reason for this (compatibility with a legacy system that you are replacing), it should probably be changed. With your existing settings, try dialing 919106425168. (This format may conflict with the dial plan in your IP phone; try entering the digits with the phone on-hook and then pressing the speaker key.)

For Callcentric, a suitable Outbound Route would have these dial patterns:

This is simplified and does not include Callcentric-specific entries for retrieving voicemail and other services.
It also does not permit 7-digit dialing within your area code (IMO allowing both 7- and 10-digit dialing is not a good idea).

With the patterns above, you should be able to dial 9106425168 or 19106425168.

You were absolutely correct. 919106425168 worked. I’ll update the call patterns and thank you so much for your help.

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