Errors since switching to PJSIP

We switched all extensions to PJSIP and now we have these errors flooding asterisk -r. I’m not sure if it bug or is it another “normal” warning/error.

[2018-08-27 14:45:02] ERROR[11129][C-0000130e]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:45:03] WARNING[11129][C-0000130e]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:45:41] WARNING[11578][C-0000130f]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:45:41] ERROR[11578][C-0000130f]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:45:41] ERROR[11578][C-0000130f]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:45:41] WARNING[11840][C-0000130f]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:45:44] WARNING[11874][C-00001313]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:45:51] ERROR[12044][C-00001315]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:46:04] WARNING[12271][C-00001316]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
    --     -- LazyMembers debugging - Numbusies: 0, Nummems: 3
[2018-08-27 14:46:38] ERROR[12939][C-0000131c]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:46:38] WARNING[12939][C-0000131c]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:46:59] WARNING[13280][C-00001322]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
    --     -- LazyMembers debugging - Numbusies: 0, Nummems: 3
[2018-08-27 14:48:06] WARNING[14686][C-0000132a]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:48:24] WARNING[14957][C-0000132d]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:48:31] WARNING[15141][C-00001330]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:48:41] WARNING[15088][C-0000132f]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:48:45] ERROR[15435][C-00001332]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:48:52] WARNING[15141][C-00001330]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:49:01] WARNING[15711][C-00001336]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
    --     -- LazyMembers debugging - Numbusies: 0, Nummems: 6
[2018-08-27 14:49:11] ERROR[15986][C-00001338]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:11] ERROR[15985][C-00001338]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:11] ERROR[15987][C-00001338]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:11] ERROR[15988][C-00001338]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:11] ERROR[15989][C-00001338]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:11] ERROR[15990][C-00001338]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:11] WARNING[15962][C-00001337]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:49:11] ERROR[15962][C-00001337]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:49:11] ERROR[15962][C-00001337]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:49:11] WARNING[16000][C-00001337]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:49:12] ERROR[16000][C-00001337]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:49:12] ERROR[16000][C-00001337]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:49:27] WARNING[16412][C-0000133e]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:49:27] ERROR[16423][C-0000133f]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
[2018-08-27 14:49:27] WARNING[16423][C-0000133f]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
[2018-08-27 14:49:27] ERROR[16423][C-0000133f]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:49:27] ERROR[16423][C-0000133f]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
[2018-08-27 14:49:27] ERROR[16428][C-0000133f]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered

I think it’s related to dialparties.agi

 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is 'William' number is 'XXXXXXXXXX'
 dialparties.agi: CW Ignore is: 
 dialparties.agi: CF Ignore is: 
 dialparties.agi: CW IN_USE/BUSY is: 0
    -- AGI Script Executing Application: (SIPAddHeader) Options: (Alert-Info:Info=Inbound)
[2018-08-27 15:16:32] WARNING[21470][C-00001583]: res_agi.c:3148 handle_exec: Could not find application (SIPAddHeader)
 dialparties.agi: Methodology of ring is  'ringall'

The Audiohook is:

-- Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/5402-00003efc", "Starting recording: out, 0004321") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("PJSIP/5402-00003efc", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
[2018-08-27 15:16:37] ERROR[21557][C-00001584]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
-- Executing [recordcheck@sub-record-check:18] Set("PJSIP/5402-00003efc", "__CALLFILENAME=out-longnumber") in new stack

PJSIP is:

-- Local/5009431337@from-internal-0000100d;1 Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [s@func-apply-sipheaders:1] NoOp("Local/5009431337@from-internal-0000100d;1", "Applying SIP Headers to channel") in new stack
-- Executing [s@func-apply-sipheaders:2] Set("Local/5009431337@from-internal-0000100d;1", "SIPHEADERKEYS=Alert-Info") in new stack
-- Executing [s@func-apply-sipheaders:3] ExecIf("Local/5009431337@from-internal-0000100d;1", "0?Set(Rheader=1)") in new stack
-- Executing [s@func-apply-sipheaders:4] While("Local/5009431337@from-internal-0000100d;1", "1") in new stack
-- Executing [s@func-apply-sipheaders:5] Set("Local/5009431337@from-internal-0000100d;1", "sipheader=Info=Inbound") in new stack
-- Executing [s@func-apply-sipheaders:6] Set("Local/5009431337@from-internal-0000100d;1", "PJSIP_HEADER(add,Alert-Info)=Info=Inbound") in new stack
[2018-08-27 15:18:59] ERROR[24608][C-0000158d]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
-- Executing [s@func-apply-sipheaders:7] EndWhile("Local/5009431337@from-internal-0000100d;1", "") in new stack
-- Executing [s@func-apply-sipheaders:4] While("Local/5009431337@from-internal-0000100d;1", "0") in new stack
-- Executing [s@func-apply-sipheaders:8] ExecIf("Local/5009431337@from-internal-0000100d;1", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
-- Executing [s@func-apply-sipheaders:9] Return("Local/5009431337@from-internal-0000100d;1", "") in new stack
1 Like

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