One DID is working But 2nd is not working

HI Dear All,
i am new in freepbx and try to make inbound calls on DIDs.i have two DIDs number

  1. 746442924232230001 point to extension 924232230001

  2. 746442924232230010 point to extension 924232230010
    problem is when i dial 746442924232230001 the number is successfully transfer to extension 924232230001.here is the log
    == Using SIP RTP CoS mark 5
    – Executing [746442924232230001@from-trunk-sip-inter:1] Set(“SIP/inter-00000043”, “GROUP()=OUT_1”) in new stack
    – Executing [746442924232230001@from-trunk-sip-inter:2] Goto(“SIP/inter-00000043”, “from-trunk,746442924232230001,1”) in new stack
    – Goto (from-trunk,746442924232230001,1)
    – Executing [746442924232230001@from-trunk:1] Set(“SIP/inter-00000043”, “__DIRECTION=INBOUND”) in new stack
    – Executing [746442924232230001@from-trunk:2] Gosub(“SIP/inter-00000043”, “sub-record-check,s,1(in,746442924232230001,dontcare)”) in new stack
    – Executing [s@sub-record-check:1] GotoIf(“SIP/inter-00000043”, “0?initialized”) in new stack
    – Executing [s@sub-record-check:2] Set(“SIP/inter-00000043”, “__REC_STATUS=INITIALIZED”) in new stack
    – Executing [s@sub-record-check:3] Set(“SIP/inter-00000043”, “NOW=1597561101”) in new stack
    – Executing [s@sub-record-check:4] Set(“SIP/inter-00000043”, “__DAY=16”) in new stack
    – Executing [s@sub-record-check:5] Set(“SIP/inter-00000043”, “__MONTH=08”) in new stack
    – Executing [s@sub-record-check:6] Set(“SIP/inter-00000043”, “__YEAR=2020”) in new stack
    – Executing [s@sub-record-check:7] Set(“SIP/inter-00000043”, “__TIMESTR=20200816-115821”) in new stack
    – Executing [s@sub-record-check:8] Set(“SIP/inter-00000043”, “__FROMEXTEN=unknown”) in new stack
    – Executing [s@sub-record-check:9] Set(“SIP/inter-00000043”, “__MON_FMT=wav”) in new stack
    – Executing [s@sub-record-check:10] NoOp(“SIP/inter-00000043”, “Recordings initialized”) in new stack
    – Executing [s@sub-record-check:11] ExecIf(“SIP/inter-00000043”, “0?Set(ARG3=dontcare)”) in new stack
    – Executing [s@sub-record-check:12] Set(“SIP/inter-00000043”, “REC_POLICY_MODE_SAVE=”) in new stack
    – Executing [s@sub-record-check:13] ExecIf(“SIP/inter-00000043”, “0?Set(REC_STATUS=NO)”) in new stack
    – Executing [s@sub-record-check:14] GotoIf(“SIP/inter-00000043”, “2?checkaction”) in new stack
    – Goto (sub-record-check,s,17)
    – Executing [s@sub-record-check:17] GotoIf(“SIP/inter-00000043”, “1?sub-record-check,in,1”) in new stack
    – Goto (sub-record-check,in,1)
    – Executing [in@sub-record-check:1] NoOp(“SIP/inter-00000043”, “Inbound Recording Check to 746442924232230001”) in new stack
    – Executing [in@sub-record-check:2] Set(“SIP/inter-00000043”, “FROMEXTEN=unknown”) in new stack
    – Executing [in@sub-record-check:3] ExecIf(“SIP/inter-00000043”, “11?Set(FROMEXTEN=03224210048)”) in new stack
    – Executing [in@sub-record-check:4] Gosub(“SIP/inter-00000043”, “recordcheck,1(dontcare,in,746442924232230001)”) in new stack
    – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/inter-00000043”, “Starting recording check against dontcare”) in new stack
    – Executing [recordcheck@sub-record-check:2] Goto(“SIP/inter-00000043”, “dontcare”) in new stack
    – Goto (sub-record-check,recordcheck,3)
    – Executing [recordcheck@sub-record-check:3] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [in@sub-record-check:5] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [746442924232230001@from-trunk:3] Set(“SIP/inter-00000043”, “CHANNEL(tonezone)=us”) in new stack
    – Executing [746442924232230001@from-trunk:4] Set(“SIP/inter-00000043”, “__FROM_DID=746442924232230001”) in new stack
    – Executing [746442924232230001@from-trunk:5] Set(“SIP/inter-00000043”, “returnhere=1”) in new stack
    – Executing [746442924232230001@from-trunk:6] Gosub(“SIP/inter-00000043”, “app-blacklist-check,s,1()”) in new stack
    – Executing [s@app-blacklist-check:1] GotoIf(“SIP/inter-00000043”, “0?blacklisted”) in new stack
    – Executing [s@app-blacklist-check:2] Set(“SIP/inter-00000043”, “CALLED_BLACKLIST=1”) in new stack
    – Executing [s@app-blacklist-check:3] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [746442924232230001@from-trunk:7] Set(“SIP/inter-00000043”, “CDR(did)=746442924232230001”) in new stack
    – Executing [746442924232230001@from-trunk:8] GotoIf(“SIP/inter-00000043”, “0?”) in new stack
    – Executing [746442924232230001@from-trunk:9] ExecIf(“SIP/inter-00000043”, “1 ?Set(CALLERID(name)=03224210048)”) in new stack
    – Executing [746442924232230001@from-trunk:10] Set(“SIP/inter-00000043”, “__MOHCLASS=”) in new stack
    – Executing [746442924232230001@from-trunk:11] Set(“SIP/inter-00000043”, “__REVERSAL_REJECT=FALSE”) in new stack
    – Executing [746442924232230001@from-trunk:12] GotoIf(“SIP/inter-00000043”, “1?post-reverse-charge”) in new stack
    – Goto (from-trunk,746442924232230001,14)
    – Executing [746442924232230001@from-trunk:14] NoOp(“SIP/inter-00000043”, “”) in new stack
    – Executing [746442924232230001@from-trunk:15] Set(“SIP/inter-00000043”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
    – Executing [746442924232230001@from-trunk:16] Set(“SIP/inter-00000043”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
    – Executing [746442924232230001@from-trunk:17] Set(“SIP/inter-00000043”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
    – Executing [746442924232230001@from-trunk:18] Set(“SIP/inter-00000043”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
    – Executing [746442924232230001@from-trunk:19] NoOp(“SIP/inter-00000043”, “CallerID Entry Point”) in new stack
    – Executing [746442924232230001@from-trunk:20] Set(“SIP/inter-00000043”, “__CRM_DIRECTION=INBOUND”) in new stack
    – Executing [746442924232230001@from-trunk:21] Set(“SIP/inter-00000043”, “__CRM_SOURCE=03224210048”) in new stack
    – Executing [746442924232230001@from-trunk:22] Set(“SIP/inter-00000043”, “__CRM_LINKEDID=1597561101.67”) in new stack
    – Executing [746442924232230001@from-trunk:23] AGI(“SIP/inter-00000043”, “sangomacrm.agi,true”) in new stack
    – Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    – <SIP/inter-00000043>AGI Script sangomacrm.agi completed, returning 0
    – Executing [746442924232230001@from-trunk:24] ExecIf(“SIP/inter-00000043”, “1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
    – Executing [746442924232230001@from-trunk:25] Goto(“SIP/inter-00000043”, “from-did-direct,924232230001,1”) in new stack
    – Goto (from-did-direct,924232230001,1)
    – Executing [924232230001@from-did-direct:1] GotoIf(“SIP/inter-00000043”, “1?ext-local,924232230001,1:followme-check,924232230001,1”) in new stack
    – Goto (ext-local,924232230001,1)
    – Executing [924232230001@ext-local:1] Set(“SIP/inter-00000043”, “__RINGTIMER=15”) in new stack
    – Executing [924232230001@ext-local:2] ExecIf(“SIP/inter-00000043”, “0?Set(__CWIGNORE=)”) in new stack
    – Executing [924232230001@ext-local:3] Macro(“SIP/inter-00000043”, “exten-vm,924232230001,924232230001,0,0,0”) in new stack
    – Executing [s@macro-exten-vm:1] Macro(“SIP/inter-00000043”, “user-callerid,”) in new stack
    – Executing [s@macro-user-callerid:1] Set(“SIP/inter-00000043”, “TOUCH_MONITOR=1597561101.67”) in new stack
    – Executing [s@macro-user-callerid:2] Set(“SIP/inter-00000043”, “AMPUSER=03224210048”) in new stack
    – Executing [s@macro-user-callerid:3] Set(“SIP/inter-00000043”, “HOTDESCKCHAN=inter-00000043”) in new stack
    – Executing [s@macro-user-callerid:4] Set(“SIP/inter-00000043”, “HOTDESKEXTEN=inter”) in new stack
    – Executing [s@macro-user-callerid:5] Set(“SIP/inter-00000043”, “HOTDESKCALL=0”) in new stack
    – Executing [s@macro-user-callerid:6] ExecIf(“SIP/inter-00000043”, “0?Set(HOTDESKCALL=1)”) in new stack
    – Executing [s@macro-user-callerid:7] ExecIf(“SIP/inter-00000043”, “0?Set(CALLERID(name)=)”) in new stack
    – Executing [s@macro-user-callerid:8] GotoIf(“SIP/inter-00000043”, “0?report”) in new stack
    – Executing [s@macro-user-callerid:9] ExecIf(“SIP/inter-00000043”, “1?Set(REALCALLERIDNUM=03224210048)”) in new stack
    – Executing [s@macro-user-callerid:10] Set(“SIP/inter-00000043”, “AMPUSER=”) in new stack
    – Executing [s@macro-user-callerid:11] GotoIf(“SIP/inter-00000043”, “0?limit”) in new stack
    – Executing [s@macro-user-callerid:12] Set(“SIP/inter-00000043”, “AMPUSERCIDNAME=”) in new stack
    – Executing [s@macro-user-callerid:13] ExecIf(“SIP/inter-00000043”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
    – Executing [s@macro-user-callerid:14] GotoIf(“SIP/inter-00000043”, “1?report”) in new stack
    – Goto (macro-user-callerid,s,28)
    – Executing [s@macro-user-callerid:28] NoOp(“SIP/inter-00000043”, “Macro Depth is 2”) in new stack
    – Executing [s@macro-user-callerid:29] GotoIf(“SIP/inter-00000043”, “1?report2:macroerror”) in new stack
    – Goto (macro-user-callerid,s,30)
    – Executing [s@macro-user-callerid:30] GotoIf(“SIP/inter-00000043”, “0?continue”) in new stack
    – Executing [s@macro-user-callerid:31] ExecIf(“SIP/inter-00000043”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
    – Executing [s@macro-user-callerid:32] Set(“SIP/inter-00000043”, “__TTL=64”) in new stack
    – Executing [s@macro-user-callerid:33] GotoIf(“SIP/inter-00000043”, “1?continue”) in new stack
    – Goto (macro-user-callerid,s,49)
    – Executing [s@macro-user-callerid:49] Set(“SIP/inter-00000043”, “CALLERID(number)=03224210048”) in new stack
    – Executing [s@macro-user-callerid:50] Set(“SIP/inter-00000043”, “CALLERID(name)=03224210048”) in new stack
    – Executing [s@macro-user-callerid:51] GotoIf(“SIP/inter-00000043”, “0?cnum”) in new stack
    – Executing [s@macro-user-callerid:52] Set(“SIP/inter-00000043”, “CDR(cnam)=03224210048”) in new stack
    – Executing [s@macro-user-callerid:53] Set(“SIP/inter-00000043”, “CDR(cnum)=03224210048”) in new stack
    – Executing [s@macro-user-callerid:54] Set(“SIP/inter-00000043”, “CHANNEL(language)=en”) in new stack
    – Executing [s@macro-exten-vm:2] Set(“SIP/inter-00000043”, “RingGroupMethod=none”) in new stack
    – Executing [s@macro-exten-vm:3] Set(“SIP/inter-00000043”, “__EXTTOCALL=924232230001”) in new stack
    – Executing [s@macro-exten-vm:4] Set(“SIP/inter-00000043”, “__PICKUPMARK=924232230001”) in new stack
    – Executing [s@macro-exten-vm:5] Set(“SIP/inter-00000043”, “RT=15”) in new stack
    – Executing [s@macro-exten-vm:6] ExecIf(“SIP/inter-00000043”, “0?Macro(vm,924232230001,DIRECTDIAL,)”) in new stack
    – Executing [s@macro-exten-vm:7] ExecIf(“SIP/inter-00000043”, “0?MacroExit()”) in new stack
    – Executing [s@macro-exten-vm:8] ExecIf(“SIP/inter-00000043”, “0?Gosub(ext-intercom,*80924232230001,1())”) in new stack
    – Executing [s@macro-exten-vm:9] ExecIf(“SIP/inter-00000043”, “0?MacroExit()”) in new stack
    – Executing [s@macro-exten-vm:10] ExecIf(“SIP/inter-00000043”, “0?ChanSpy(SIP/924232230001,q)”) in new stack
    – Executing [s@macro-exten-vm:11] ExecIf(“SIP/inter-00000043”, “0?MacroExit()”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:610 ast_func_read: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:12] ExecIf(“SIP/inter-00000043”, “0?Macro(vm,924232230001,DIRECTDIAL,)”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:653 ast_func_read2: Function PJSIP_HEADER not registered
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:610 ast_func_read: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:13] ExecIf(“SIP/inter-00000043”, “0?MacroExit()”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:653 ast_func_read2: Function PJSIP_HEADER not registered
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:610 ast_func_read: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:14] ExecIf(“SIP/inter-00000043”, “0?Gosub(ext-intercom,*80924232230001,1())”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:653 ast_func_read2: Function PJSIP_HEADER not registered
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:610 ast_func_read: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:15] ExecIf(“SIP/inter-00000043”, “0?MacroExit()”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:653 ast_func_read2: Function PJSIP_HEADER not registered
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:610 ast_func_read: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:16] ExecIf(“SIP/inter-00000043”, “0?ChanSpy(SIP/924232230001,q)”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:653 ast_func_read2: Function PJSIP_HEADER not registered
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:610 ast_func_read: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:17] ExecIf(“SIP/inter-00000043”, “0?MacroExit()”) in new stack
    [2020-08-16 11:58:21] ERROR[3114][C-00000023]: pbx_functions.c:653 ast_func_read2: Function PJSIP_HEADER not registered
    – Executing [s@macro-exten-vm:18] Gosub(“SIP/inter-00000043”, “sub-record-check,s,1(exten,924232230001,dontcare)”) in new stack
    – Executing [s@sub-record-check:1] GotoIf(“SIP/inter-00000043”, “11?initialized”) in new stack
    – Goto (sub-record-check,s,10)
    – Executing [s@sub-record-check:10] NoOp(“SIP/inter-00000043”, “Recordings initialized”) in new stack
    – Executing [s@sub-record-check:11] ExecIf(“SIP/inter-00000043”, “0?Set(ARG3=dontcare)”) in new stack
    – Executing [s@sub-record-check:12] Set(“SIP/inter-00000043”, “REC_POLICY_MODE_SAVE=”) in new stack
    – Executing [s@sub-record-check:13] ExecIf(“SIP/inter-00000043”, “0?Set(REC_STATUS=NO)”) in new stack
    – Executing [s@sub-record-check:14] GotoIf(“SIP/inter-00000043”, “5?checkaction”) in new stack
    – Goto (sub-record-check,s,17)
    – Executing [s@sub-record-check:17] GotoIf(“SIP/inter-00000043”, “1?sub-record-check,exten,1”) in new stack
    – Goto (sub-record-check,exten,1)
    – Executing [exten@sub-record-check:1] NoOp(“SIP/inter-00000043”, “Exten Recording Check between 03224210048 and 924232230001”) in new stack
    – Executing [exten@sub-record-check:2] Set(“SIP/inter-00000043”, “CALLTYPE=external”) in new stack
    – Executing [exten@sub-record-check:3] ExecIf(“SIP/inter-00000043”, “0?Set(CALLTYPE=)”) in new stack
    – Executing [exten@sub-record-check:4] Set(“SIP/inter-00000043”, “CALLEE=force”) in new stack
    – Executing [exten@sub-record-check:5] ExecIf(“SIP/inter-00000043”, “0?Set(CALLEE=dontcare)”) in new stack
    – Executing [exten@sub-record-check:6] GotoIf(“SIP/inter-00000043”, “1?callee”) in new stack
    – Goto (sub-record-check,exten,11)
    – Executing [exten@sub-record-check:11] Gosub(“SIP/inter-00000043”, “recordcheck,1(force,external,924232230001)”) in new stack
    – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/inter-00000043”, “Starting recording check against force”) in new stack
    – Executing [recordcheck@sub-record-check:2] Goto(“SIP/inter-00000043”, “force”) in new stack
    – Goto (sub-record-check,recordcheck,5)
    – Executing [recordcheck@sub-record-check:5] Set(“SIP/inter-00000043”, “__REC_POLICY_MODE=FORCE”) in new stack
    – Executing [recordcheck@sub-record-check:6] GotoIf(“SIP/inter-00000043”, “1?startrec”) in new stack
    – Goto (sub-record-check,recordcheck,16)
    – Executing [recordcheck@sub-record-check:16] NoOp(“SIP/inter-00000043”, “Starting recording: external, 924232230001”) in new stack
    – Executing [recordcheck@sub-record-check:17] Set(“SIP/inter-00000043”, “__CALLFILENAME=external-924232230001-03224210048-20200816-115821-1597561101.67”) in new stack
    – Executing [recordcheck@sub-record-check:18] MixMonitor(“SIP/inter-00000043”, “2020/08/16/external-924232230001-03224210048-20200816-115821-1597561101.67.wav,abi(LOCAL_MIXMON_ID),”) in new stack
    – Executing [recordcheck@sub-record-check:19] Set(“SIP/inter-00000043”, “__MIXMON_ID=0x7f7d6404ef30”) in new stack
    – Executing [recordcheck@sub-record-check:20] Set(“SIP/inter-00000043”, “__RECORD_ID=SIP/inter-00000043”) in new stack
    – Executing [recordcheck@sub-record-check:21] Set(“SIP/inter-00000043”, “__REC_STATUS=RECORDING”) in new stack
    – Executing [recordcheck@sub-record-check:22] Set(“SIP/inter-00000043”, “CDR(recordingfile)=external-924232230001-03224210048-20200816-115821-1597561101.67.wav”) in new stack
    – Executing [recordcheck@sub-record-check:23] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [exten@sub-record-check:12] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [s@macro-exten-vm:19] GotoIf(“SIP/inter-00000043”, “1?macrodial”) in new stack
    – Goto (macro-exten-vm,s,25)
    – Executing [s@macro-exten-vm:25] GosubIf(“SIP/inter-00000043”, “0?clrheader,1()”) in new stack
    – Executing [s@macro-exten-vm:26] Macro(“SIP/inter-00000043”, “dial-one,15,HhTtr,924232230001”) in new stack
    – Executing [s@macro-dial-one:1] Set(“SIP/inter-00000043”, “DEXTEN=924232230001”) in new stack
    – Executing [s@macro-dial-one:2] Set(“SIP/inter-00000043”, “__CRM_SOURCE=03224210048”) in new stack
    – Executing [s@macro-dial-one:3] ExecIf(“SIP/inter-00000043”, “0?Set(__EXTTOCALL=924232230001)”) in new stack
    – Executing [s@macro-dial-one:4] Set(“SIP/inter-00000043”, “DIALSTATUS_CW=”) in new stack
    – Executing [s@macro-dial-one:5] GosubIf(“SIP/inter-00000043”, “0?screen,1()”) in new stack
    – Executing [s@macro-dial-one:6] GosubIf(“SIP/inter-00000043”, “0?cf,1()”) in new stack
    – Executing [s@macro-dial-one:7] GotoIf(“SIP/inter-00000043”, “1?skip1”) in new stack
    – Goto (macro-dial-one,s,10)
    – Executing [s@macro-dial-one:10] GotoIf(“SIP/inter-00000043”, “0?nodial”) in new stack
    – Executing [s@macro-dial-one:11] GotoIf(“SIP/inter-00000043”, “0?continue”) in new stack
    – Executing [s@macro-dial-one:12] Set(“SIP/inter-00000043”, “EXTHASCW=ENABLED”) in new stack
    – Executing [s@macro-dial-one:13] GotoIf(“SIP/inter-00000043”, “0?next1:cwinusebusy”) in new stack
    – Goto (macro-dial-one,s,25)
    – Executing [s@macro-dial-one:25] GotoIf(“SIP/inter-00000043”, “0?next3:continue”) in new stack
    – Goto (macro-dial-one,s,27)
    – Executing [s@macro-dial-one:27] GotoIf(“SIP/inter-00000043”, “0?nodial”) in new stack
    – Executing [s@macro-dial-one:28] GosubIf(“SIP/inter-00000043”, “1?dstring,1():dlocal,1()”) in new stack
    – Executing [dstring@macro-dial-one:1] Set(“SIP/inter-00000043”, “DSTRING=”) in new stack
    – Executing [dstring@macro-dial-one:2] Set(“SIP/inter-00000043”, “DEVICES=924232230001”) in new stack
    – Executing [dstring@macro-dial-one:3] ExecIf(“SIP/inter-00000043”, “0?Return()”) in new stack
    – Executing [dstring@macro-dial-one:4] ExecIf(“SIP/inter-00000043”, “0?Set(DEVICES=24232230001)”) in new stack
    – Executing [dstring@macro-dial-one:5] Set(“SIP/inter-00000043”, “LOOPCNT=1”) in new stack
    – Executing [dstring@macro-dial-one:6] Set(“SIP/inter-00000043”, “ITER=1”) in new stack
    – Executing [dstring@macro-dial-one:7] Set(“SIP/inter-00000043”, “THISDIAL=SIP/924232230001”) in new stack
    – Executing [dstring@macro-dial-one:8] GosubIf(“SIP/inter-00000043”, “1?zap2dahdi,1()”) in new stack
    – Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/inter-00000043”, “0?Return()”) in new stack
    – Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/inter-00000043”, “NEWDIAL=”) in new stack
    – Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/inter-00000043”, “LOOPCNT2=1”) in new stack
    – Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/inter-00000043”, “ITER2=1”) in new stack
    – Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/inter-00000043”, “THISPART2=SIP/924232230001”) in new stack
    – Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/inter-00000043”, “0?Set(THISPART2=DAHDI/924232230001)”) in new stack
    – Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/inter-00000043”, “NEWDIAL=SIP/924232230001&”) in new stack
    – Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/inter-00000043”, “ITER2=2”) in new stack
    – Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/inter-00000043”, “0?begin2”) in new stack
    – Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/inter-00000043”, “THISDIAL=SIP/924232230001”) in new stack
    – Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [dstring@macro-dial-one:9] GotoIf(“SIP/inter-00000043”, “1?docheck”) in new stack
    – Goto (macro-dial-one,dstring,15)
    – Executing [dstring@macro-dial-one:15] GotoIf(“SIP/inter-00000043”, “0?skipset”) in new stack
    – Executing [dstring@macro-dial-one:16] Set(“SIP/inter-00000043”, “DSTRING=SIP/924232230001&”) in new stack
    – Executing [dstring@macro-dial-one:17] Set(“SIP/inter-00000043”, “ITER=2”) in new stack
    – Executing [dstring@macro-dial-one:18] GotoIf(“SIP/inter-00000043”, “0?begin”) in new stack
    – Executing [dstring@macro-dial-one:19] ExecIf(“SIP/inter-00000043”, “0?Return()”) in new stack
    – Executing [dstring@macro-dial-one:20] Set(“SIP/inter-00000043”, “DSTRING=SIP/924232230001”) in new stack
    – Executing [dstring@macro-dial-one:21] Return(“SIP/inter-00000043”, “”) in new stack
    == Begin MixMonitor Recording SIP/inter-00000043
    – Executing [s@macro-dial-one:29] GotoIf(“SIP/inter-00000043”, “0?nodial”) in new stack
    – Executing [s@macro-dial-one:30] GotoIf(“SIP/inter-00000043”, “0?skiptrace”) in new stack
    – Executing [s@macro-dial-one:31] GosubIf(“SIP/inter-00000043”, “1?ctset,1():ctclear,1()”) in new stack
    – Executing [ctset@macro-dial-one:1] Set(“SIP/inter-00000043”, “DB(CALLTRACE/924232230001)=03224210048”) in new stack
    – Executing [ctset@macro-dial-one:2] Return(“SIP/inter-00000043”, “”) in new stack
    – Executing [s@macro-dial-one:32] Set(“SIP/inter-00000043”, “D_OPTIONS=HhTtr”) in new stack
    – Executing [s@macro-dial-one:33] GosubIf(“SIP/inter-00000043”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
    – Executing [s@macro-dial-one:34] NoOp(“SIP/inter-00000043”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
    – Executing [s@macro-dial-one:35] ExecIf(“SIP/inter-00000043”, “0?Set(ALERT_INFO=)”) in new stack
    – Executing [s@macro-dial-one:36] ExecIf(“SIP/inter-00000043”, “0?Set(ALERT_INFO=)”) in new stack
    – Executing [s@macro-dial-one:37] ExecIf(“SIP/inter-00000043”, “0?Set(ALERT_INFO=)”) in new stack
    – Executing [s@macro-dial-one:38] ExecIf(“SIP/inter-00000043”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
    – Executing [s@macro-dial-one:39] ExecIf(“SIP/inter-00000043”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
    – Executing [s@macro-dial-one:40] GosubIf(“SIP/inter-00000043”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
    – Executing [s@macro-dial-one:41] ExecIf(“SIP/inter-00000043”, “0?Set(CHANNEL(musicclass)=)”) in new stack
    – Executing [s@macro-dial-one:42] GosubIf(“SIP/inter-00000043”, “0?qwait,1()”) in new stack
    – Executing [s@macro-dial-one:43] Set(“SIP/inter-00000043”, “__CWIGNORE=”) in new stack
    – Executing [s@macro-dial-one:44] Set(“SIP/inter-00000043”, “__KEEPCID=TRUE”) in new stack
    – Executing [s@macro-dial-one:45] GotoIf(“SIP/inter-00000043”, “0?usegoto,1”) in new stack
    – Executing [s@macro-dial-one:46] GotoIf(“SIP/inter-00000043”, “1?godial”) in new stack
    – Goto (macro-dial-one,s,51)
    – Executing [s@macro-dial-one:51] Macro(“SIP/inter-00000043”, “dialout-one-predial-hook,”) in new stack
    – Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/inter-00000043”, “”) in new stack
    – Executing [s@macro-dial-one:52] ExecIf(“SIP/inter-00000043”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
    – Executing [s@macro-dial-one:53] NoOp(“SIP/inter-00000043”, “”) in new stack
    – Executing [s@macro-dial-one:54] ExecIf(“SIP/inter-00000043”, “0?Set(D_OPTIONS=HhtrIg)”) in new stack
    – Executing [s@macro-dial-one:55] Dial(“SIP/inter-00000043”, “SIP/924232230001,15,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    – SIP/924232230001-00000044 Internal Gosub(func-apply-sipheaders,s,1) start
    – Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/924232230001-00000044”, “1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
    – Executing [s@func-apply-sipheaders:2] NoOp(“SIP/924232230001-00000044”, “Applying SIP Headers to channel SIP/924232230001-00000044”) in new stack
    – Executing [s@func-apply-sipheaders:3] Set(“SIP/924232230001-00000044”, “TECH=SIP”) in new stack
    – Executing [s@func-apply-sipheaders:4] Set(“SIP/924232230001-00000044”, “SIPHEADERKEYS=”) in new stack
    – Executing [s@func-apply-sipheaders:5] While(“SIP/924232230001-00000044”, “0”) in new stack
    – Jumping to priority 11
    – Executing [s@func-apply-sipheaders:12] Return(“SIP/924232230001-00000044”, “”) in new stack
    == Spawn extension (from-internal, 924232230001, 1) exited non-zero on ‘SIP/924232230001-00000044’
    – SIP/924232230001-00000044 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    – Called SIP/924232230001
    – Connected line update to SIP/inter-00000043 prevented.
    – SIP/924232230001-00000044 is ringing
    – SIP/924232230001-00000044 Internal Gosub(crm-hangup,s,1) start
    – Executing [s@crm-hangup:1] NoOp(“SIP/924232230001-00000044”, “Sending Hangup to CRM”) in new stack
    – Executing [s@crm-hangup:2] NoOp(“SIP/924232230001-00000044”, “HANGUP CAUSE: 16”) in new stack
    – Executing [s@crm-hangup:3] ExecIf(“SIP/924232230001-00000044”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
    – Executing [s@crm-hangup:4] NoOp(“SIP/924232230001-00000044”, “MASTER CHANNEL: 1597561101.68 = 1597561101.67”) in new stack
    – Executing [s@crm-hangup:5] GotoIf(“SIP/924232230001-00000044”, “1?return”) in new stack
    – Goto (crm-hangup,s,8)
    – Executing [s@crm-hangup:8] Return(“SIP/924232230001-00000044”, “”) in new stack
    == Spawn extension (from-internal, 924232230001, 1) exited non-zero on ‘SIP/924232230001-00000044’
    – SIP/924232230001-00000044 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    == Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/inter-00000043’ in macro ‘dial-one’
    == Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘SIP/inter-00000043’ in macro ‘exten-vm’
    == Spawn extension (ext-local, 924232230001, 3) exited non-zero on ‘SIP/inter-00000043’
    – Executing [h@ext-local:1] Macro(“SIP/inter-00000043”, “hangupcall,”) in new stack
    – Executing [s@macro-hangupcall:1] GotoIf(“SIP/inter-00000043”, “1?theend”) in new stack
    – Goto (macro-hangupcall,s,3)
    – Executing [s@macro-hangupcall:3] ExecIf(“SIP/inter-00000043”, “0?Set(CDR(recordingfile)=)”) in new stack
    – Executing [s@macro-hangupcall:4] NoOp(“SIP/inter-00000043”, “SIP/924232230001-00000044 montior file= /var/spool/asterisk/monitor/2020/08/16/external-924232230001-03224210048-20200816-115821-1597561101.67.wav”) in new stack
    – Executing [s@macro-hangupcall:5] GotoIf(“SIP/inter-00000043”, “0?skipagi”) in new stack
    – Executing [s@macro-hangupcall:6] AGI(“SIP/inter-00000043”, “attendedtransfer-rec-restart.php,SIP/924232230001-00000044,/var/spool/asterisk/monitor/2020/08/16/external-924232230001-03224210048-20200816-115821-1597561101.67.wav”) in new stack
    – Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    – <SIP/inter-00000043>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    – Executing [s@macro-hangupcall:7] Hangup(“SIP/inter-00000043”, “”) in new stack
    == Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/inter-00000043’ in macro ‘hangupcall’
    but when i make a call with 746442924232230010 i am getting error.
    == Using SIP RTP CoS mark 5
    – Executing [746442924232232010@from-trunk-sip-inter:1] Set(“SIP/inter-00000045”, “GROUP()=OUT_1”) in new stack
    – Executing [746442924232232010@from-trunk-sip-inter:2] Goto(“SIP/inter-00000045”, “from-trunk,746442924232232010,1”) in new stack
    – Goto (from-trunk,746442924232232010,1)
    – Executing [746442924232232010@from-trunk:1] Set(“SIP/inter-00000045”, “__FROM_DID=746442924232232010”) in new stack
    – Executing [746442924232232010@from-trunk:2] NoOp(“SIP/inter-00000045”, “Received an unknown call with DID set to 746442924232232010”) in new stack
    – Executing [746442924232232010@from-trunk:3] Goto(“SIP/inter-00000045”, “s,a2”) in new stack
    – Goto (from-trunk,s,2)
    – Executing [s@from-trunk:2] Answer(“SIP/inter-00000045”, “”) in new stack
    – Executing [s@from-trunk:3] Log(“SIP/inter-00000045”, “WARNING,Friendly Scanner from 58.181.96.2”) in new stack
    [2020-08-16 12:00:24] WARNING[3434][C-00000024]: Ext. s:3 @ from-trunk: Friendly Scanner from 58.181.96.2
    – Executing [s@from-trunk:4] Wait(“SIP/inter-00000045”, “2”) in new stack
    – Executing [s@from-trunk:5] Playback(“SIP/inter-00000045”, “ss-noservice”) in new stack
    – <SIP/inter-00000045> Playing ‘ss-noservice.ulaw’ (language ‘en’)
    – Executing [s@from-trunk:6] SayAlpha(“SIP/inter-00000045”, “746442924232232010”) in new stack
    – <SIP/inter-00000045> Playing ‘digits/7.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/4.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/6.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/4.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/4.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/2.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/9.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/2.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/4.ulaw’ (language ‘en’)
    – <SIP/inter-00000045> Playing ‘digits/2.ulaw’ (language ‘en’)
    == Spawn extension (from-trunk, s, 6) exited non-zero on ‘SIP/inter-00000045’
    – Executing [h@from-trunk:1] Macro(“SIP/inter-00000045”, “hangupcall,”) in new stack
    – Executing [s@macro-hangupcall:1] GotoIf(“SIP/inter-00000045”, “1?theend”) in new stack

Freepbx version is **PBX 14.0.13.34 'pbx’

It is acting as if the Inbound Route is not properly set up. Post screenshots of your Inbound Routes page and the General tab of the 746442924232230010 route.

However, please explain the 18-digit numbers. The ITU requires all globally reachable numbers to be no longer than 15 digits, including the country code.

1 Like

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