Return to office after weekend, appliance rebooted and Asterisk did not start (12.7.8-2204-1.sng7 and *16.26.1)

With respect, if you have no idea what you are thinking, there is a fair chance that neither do we :wink:

Well I have edited the original, feel free to delete your posts, and I will delete mine, don’t want someone else getting confused. This has me all turned around, I am a simple install from the distro “free” user…

Wild guess, Are you doing this on a Raspberry?

No it’s a schmooze.com freepbx appliance, I have maintained it, but it is 100% stock from how I ordered it. I have updated the distro with each new stable version.

The plot thickens, my sangoma a200 card may be the culprit. Maybe it got hit with the rare over-the-phone-line surge triggering a reboot of the server over the weekend.

Maybe there was file corruption due to that?

I can route through the network from endpoint to endpoint fine now. And asterisk now appears happy, but it barfs somwhere when the server is rebooted.

Inbound and outbound of the POTS lines is not working and the A200 is now not listed in my DAHDi configuration on the portal.

Anything I can do to check the health of this card?

wanrouter hwprobe


Wanpipe Hardware Probe Info

1 . AFT-B600-SH : SLOT=4 : BUS=2 : IRQ=16 : PORT=1 : HWEC=5 : V=05

Sangoma Card Count: B600=1

But I have an A200…

OK, A200 card not the problem it was something else.

I have spent the last few hours essentially reinstalling the distro by hand, and somewhere along the way something in my configs got overwritten, because I am now able to make outbound calls but all inbound calls go directly to the VM extension

here is a capture of a failed inbound

208220	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:10] Set("DAHDI/1-1", "HOTDESKCALL=0") in new stack	
208221	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:11] ExecIf("DAHDI/1-1", "0?Set(HOTDESKCALL=1)") in new stack	
208222	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("DAHDI/1-1", "0?Set(CALLERID(name)=)") in new stack	
208223	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("DAHDI/1-1", "0?report") in new stack	
208224	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("DAHDI/1-1", "0?Set(REALCALLERIDNUM=2292320351)") in new stack	
208225	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:15] Set("DAHDI/1-1", "AMPUSER=") in new stack	
208226	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:16] GotoIf("DAHDI/1-1", "0?limit") in new stack	
208227	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:17] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack	
208228	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:18] ExecIf("DAHDI/1-1", "0?Set(__CIDMASQUERADING=TRUE)") in new stack	
208229	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("DAHDI/1-1", "1?report") in new stack	
208230	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,28)	
208231	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:28] NoOp("DAHDI/1-1", "Macro Depth is 2") in new stack	
208232	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:29] GotoIf("DAHDI/1-1", "1?report2:macroerror") in new stack	
208233	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,30)	
208234	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("DAHDI/1-1", "0?continue") in new stack	
208235	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:31] ExecIf("DAHDI/1-1", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack	
208236	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:32] Set("DAHDI/1-1", "__TTL=63") in new stack	
208237	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:33] GotoIf("DAHDI/1-1", "1?continue") in new stack	
208238	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,49)	
208239	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:49] Set("DAHDI/1-1", "CALLERID(number)=2292320351") in new stack	
208240	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:50] Set("DAHDI/1-1", "CALLERID(name)=3700:WIRELESS CALLER") in new stack	
208241	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:51] GotoIf("DAHDI/1-1", "0?cnum") in new stack	
208242	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:52] Set("DAHDI/1-1", "CDR(cnam)=3700:WIRELESS CALLER") in new stack	
208243	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:53] Set("DAHDI/1-1", "CDR(cnum)=2292320351") in new stack	
208244	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:54] Set("DAHDI/1-1", "CHANNEL(language)=en") in new stack	
208245	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:2] Set("DAHDI/1-1", "RingGroupMethod=none") in new stack	
208246	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:3] Set("DAHDI/1-1", "__EXTTOCALL=100") in new stack	
208247	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:4] Set("DAHDI/1-1", "__PICKUPMARK=100") in new stack	
208248	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:5] Set("DAHDI/1-1", "RT=15") in new stack	
208249	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208250	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:6] ExecIf("DAHDI/1-1", "0?Macro(vm,100,DIRECTDIAL,)") in new stack	
208251	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208252	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208253	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:7] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208254	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208255	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208256	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:8] ExecIf("DAHDI/1-1", "0?Macro(vm,100,DIRECTDIAL,)") in new stack	
208257	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208258	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208259	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:9] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208260	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208261	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208262	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:10] ExecIf("DAHDI/1-1", "0?ChanSpy(,q)") in new stack	
208263	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208264	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208265	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:11] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208266	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208267	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208268	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:12] ExecIf("DAHDI/1-1", "0?ChanSpy(,q)") in new stack	
208269	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208270	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208271	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:13] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208272	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208273	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208274	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:14] ExecIf("DAHDI/1-1", "0?Gosub(ext-intercom,*80100,1())") in new stack	
208275	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208276	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208277	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:15] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208278	[2022-06-20 22:33:09] ERROR[23620][C-00000007] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
208279	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208280	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:16] ExecIf("DAHDI/1-1", "0?Gosub(ext-intercom,*80100,1())") in new stack	
208281	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208282	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208283	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:17] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208284	[2022-06-20 22:33:09] ERROR[23620][C-00000007] pbx_functions.c: Function SIP_HEADER not registered	
208285	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:18] Gosub("DAHDI/1-1", "sub-record-check,s,1(exten,100,dontcare)") in new stack	
208286	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:1] GotoIf("DAHDI/1-1", "10?initialized") in new stack	
208287	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (sub-record-check,s,10)	
208288	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:10] NoOp("DAHDI/1-1", "Recordings initialized") in new stack	
208289	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:11] ExecIf("DAHDI/1-1", "0?Set(ARG3=dontcare)") in new stack	
208290	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:12] Set("DAHDI/1-1", "REC_POLICY_MODE_SAVE=") in new stack	
208291	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:13] ExecIf("DAHDI/1-1", "0?Set(REC_STATUS=NO)") in new stack	
208292	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:14] GotoIf("DAHDI/1-1", "5?checkaction") in new stack	
208293	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (sub-record-check,s,17)	
208294	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@sub-record-check:17] GotoIf("DAHDI/1-1", "1?sub-record-check,exten,1") in new stack	
208295	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (sub-record-check,exten,1)	
208296	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:1] NoOp("DAHDI/1-1", "Exten Recording Check between 2292320351 and 100") in new stack	
208297	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:2] Set("DAHDI/1-1", "CALLTYPE=external") in new stack	
208298	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:3] ExecIf("DAHDI/1-1", "0?Set(CALLTYPE=)") in new stack	
208299	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:4] Set("DAHDI/1-1", "CALLEE=dontcare") in new stack	
208300	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:5] ExecIf("DAHDI/1-1", "0?Set(CALLEE=dontcare)") in new stack	
208301	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:6] GotoIf("DAHDI/1-1", "1?callee") in new stack	
208302	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (sub-record-check,exten,11)	
208303	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:11] Gosub("DAHDI/1-1", "recordcheck,1(dontcare,external,100)") in new stack	
208304	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/1-1", "Starting recording check against dontcare") in new stack	
208305	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("DAHDI/1-1", "dontcare") in new stack	
208306	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)	
208307	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [recordcheck@sub-record-check:3] Return("DAHDI/1-1", "") in new stack	
208308	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [exten@sub-record-check:12] Return("DAHDI/1-1", "") in new stack	
208309	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:19] GotoIf("DAHDI/1-1", "1?macrodial") in new stack	
208310	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-exten-vm,s,25)	
208311	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:25] GosubIf("DAHDI/1-1", "0?clrheader,1()") in new stack	
208312	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:26] Macro("DAHDI/1-1", "dial-one,15,HhTtr,100") in new stack	
208313	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:1] Set("DAHDI/1-1", "DEXTEN=100") in new stack	
208314	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:2] Set("DAHDI/1-1", "__CRM_SOURCE=2292320351") in new stack	
208315	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:3] ExecIf("DAHDI/1-1", "0?Set(__EXTTOCALL=100)") in new stack	
208316	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:4] Set("DAHDI/1-1", "DIALSTATUS_CW=") in new stack	
208317	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:5] GosubIf("DAHDI/1-1", "0?screen,1()") in new stack	
208318	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:6] GosubIf("DAHDI/1-1", "0?cf,1()") in new stack	
208319	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:7] GotoIf("DAHDI/1-1", "1?skip1") in new stack	
208320	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-dial-one,s,10)	
208321	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:10] GotoIf("DAHDI/1-1", "0?nodial") in new stack	
208322	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:11] GotoIf("DAHDI/1-1", "0?continue") in new stack	
208323	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:12] Set("DAHDI/1-1", "EXTHASCW=") in new stack	
208324	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:13] GotoIf("DAHDI/1-1", "1?next1:cwinusebusy") in new stack	
208325	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-dial-one,s,14)	
208326	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:14] GotoIf("DAHDI/1-1", "0?docfu:skip3") in new stack	
208327	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-dial-one,s,18)	
208328	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:18] GotoIf("DAHDI/1-1", "1?next2:continue") in new stack	
208329	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-dial-one,s,19)	
208330	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:19] GotoIf("DAHDI/1-1", "1?continue") in new stack	
208331	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-dial-one,s,27)	
208332	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:27] GotoIf("DAHDI/1-1", "0?nodial") in new stack	
208333	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:28] GosubIf("DAHDI/1-1", "1?dstring,1():dlocal,1()") in new stack	
208334	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [dstring@macro-dial-one:1] Set("DAHDI/1-1", "DSTRING=") in new stack	
208335	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [dstring@macro-dial-one:2] Set("DAHDI/1-1", "DEVICES=") in new stack	
208336	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/1-1", "1?Return()") in new stack	
208337	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:29] GotoIf("DAHDI/1-1", "1?nodial") in new stack	
208338	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-dial-one,s,61)	
208339	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:61] NoOp("DAHDI/1-1", "") in new stack	
208340	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:62] ExecIf("DAHDI/1-1", "0?Set(DIALSTATUS=NOANSWER)") in new stack	
208341	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:63] NoOp("DAHDI/1-1", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER") in new stack	
208342	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-dial-one:64] MacroExit("DAHDI/1-1", "") in new stack	
208343	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:27] Set("DAHDI/1-1", "SV_DIALSTATUS=NOANSWER") in new stack	
208344	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:28] GosubIf("DAHDI/1-1", "0?docfu,1()") in new stack	
208345	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:29] GosubIf("DAHDI/1-1", "0?docfb,1()") in new stack	
208346	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:30] Set("DAHDI/1-1", "DIALSTATUS=NOANSWER") in new stack	
208347	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:31] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack	
208348	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:32] GotoIf("DAHDI/1-1", "0?s-NOANSWER,1") in new stack	
208349	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:33] Macro("DAHDI/1-1", "vm,100,NOANSWER,") in new stack	
208350	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-vm:1] Macro("DAHDI/1-1", "user-callerid,SKIPTTL") in new stack	
208351	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "TOUCH_MONITOR=1655778788.6") in new stack	
208352	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:2] Set("DAHDI/1-1", "CHANCONTEXT=") in new stack	
208353	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:3] Set("DAHDI/1-1", "CHANCONTEXT=") in new stack	
208354	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "CHANEXTENCONTEXT=1-1") in new stack	
208355	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "CHANEXTEN=1-1") in new stack	
208356	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:6] Set("DAHDI/1-1", "CALLERID(number)=2292320351") in new stack	
208357	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:7] Set("DAHDI/1-1", "AMPUSER=2292320351") in new stack	
208358	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:8] Set("DAHDI/1-1", "HOTDESCKCHAN=1-1") in new stack	
208359	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:9] Set("DAHDI/1-1", "HOTDESKEXTEN=1") in new stack	
208360	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:10] Set("DAHDI/1-1", "HOTDESKCALL=0") in new stack	
208361	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:11] ExecIf("DAHDI/1-1", "0?Set(HOTDESKCALL=1)") in new stack	
208362	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("DAHDI/1-1", "0?Set(CALLERID(name)=)") in new stack	
208363	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("DAHDI/1-1", "0?report") in new stack	
208364	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("DAHDI/1-1", "0?Set(REALCALLERIDNUM=2292320351)") in new stack	
208365	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:15] Set("DAHDI/1-1", "AMPUSER=") in new stack	
208366	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:16] GotoIf("DAHDI/1-1", "0?limit") in new stack	
208367	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:17] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack	
208368	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:18] ExecIf("DAHDI/1-1", "0?Set(__CIDMASQUERADING=TRUE)") in new stack	
208369	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("DAHDI/1-1", "1?report") in new stack	
208370	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,28)	
208371	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:28] NoOp("DAHDI/1-1", "Macro Depth is 3") in new stack	
208372	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:29] GotoIf("DAHDI/1-1", "1?report2:macroerror") in new stack	
208373	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,30)	
208374	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("DAHDI/1-1", "1?continue") in new stack	
208375	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,49)	
208376	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:49] Set("DAHDI/1-1", "CALLERID(number)=2292320351") in new stack	
208377	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:50] Set("DAHDI/1-1", "CALLERID(name)=3700:WIRELESS CALLER") in new stack	
208378	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:51] GotoIf("DAHDI/1-1", "0?cnum") in new stack	
208379	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:52] Set("DAHDI/1-1", "CDR(cnam)=3700:WIRELESS CALLER") in new stack	
208380	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:53] Set("DAHDI/1-1", "CDR(cnum)=2292320351") in new stack	
208381	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-user-callerid:54] Set("DAHDI/1-1", "CHANNEL(language)=en") in new stack	
208382	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-vm:2] Set("DAHDI/1-1", "VMGAIN=g(12)") in new stack	
208383	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-vm:3] Macro("DAHDI/1-1", "blkvm-check,") in new stack	
208384	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-blkvm-check:1] Set("DAHDI/1-1", "GOSUB_RETVAL=") in new stack	
208385	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-blkvm-check:2] ExecIf("DAHDI/1-1", "0?Set(GOSUB_RETVAL=TRUE)") in new stack	
208386	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-blkvm-check:3] MacroExit("DAHDI/1-1", "") in new stack	
208387	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-vm:4] GotoIf("DAHDI/1-1", "1?vmx,1") in new stack	
208388	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-vm,vmx,1)	
208389	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:1] Set("DAHDI/1-1", "__EXTTOCALL=100") in new stack	
208390	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:2] Set("DAHDI/1-1", "__CRM_VOICEMAIL=100") in new stack	
208391	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:3] Set("DAHDI/1-1", "MEXTEN=100") in new stack	
208392	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:4] Set("DAHDI/1-1", "MMODE=NOANSWER") in new stack	
208393	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:5] Set("DAHDI/1-1", "RETVM=") in new stack	
208394	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:6] Set("DAHDI/1-1", "MODE=unavail") in new stack	
208395	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:7] Macro("DAHDI/1-1", "get-vmcontext,100") in new stack	
208396	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-get-vmcontext:1] Set("DAHDI/1-1", "VMCONTEXT=default") in new stack	
208397	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-get-vmcontext:2] GotoIf("DAHDI/1-1", "0?200:300") in new stack	
208398	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)	
208399	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-get-vmcontext:300] NoOp("DAHDI/1-1", "") in new stack	
208400	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:8] Set("DAHDI/1-1", "MODE=unavail") in new stack	
208401	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:9] NoOp("DAHDI/1-1", "MODE IS: unavail") in new stack	
208402	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:10] GotoIf("DAHDI/1-1", "1?chknomsg") in new stack	
208403	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-vm,vmx,12)	
208404	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:12] GotoIf("DAHDI/1-1", "0?s-NOANSWER,1") in new stack	
208405	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:13] GotoIf("DAHDI/1-1", "1?notdirect") in new stack	
208406	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-vm,vmx,15)	
208407	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:15] NoOp("DAHDI/1-1", "Checking if ext 100 is enabled: ") in new stack	
208408	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [vmx@macro-vm:16] GotoIf("DAHDI/1-1", "1?s-NOANSWER,1") in new stack	
208409	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-vm,s-NOANSWER,1)	
208410	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s-NOANSWER@macro-vm:1] Macro("DAHDI/1-1", "get-vmcontext,100") in new stack	
208411	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-get-vmcontext:1] Set("DAHDI/1-1", "VMCONTEXT=default") in new stack	
208412	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-get-vmcontext:2] GotoIf("DAHDI/1-1", "0?200:300") in new stack	
208413	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)	
208414	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-get-vmcontext:300] NoOp("DAHDI/1-1", "") in new stack	
208415	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s-NOANSWER@macro-vm:2] VoiceMail("DAHDI/1-1", "100@default,ug(12)") in new stack	
208416	[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] file.c: <DAHDI/1-1> Playing '/var/spool/asterisk/voicemail/default/100/unavail.slin' (language 'en')	
208417	[2022-06-20 22:33:16] VERBOSE[11433] res_pjsip_logger.c: <--- Transmitting SIP request (444 bytes) to UDP:10.10.165.109:2734 --->	
208418	OPTIONS sip:[email protected]:2734;line=7hu1pq SIP/2.0	
208419	Via: SIP/2.0/UDP 10.10.165.2:5060;rport;branch=z9hG4bKPja1a33cb1-c97e-4db4-bbf0-c1ca2aa02971	
208420	From: <sip:[email protected]>;tag=15c5ed73-0ec6-4570-8b2b-27350498c849	
208421	To: <sip:[email protected];line=7hu1pq>	
208422	Contact: <sip:[email protected]:5060>	
208423	Call-ID: fcb0e4b4-698f-4bbe-824f-2685ee74e5c4	
208424	CSeq: 53110 OPTIONS	
208425	Max-Forwards: 70	
208426	User-Agent: FPBX-16.0.21.3(16.8)	
208427	Content-Length: 0	
208428		
208429		
208430	[2022-06-20 22:33:16] VERBOSE[11432] res_pjsip_logger.c: <--- Received SIP response (436 bytes) from UDP:10.10.165.109:2734 --->	
208431	SIP/2.0 200 Ok	
208432	Via: SIP/2.0/UDP 10.10.165.2:5060;rport=5060;branch=z9hG4bKPja1a33cb1-c97e-4db4-bbf0-c1ca2aa02971	
208433	From: <sip:[email protected]>;tag=15c5ed73-0ec6-4570-8b2b-27350498c849	
208434	To: <sip:[email protected];line=7hu1pq>	
208435	Call-ID: fcb0e4b4-698f-4bbe-824f-2685ee74e5c4	
208436	CSeq: 53110 OPTIONS	
208437	Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO	
208438	Supported: 100rel, replaces	
208439	Content-Length: 0	
208440		
208441		
208442	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] app_macro.c: Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'DAHDI/1-1' in macro 'vm'	
208443	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] app_macro.c: Spawn extension (macro-exten-vm, s, 33) exited non-zero on 'DAHDI/1-1' in macro 'exten-vm'	
208444	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Spawn extension (ext-local, 100, 3) exited non-zero on 'DAHDI/1-1'	
208445	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [h@ext-local:1] Macro("DAHDI/1-1", "hangupcall,") in new stack	
208446	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?theend") in new stack	
208447	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx_builtins.c: Goto (macro-hangupcall,s,3)	
208448	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("DAHDI/1-1", "0?Set(CDR(recordingfile)=)") in new stack	
208449	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-hangupcall:4] Hangup("DAHDI/1-1", "") in new stack	
208450	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'	
208451	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/1-1'	
208452	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] app_stack.c: DAHDI/1-1 Internal Gosub(crm-hangup,s,1) start	
208453	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:1] NoOp("DAHDI/1-1", "Sending Hangup to CRM") in new stack	
208454	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:2] NoOp("DAHDI/1-1", "HANGUP CAUSE: 16") in new stack	
208455	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:3] ExecIf("DAHDI/1-1", "1?Set(__CRM_VOICEMAIL=FAILED)") in new stack	
208456	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:4] NoOp("DAHDI/1-1", "MASTER CHANNEL: 1655778788.6 = 1655778788.6") in new stack	
208457	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:5] GotoIf("DAHDI/1-1", "0?return") in new stack	
208458	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:6] Set("DAHDI/1-1", "__CRM_HANGUP=1") in new stack	
208459	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:7] AGI("DAHDI/1-1", "agi://127.0.0.1/sangomacrm.agi") in new stack	
208460	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] res_agi.c: <DAHDI/1-1>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0	
208461	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] pbx.c: Executing [s@crm-hangup:8] Return("DAHDI/1-1", "") in new stack	
208462	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] app_stack.c: Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/1-1'	
208463	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] app_stack.c: DAHDI/1-1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=	
208464	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] sig_analog.c: Hanging up on 'DAHDI/1-1'	
208465	[2022-06-20 22:33:17] VERBOSE[23620][C-00000007] chan_dahdi.c: Hungup 'DAHDI/1-1'

OK, so I took the ringgroup out if my inbound routes and set it to a single extension… Somehow somewhere it looks like I have chan_sip set instead of PJSIP?

Am I reading this right?

5184	[2022-06-21 08:14:17] ERROR[27193][C-00000011] pbx_functions.c: Function SIP_HEADER not registered	
5185	[2022-06-21 08:14:17] VERBOSE[27193][C-00000011] pbx.c: Executing [s@macro-exten-vm:6] ExecIf("DAHDI/2-1", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack	
5186	[2022-06-21 08:14:17] ERROR[27193][C-00000011] pbx_functions.c: Function SIP_HEADER not registered	
5187	[2022-06-21 08:14:17] ERROR[27193][C-00000011] pbx_functions.c: Function SIP_HEADER not registered	
5188	[2022-06-21 08:14:17] VERBOSE[27193][C-00000011] pbx.c: Executing [s@macro-exten-vm:7] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack	
5189	[2022-06-21 08:14:17] ERROR[27193][C-00000011] pbx_functions.c: Function SIP_HEADER not registered	
5190	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
5191	[2022-06-21 08:14:17] VERBOSE[27193][C-00000011] pbx.c: Executing [s@macro-exten-vm:8] ExecIf("DAHDI/2-1", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack	
5192	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
5193	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
5194	[2022-06-21 08:14:17] VERBOSE[27193][C-00000011] pbx.c: Executing [s@macro-exten-vm:9] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack	
5195	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
5196	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
5197	[2022-06-21 08:14:17] VERBOSE[27193][C-00000011] pbx.c: Executing [s@macro-exten-vm:10] ExecIf("DAHDI/2-1", "0?ChanSpy(,q)") in new stack	
5198	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.	
5199	[2022-06-21 08:14:17] ERROR[27193][C-00000011] res_pjsip_header_funcs.c: This function requires a PJSIP channel.

Aren’t all of those supposed to be FUNCTION PJSIP_HEADER?

I wish there was a button that completely removed CHAN_SIP and forced PJSIP everywhere in the distro…

The PJSIP K.I.S.S. button

The function isn’t being run on any type of VoIP channel.

FreePBX calls chan_sip and chan_pjsip set header functions without checking the channel type, on the grounds that an error just means nothing happens, and one will work if any work. Your actual device is DAHDI/2, which is either the second analogue line, or the second channel on a primary or basic rate ISDN or other circuit switched digital interface. (Actually I think the channel numbers are indirected through chan_dahdi.conf, so may not represent the physical ones.

It is plain I have just enough knowledge to get me in trouble here, maybe I need to get more logs to see why this extension I have isolated this thing to is never getting the call

I am also trying to do this on the side between patients (dentist), so I am sure I didn’t remember to re-enable the verbose sip logging

Calls to our fax machine which is not a VOIP phone are getting routed appropriately… so I thought I had a SIP problem… maybe it’s something more simple, I set this up so long ago and it has been so bulletproof for years I have forgotten where what setting is

This line shows the call being routed to ext 100

[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [s@macro-exten-vm:26] Macro("DAHDI/1-1", "dial-one,15,HhTtr,100") in new stack	

This is the part where Asterisk attempts to determine the device(s) associated with ext 100 so it can dial them:

[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [dstring@macro-dial-one:1] Set(DAHDI/1-1, DSTRING=) in new stack||
[2022-06-20 22:33:09] VERBOSE[23620][C-00000007] pbx.c: Executing [dstring@macro-dial-one:2] Set(DAHDI/1-1, DEVICES=) in new stack||

Looking like you have missing AstDB entries for this extension, my guess is that all calls to ext 100 will fail, not just inbound calls thru dahdi. You can try resubmitting the extension 100 page and apply config to see if it resolves.

Thanks, for all the help guys.

Extension 100 is the VM and is working.

I am going to delete all my extensions, ring groups, and dial plans, and re-create. I only have 8 extensions under one ringgroup, and it’s such a simple setup I really need to re-learn everything, because I am uncomfortable with how much I have forgotten since I set all this up.

The file corruption theory has me thinking a clean slate might be the best.

Ding ding ding! That fixed it for my test extension, once I did it (3000) instead of the voicemail extension (100), AWESOME! SO now I will re-submit each extension and see if I can re-enable the ring group once I test it with each one.

Thanks all!

Or just run the command

fwconsole util resetastdb

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