Flood WARNINGS in CLI

With the console writes these messages very much. How to fix it?

[2014-01-23 14:27:01] WARNING[14072][C-00000046]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:27:01] WARNING[14072][C-00000046]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:27:01] WARNING[14072][C-00000046]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:27:01] WARNING[14072][C-00000046]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:32:16] WARNING[14077][C-00000047]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:32:16] WARNING[14077][C-00000047]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:32:16] WARNING[14077][C-00000047]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:32:16] WARNING[14077][C-00000047]: chan_sip.c:21904 func_header_read: This function can only be used on SIP channels.
[2014-01-23 14:32:16] WARNING[14077][C-00000047]: pbx.c:6390 __ast_pbx_run: Channel ‘Local/[email protected];2’ sent to invalid extension but no invalid handler: context,exten,priority=from-internal,return,1

Quite literally, the dialplan you made doesn’t work for other than a SIP protocol endpoint…

E.g. a call came in from your PSTN, IAX won’t work with SIPHeaders variable dumping or manipulating …