Pjsip errors where page should be

I am having a problem. When my scheduled page is supposed to go off, I get this:

[2015-01-27 20:41:56] WARNING[15150][C-00005ee5]: chan_sip.c:22046 function_sippeer: SIPPEER(): usage of ':' to separate arguments is deprecated.  Please use ',' instead.
[2015-01-27 20:41:56] ERROR[15154][C-00005ee6]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15154][C-00005ee6]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15150][C-00005ee5]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15161][C-00005ee8]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15150][C-00005ee5]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15161][C-00005ee8]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15165][C-00005eec]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] WARNING[15168][C-00005eeb]: chan_sip.c:22046 function_sippeer: SIPPEER(): usage of ':' to separate arguments is deprecated.  Please use ',' instead.
[2015-01-27 20:41:56] ERROR[15165][C-00005eec]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15163][C-00005ee9]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15173][C-00005ef0]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15163][C-00005ee9]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15173][C-00005ef0]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15174][C-00005eed]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15174][C-00005eed]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15177][C-00005ef2]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15177][C-00005ef2]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15175][C-00005eef]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15175][C-00005eef]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15166][C-00005eea]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15168][C-00005eeb]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15168][C-00005eeb]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15166][C-00005eea]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15178][C-00005ef1]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15178][C-00005ef1]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15159][C-00005ee7]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15159][C-00005ee7]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15176][C-00005eee]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered
[2015-01-27 20:41:56] ERROR[15176][C-00005eee]: pbx.c:4387 ast_func_write: Function PJSIP_HEADER not registered

Problem is that I am not using pjsip for anything, as I am running Asterisk 11 under my FreePBX 12.0.33.
Here’s another one that happens when a scheduled page is supposed to dial a custom device. It errs when it tries to add a PJSIP_HEADER. I am not using pjsip.

[2015-01-27 20:40:01] VERBOSE[14398][C-00005ed3] pbx.c:     -- Executing [addheader@autoanswer:2] Set("Local/21003@from-internal-custom-00005afd;1", "PJSIP_HEADER(add,Alert-Info)=Ring Answer") in new stack
[2015-01-27 20:40:01] ERROR[14398][C-00005ed3] pbx.c: Function PJSIP_HEADER not registered

I got an answer from Andrew Nagy in IRC - he said these errors are normal and that I should ignore them.
I am using Asterisk 11, but pjsip is supported in Asterisk 13, not 11, so the errors would go away in 13.

Still, I hate that there are so many “normal” errors that one must ignore. It makes the console output rather useless.

Yeah a year later and I am having your same issue with asterisk 13

Same here. When connected to a line, these populated.

- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:608 ast_func_read: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:651 ast_func_read2: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:608 ast_func_read: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:651 ast_func_read2: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:608 ast_func_read: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:651 ast_func_read2: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:608 ast_func_read: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:651 ast_func_read2: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:608 ast_func_read: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:651 ast_func_read2: Function PJSIP_HEADER not registered
- [2018-07-14 17:54:03] WARNING[33667][C-0000008b]: chan_sip.c:22961 func_header_read: This function can only be used on SIP chan nels.
- [2018-07-14 17:54:03] ERROR[33667][C-0000008b]: pbx_functions.c:608 ast_func_read: Function PJSIP_HEADER not registered

Asterisk Version 13

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