SIP trunk inbound calls not working for some numbers

I have an issue with my freepbx system. Some incoming calls are fine but for others, it just says cannot complete or number not found. Below are my log, hope anyone can help. thanks.


2651	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: Ended up with real PJSIP Dial string PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079	
2652	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: dbset CALLTRACE/902 to +17788589566	
2653	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: Discovered PJSIP Endpoint PJSIP/903	
2654	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: Ended up with real PJSIP Dial string PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911	
2655	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: dbset CALLTRACE/903 to +17788589566	
2656	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: Discovered PJSIP Endpoint PJSIP/999	
2657	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: Ended up with real PJSIP Dial string PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa	
2658	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: dbset CALLTRACE/999 to +17788589566	
2659	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: Filtered ARG3: 902-903-999	
2660	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: RVOL_MODE ''	
2661	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: RVOL is:	
2662	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: agi://127.0.0.1/dialparties.agi: RVOLPARENT is:	
2663	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_agi.c: <PJSIP/MySIP-00000013>AGI Script agi://127.0.0.1/dialparties.agi completed, returning 0	
2664	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:8] GotoIf("PJSIP/MySIP-00000013", "1?normdial") in new stack	
2665	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx_builtins.c: Goto (macro-dial,s,11)	
2666	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:11] NoOp("PJSIP/MySIP-00000013", "Returned from dialparties with groups to dial") in new stack	
2667	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:12] NoOp("PJSIP/MySIP-00000013", "ringall array ") in new stack	
2668	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:13] NoOp("PJSIP/MySIP-00000013", "ds= PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079&PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911&PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa,120,m(RED-Music)htM(auto-blkvm) ") in new stack	
2669	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:14] NoOp("PJSIP/MySIP-00000013", "dsextra= ") in new stack	
2670	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:15] Set("PJSIP/MySIP-00000013", "ds=PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079&PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911&PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa,120,m(RED-Music)htM(auto-blkvm)") in new stack	
2671	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:16] NoOp("PJSIP/MySIP-00000013", "ds= PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079&PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911&PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa,120,m(RED-Music)htM(auto-blkvm)") in new stack	
2672	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:17] Set("PJSIP/MySIP-00000013", "__FMGL_DIAL=") in new stack	
2673	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:18] Set("PJSIP/MySIP-00000013", "LOOPCNT=3") in new stack	
2674	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:19] Set("PJSIP/MySIP-00000013", "ITER=1") in new stack	
2675	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:20] Set("PJSIP/MySIP-00000013", "__EXTTOCALL=902") in new stack	
2676	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:21] Set("PJSIP/MySIP-00000013", "__MCEXTTOCALL=902") in new stack	
2677	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:22] NoOp("PJSIP/MySIP-00000013", "Working with 902") in new stack	
2678	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:23] ExecIf("PJSIP/MySIP-00000013", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
2679	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:24] ExecIf("PJSIP/MySIP-00000013", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
2680	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:25] Set("PJSIP/MySIP-00000013", "ITER=2") in new stack	
2681	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:26] GotoIf("PJSIP/MySIP-00000013", "1?ndloopbegin") in new stack	
2682	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx_builtins.c: Goto (macro-dial,s,20)	
2683	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:20] Set("PJSIP/MySIP-00000013", "__EXTTOCALL=903") in new stack	
2684	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:21] Set("PJSIP/MySIP-00000013", "__MCEXTTOCALL=903") in new stack	
2685	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:22] NoOp("PJSIP/MySIP-00000013", "Working with 903") in new stack	
2686	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:23] ExecIf("PJSIP/MySIP-00000013", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
2687	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:24] ExecIf("PJSIP/MySIP-00000013", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
2688	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:25] Set("PJSIP/MySIP-00000013", "ITER=3") in new stack	
2689	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:26] GotoIf("PJSIP/MySIP-00000013", "1?ndloopbegin") in new stack	
2690	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx_builtins.c: Goto (macro-dial,s,20)	
2691	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:20] Set("PJSIP/MySIP-00000013", "__EXTTOCALL=999") in new stack	
2692	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:21] Set("PJSIP/MySIP-00000013", "__MCEXTTOCALL=999") in new stack	
2693	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:22] NoOp("PJSIP/MySIP-00000013", "Working with 999") in new stack	
2694	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:23] ExecIf("PJSIP/MySIP-00000013", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
2695	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:24] ExecIf("PJSIP/MySIP-00000013", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
2696	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:25] Set("PJSIP/MySIP-00000013", "ITER=4") in new stack	
2697	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:26] GotoIf("PJSIP/MySIP-00000013", "0?ndloopbegin") in new stack	
2698	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:27] Macro("PJSIP/MySIP-00000013", "dial-ringall-predial-hook,") in new stack	
2699	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("PJSIP/MySIP-00000013", "") in new stack	
2700	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:28] ExecIf("PJSIP/MySIP-00000013", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack	
2701	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:29] ExecIf("PJSIP/MySIP-00000013", "0?Set(ds=PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079&PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911&PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa,120,m(RED-Music)htM(auto-blkvm)g)") in new stack	
2702	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@macro-dial:30] Dial("PJSIP/MySIP-00000013", "PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079&PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911&PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa,120,m(RED-Music)htM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack	
2703	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/902-00000014 Internal Gosub(func-apply-sipheaders,s,1) start	
2704	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/902-00000014", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack	
2705	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/902-00000014", "Applying SIP Headers to channel PJSIP/902-00000014") in new stack	
2706	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/902-00000014", "localchan=902-00000014") in new stack	
2707	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:4] Set("PJSIP/902-00000014", "DialMCEXT=902") in new stack	
2708	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:5] Set("PJSIP/902-00000014", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,902,1") in new stack	
2709	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:6] Set("PJSIP/902-00000014", "TECH=PJSIP") in new stack	
2710	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:7] Set("PJSIP/902-00000014", "SIPHEADERKEYS=") in new stack	
2711	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:8] While("PJSIP/902-00000014", "0") in new stack	
2712	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_while.c: Jumping to priority 14	
2713	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:15] Return("PJSIP/902-00000014", "") in new stack	
2714	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: Spawn extension (from-internal, 9988, 1) exited non-zero on 'PJSIP/902-00000014'	
2715	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/902-00000014 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=	
2716	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/903-00000015 Internal Gosub(func-apply-sipheaders,s,1) start	
2717	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/903-00000015", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack	
2718	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/903-00000015", "Applying SIP Headers to channel PJSIP/903-00000015") in new stack	
2719	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/903-00000015", "localchan=903-00000015") in new stack	
2720	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:4] Set("PJSIP/903-00000015", "DialMCEXT=903") in new stack	
2721	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:5] Set("PJSIP/903-00000015", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,903,1") in new stack	
2722	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:6] Set("PJSIP/903-00000015", "TECH=PJSIP") in new stack	
2723	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:7] Set("PJSIP/903-00000015", "SIPHEADERKEYS=") in new stack	
2724	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:8] While("PJSIP/903-00000015", "0") in new stack	
2725	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_while.c: Jumping to priority 14	
2726	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:15] Return("PJSIP/903-00000015", "") in new stack	
2727	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: Spawn extension (from-internal, 9988, 1) exited non-zero on 'PJSIP/903-00000015'	
2728	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/903-00000015 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=	
2729	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/999-00000016 Internal Gosub(func-apply-sipheaders,s,1) start	
2730	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/999-00000016", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack	
2731	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/999-00000016", "Applying SIP Headers to channel PJSIP/999-00000016") in new stack	
2732	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/999-00000016", "localchan=999-00000016") in new stack	
2733	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:4] Set("PJSIP/999-00000016", "DialMCEXT=999") in new stack	
2734	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:5] Set("PJSIP/999-00000016", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,999,1") in new stack	
2735	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:6] Set("PJSIP/999-00000016", "TECH=PJSIP") in new stack	
2736	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:7] Set("PJSIP/999-00000016", "SIPHEADERKEYS=") in new stack	
2737	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:8] While("PJSIP/999-00000016", "0") in new stack	
2738	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_while.c: Jumping to priority 14	
2739	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@func-apply-sipheaders:15] Return("PJSIP/999-00000016", "") in new stack	
2740	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: Spawn extension (from-internal, 9988, 1) exited non-zero on 'PJSIP/999-00000016'	
2741	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/999-00000016 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=	
2742	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: Called PJSIP/902/sip:[email protected]:1024;line=abw6mpsd;x-ast-orig-host=192.168.2.10:3079	
2743	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: Called PJSIP/903/sip:[email protected]:55911;ob;x-ast-orig-host=192.168.2.5:55911	
2744	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: Called PJSIP/999/sip:[email protected]:47991;rinstance=40b5ed179837eefa	
2745	[2024-05-24 09:57:47] VERBOSE[19838] netsock2.c: Using SIP RTP Audio TOS bits 184	
2746	[2024-05-24 09:57:47] VERBOSE[19838] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.	
2747	[2024-05-24 09:57:47] VERBOSE[19838] netsock2.c: Using SIP RTP Audio CoS mark 5	
2748	[2024-05-24 09:57:47] VERBOSE[19736] netsock2.c: Using SIP RTP Audio TOS bits 184	
2749	[2024-05-24 09:57:47] VERBOSE[19736] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.	
2750	[2024-05-24 09:57:47] VERBOSE[19736] netsock2.c: Using SIP RTP Audio CoS mark 5	
2751	[2024-05-24 09:57:47] VERBOSE[22163] netsock2.c: Using SIP RTP Audio TOS bits 184	
2752	[2024-05-24 09:57:47] VERBOSE[22163] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.	
2753	[2024-05-24 09:57:47] VERBOSE[22163] netsock2.c: Using SIP RTP Audio CoS mark 5	
2754	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] res_musiconhold.c: Started music on hold, class 'RED-Music', on channel 'PJSIP/MySIP-00000013'	
2755	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: PJSIP/999-00000016 connected line has changed. Saving it until answer for PJSIP/MySIP-00000013	
2756	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: PJSIP/902-00000014 connected line has changed. Saving it until answer for PJSIP/MySIP-00000013	
2757	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: PJSIP/903-00000015 connected line has changed. Saving it until answer for PJSIP/MySIP-00000013	
2758	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: PJSIP/903-00000015 is ringing	
2759	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_dial.c: PJSIP/902-00000014 is ringing	
2760	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/999-00000016 Internal Gosub(app-missedcall-hangup,999,1) start	
2761	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:1] NoOp("PJSIP/999-00000016", "Dialed: 999") in new stack	
2762	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:2] NoOp("PJSIP/999-00000016", "Caller: ") in new stack	
2763	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:3] GotoIf("PJSIP/999-00000016", "0?exit") in new stack	
2764	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:4] Set("PJSIP/999-00000016", "EXTENNUM=999") in new stack	
2765	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:5] Set("PJSIP/999-00000016", "FEXTENNUM=999") in new stack	
2766	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:6] GotoIf("PJSIP/999-00000016", "1?exit") in new stack	
2767	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx_builtins.c: Goto (app-missedcall-hangup,999,8)	
2768	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [999@app-missedcall-hangup:8] Return("PJSIP/999-00000016", "") in new stack	
2769	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: Spawn extension (from-internal, 9988, 1) exited non-zero on 'PJSIP/999-00000016'	
2770	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/999-00000016 Internal Gosub(app-missedcall-hangup,999,1) complete GOSUB_RETVAL=	
2771	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/999-00000016 Internal Gosub(crm-hangup,s,1) start	
2772	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:1] NoOp("PJSIP/999-00000016", "Sending Hangup to CRM") in new stack	
2773	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:2] NoOp("PJSIP/999-00000016", "HANGUP CAUSE: 17") in new stack	
2774	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:3] ExecIf("PJSIP/999-00000016", "0?Set(__CRM_VOICEMAIL=)") in new stack	
2775	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:4] NoOp("PJSIP/999-00000016", "MASTER CHANNEL: 1716569867.22 = 1716569866.19") in new stack	
2776	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:5] GotoIf("PJSIP/999-00000016", "1?return") in new stack	
2777	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx_builtins.c: Goto (crm-hangup,s,8)	
2778	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:8] Return("PJSIP/999-00000016", "") in new stack	
2779	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: Spawn extension (from-internal, 9988, 1) exited non-zero on 'PJSIP/999-00000016'	
2780	[2024-05-24 09:57:47] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/999-00000016 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=	
2781	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] res_musiconhold.c: Stopped music on hold on PJSIP/MySIP-00000013	
2782	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/902-00000014 Internal Gosub(app-missedcall-hangup,902,1) start	
2783	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:1] NoOp("PJSIP/902-00000014", "Dialed: 902") in new stack	
2784	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:2] NoOp("PJSIP/902-00000014", "Caller: ") in new stack	
2785	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:3] GotoIf("PJSIP/902-00000014", "0?exit") in new stack	
2786	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:4] Set("PJSIP/902-00000014", "EXTENNUM=902") in new stack	
2787	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:5] Set("PJSIP/902-00000014", "FEXTENNUM=2") in new stack	
2788	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:6] GotoIf("PJSIP/902-00000014", "0?exit") in new stack	
2789	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:7] AGI("PJSIP/902-00000014", "agi://127.0.0.1/missedcallnotify.php,2,,2,0,,PJSIP/902-00000014,,,9988,") in new stack	
2790	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] res_agi.c: <PJSIP/902-00000014>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0	
2791	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [902@app-missedcall-hangup:8] Return("PJSIP/902-00000014", "") in new stack	
2792	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] app_stack.c: Spawn extension (from-internal, 9988, 1) exited non-zero on 'PJSIP/902-00000014'	
2793	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/902-00000014 Internal Gosub(app-missedcall-hangup,902,1) complete GOSUB_RETVAL=	
2794	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] app_stack.c: PJSIP/902-00000014 Internal Gosub(crm-hangup,s,1) start	
2795	[2024-05-24 09:57:49] VERBOSE[15049][C-00000008] pbx.c: Executing [s@crm-hangup:1] NoOp("PJSIP/902-00000014", "Sending Hangup to CRM") in new stack	

Your logging stops before FreePBX has said how it considers the call to have failed, and isn’t detailed enough to see why the individual outgoing calls failed. All one can tell is that they failed quickly, but after the channel was allocated.

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