here is the updated log file i will be putting it in debug mode i have also attached a screenshot of my sip endpoint settings in this reply
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/251-00000019”, “RC=28”) in new stack
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/251-00000019”, “28,1”) in new stack
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx_builtins.c: Goto (macro-dialout-trunk,28,1)
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx.c: Executing [28@macro-dialout-trunk:1] Goto(“PJSIP/251-00000019”, “s-INVALIDNMBR,1”) in new stack
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx_builtins.c: Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp(“PJSIP/251-00000019”, “Dial failed due to trunk reporting Address Incomplete - giving up”) in new stack
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress(“PJSIP/251-00000019”, “”) in new stack
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback(“PJSIP/251-00000019”, “ss-noservice,noanswer”) in new stack
[2019-02-18 18:04:36] VERBOSE[7727][C-0000001e] file.c: <PJSIP/251-00000019> Playing ‘ss-noservice.g722’ (language ‘en’)
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/251-00000019”, “hangupcall”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/251-00000019”, “1?theend”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/251-00000019”, “0?Set(CDR(recordingfile)=)”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/251-00000019”, " monior file= ") in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@macro-hangupcall:5] AGI(“PJSIP/251-00000019”, “attendedtransfer-rec-restart.php,”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] res_agi.c: <PJSIP/251-00000019>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/251-00000019”, “”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/251-00000019’ in macro ‘hangupcall’
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/251-00000019’
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] app_stack.c: PJSIP/251-00000019 Internal Gosub(crm-hangup,s,1) start
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:1] NoOp(“PJSIP/251-00000019”, “Sending Hangup to CRM”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:2] NoOp(“PJSIP/251-00000019”, “HANGUP CAUSE: 28”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:3] ExecIf(“PJSIP/251-00000019”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:4] NoOp(“PJSIP/251-00000019”, “MASTER CHANNEL: 1550513076.93 = 1550513076.93”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:5] GotoIf(“PJSIP/251-00000019”, “0?return”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:6] Set(“PJSIP/251-00000019”, “__CRM_HANGUP=1”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:7] AGI(“PJSIP/251-00000019”, “sangomacrm.agi”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] res_agi.c: <PJSIP/251-00000019>AGI Script sangomacrm.agi completed, returning 0
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] pbx.c: Executing [s@crm-hangup:8] Return(“PJSIP/251-00000019”, “”) in new stack
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/251-00000019’
[2019-02-18 18:04:37] VERBOSE[7727][C-0000001e] app_stack.c: PJSIP/251-00000019 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2019-02-18 18:04:42] VERBOSE[14507] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘144.202.70.211’
[2019-02-18 18:04:42] VERBOSE[14507] netsock2.c: Using SIP RTP Audio TOS bits 184
[2019-02-18 18:04:42] VERBOSE[14507] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2019-02-18 18:04:42] VERBOSE[14507] netsock2.c: Using SIP RTP Audio CoS mark 5
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:1] Macro(“PJSIP/251-0000001a”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/251-0000001a”, “TOUCH_MONITOR=1550513082.95”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/251-0000001a”, “AMPUSER=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“PJSIP/251-0000001a”, “0?report”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“PJSIP/251-0000001a”, “1?Set(REALCALLERIDNUM=251)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/251-0000001a”, “AMPUSER=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“PJSIP/251-0000001a”, “0?limit”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/251-0000001a”, “AMPUSERCIDNAME=Chris Desk”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“PJSIP/251-0000001a”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“PJSIP/251-0000001a”, “0?report”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/251-0000001a”, “AMPUSERCID=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/251-0000001a”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/251-0000001a”, “CALLERID(all)=“Chris Desk” <251>”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/251-0000001a”, “0?limit”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/251-0000001a”, “1?Set(GROUP(concurrency_limit)=251)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/251-0000001a”, “0?Set(CHANNEL(language)=)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“PJSIP/251-0000001a”, “Macro Depth is 1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/251-0000001a”, “1?report2:macroerror”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“PJSIP/251-0000001a”, “1?continue”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:37] Set(“PJSIP/251-0000001a”, “CALLERID(number)=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:38] Set(“PJSIP/251-0000001a”, “CALLERID(name)=Chris Desk”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“PJSIP/251-0000001a”, “0?cnum”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:40] Set(“PJSIP/251-0000001a”, “CDR(cnam)=Chris Desk”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:41] Set(“PJSIP/251-0000001a”, “CDR(cnum)=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-user-callerid:42] Set(“PJSIP/251-0000001a”, “CHANNEL(language)=en”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:2] Gosub(“PJSIP/251-0000001a”, “sub-record-check,s,1(out,92120001234,dontcare)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/251-0000001a”, “0?initialized”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/251-0000001a”, “__REC_STATUS=INITIALIZED”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/251-0000001a”, “NOW=1550513082”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/251-0000001a”, “__DAY=18”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/251-0000001a”, “__MONTH=02”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/251-0000001a”, “__YEAR=2019”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/251-0000001a”, “__TIMESTR=20190218-180442”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/251-0000001a”, “__FROMEXTEN=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/251-0000001a”, “__MON_FMT=wav”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/251-0000001a”, “Recordings initialized”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/251-0000001a”, “0?Set(ARG3=dontcare)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/251-0000001a”, “REC_POLICY_MODE_SAVE=”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/251-0000001a”, “0?Set(REC_STATUS=NO)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/251-0000001a”, “3?checkaction”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (sub-record-check,s,17)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/251-0000001a”, “1?sub-record-check,out,1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (sub-record-check,out,1)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/251-0000001a”, “Outbound Recording Check from 251 to 92120001234”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/251-0000001a”, “RECMODE=dontcare”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/251-0000001a”, “1?Goto(routewins)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (sub-record-check,out,7)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/251-0000001a”, “recordcheck,1(dontcare,out,92120001234)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/251-0000001a”, “Starting recording check against dontcare”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/251-0000001a”, “dontcare”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/251-0000001a”, “”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/251-0000001a”, “”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:3] ExecIf(“PJSIP/251-0000001a”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:4] Set(“PJSIP/251-0000001a”, “MOHCLASS=default”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:5] ExecIf(“PJSIP/251-0000001a”, “0?Set(TRUNKCIDOVERRIDE=16822266684)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:6] Set(“PJSIP/251-0000001a”, “_NODEST=”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [92120001234@from-internal:7] Macro(“PJSIP/251-0000001a”, “dialout-trunk,1,992120001234,off”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/251-0000001a”, “DIAL_TRUNK=1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/251-0000001a”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/251-0000001a”, “0?sub-pincheck,s,1()”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/251-0000001a”, “0?Set(CALLERID(num)=251)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/251-0000001a”, “0?disabletrunk,1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/251-0000001a”, “DIAL_NUMBER=992120001234”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/251-0000001a”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/251-0000001a”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/251-0000001a”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/251-0000001a”, “1?nomax”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/251-0000001a”, “0?skipoutcid”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/251-0000001a”, “outbound-callerid,1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/251-0000001a”, “251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/251-0000001a”, “”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/251-0000001a”, “off”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/251-0000001a”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/251-0000001a”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“PJSIP/251-0000001a”, “0?Set(REALCALLERIDNUM=251)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf(“PJSIP/251-0000001a”, “0?Set(AMPUSER=251)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf(“PJSIP/251-0000001a”, “1?normcid”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“PJSIP/251-0000001a”, “USEROUTCID=Chris Miguez”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“PJSIP/251-0000001a”, “EMERGENCYCID=”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:14] Set(“PJSIP/251-0000001a”, “TRUNKOUTCID=6822266684”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf(“PJSIP/251-0000001a”, “1?trunkcid”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf(“PJSIP/251-0000001a”, “1?Set(CALLERID(all)=6822266684)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“PJSIP/251-0000001a”, “1?Set(CALLERID(all)=Chris Miguez)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/251-0000001a”, “0?Set(CALLERID(all)=)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/251-0000001a”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“PJSIP/251-0000001a”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:25] Set(“PJSIP/251-0000001a”, “CDR(outbound_cnum)=”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“PJSIP/251-0000001a”, “CDR(outbound_cnam)=Chris Miguez”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/251-0000001a”, “0?sub-flp-1,s,1()”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/251-0000001a”, “OUTNUM=992120001234”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/251-0000001a”, “custom=SIP/gotrunk”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/251-0000001a”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/251-0000001a”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/251-0000001a”, “dialout-trunk-predial-hook,”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/251-0000001a”, “”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/251-0000001a”, “0?skipcrm”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“PJSIP/251-0000001a”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“PJSIP/251-0000001a”, “__CRM_DESTINATION=992120001234”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“PJSIP/251-0000001a”, “__CRM_SOURCE=251”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:24] AGI(“PJSIP/251-0000001a”, “sangomacrm.agi”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] res_agi.c: <PJSIP/251-0000001a>AGI Script sangomacrm.agi completed, returning 0
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“PJSIP/251-0000001a”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“PJSIP/251-0000001a”, “CRM Finished”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“PJSIP/251-0000001a”, “0?bypass,1”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“PJSIP/251-0000001a”, “1?Set(CONNECTEDLINE(num,i)=992120001234)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“PJSIP/251-0000001a”, “1?Set(CONNECTEDLINE(name,i)=CID:)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“PJSIP/251-0000001a”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden))”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“PJSIP/251-0000001a”, “0?customtrunk”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:32] Dial(“PJSIP/251-0000001a”, “SIP/gotrunk/992120001234,300,Tb(func-apply-sipheaders^s^1,(1))”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] netsock2.c: Using SIP RTP TOS bits 184
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] netsock2.c: Using SIP RTP CoS mark 5
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] app_stack.c: SIP/gotrunk-00000009 Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/gotrunk-00000009”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“SIP/gotrunk-00000009”, “Applying SIP Headers to channel SIP/gotrunk-00000009”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/gotrunk-00000009”, “TECH=SIP”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“SIP/gotrunk-00000009”, “SIPHEADERKEYS=”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/gotrunk-00000009”, “0”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] app_while.c: Jumping to priority 12
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@func-apply-sipheaders:13] Return(“SIP/gotrunk-00000009”, “”) in new stack
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] app_stack.c: Spawn extension (from-trunk, 92120001234, 1) exited non-zero on ‘SIP/gotrunk-00000009’
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] app_stack.c: SIP/gotrunk-00000009 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2019-02-18 18:04:42] VERBOSE[7766][C-0000001f] app_dial.c: Called SIP/gotrunk/992120001234
[2019-02-18 18:04:49] VERBOSE[2113][C-0000001f] chan_sip.c: Got SIP response 603 “Declined” back from 69.164.221.134:5060
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] app_dial.c: SIP/gotrunk-00000009 is busy
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] app_dial.c: Everyone is busy/congested at this time (1:1/0/0)
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:33] NoOp(“PJSIP/251-0000001a”, “Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 21”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-dialout-trunk:34] GotoIf(“PJSIP/251-0000001a”, “0?continue,1:s-BUSY,1”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-dialout-trunk,s-BUSY,1)
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s-BUSY@macro-dialout-trunk:1] NoOp(“PJSIP/251-0000001a”, “Dial failed due to trunk reporting BUSY - giving up”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s-BUSY@macro-dialout-trunk:2] PlayTones(“PJSIP/251-0000001a”, “busy”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s-BUSY@macro-dialout-trunk:3] Busy(“PJSIP/251-0000001a”, “20”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] app_macro.c: Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on ‘PJSIP/251-0000001a’ in macro ‘dialout-trunk’
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Spawn extension (from-internal, 92120001234, 7) exited non-zero on ‘PJSIP/251-0000001a’
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/251-0000001a”, “hangupcall”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/251-0000001a”, “1?theend”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/251-0000001a”, “0?Set(CDR(recordingfile)=)”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/251-0000001a”, " monior file= ") in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-hangupcall:5] AGI(“PJSIP/251-0000001a”, “attendedtransfer-rec-restart.php,”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] res_agi.c: <PJSIP/251-0000001a>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/251-0000001a”, “”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/251-0000001a’ in macro ‘hangupcall’
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/251-0000001a’
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] app_stack.c: PJSIP/251-0000001a Internal Gosub(crm-hangup,s,1) start
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:1] NoOp(“PJSIP/251-0000001a”, “Sending Hangup to CRM”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:2] NoOp(“PJSIP/251-0000001a”, “HANGUP CAUSE: 17”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:3] ExecIf(“PJSIP/251-0000001a”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:4] NoOp(“PJSIP/251-0000001a”, “MASTER CHANNEL: 1550513082.95 = 1550513082.95”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:5] GotoIf(“PJSIP/251-0000001a”, “0?return”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:6] Set(“PJSIP/251-0000001a”, “__CRM_HANGUP=1”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:7] AGI(“PJSIP/251-0000001a”, “sangomacrm.agi”) in new stack
[2019-02-18 18:04:49] VERBOSE[7766][C-0000001f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2019-02-18 18:04:50] VERBOSE[7766][C-0000001f] res_agi.c: <PJSIP/251-0000001a>AGI Script sangomacrm.agi completed, returning 0
[2019-02-18 18:04:50] VERBOSE[7766][C-0000001f] pbx.c: Executing [s@crm-hangup:8] Return(“PJSIP/251-0000001a”, “”) in new stack
[2019-02-18 18:04:50] VERBOSE[7766][C-0000001f] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/251-0000001a’
[2019-02-18 18:04:50] VERBOSE[7766][C-0000001f] app_stack.c: PJSIP/251-0000001a Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=