Queue This function can only be used on SIP channels

Hi, guys i have this error on FreePbx chan_sip.c:22193 func_header_read: This function can only be used on SIP channels. this errror only is show when Queque received a call

Version: 10.13.66-13
Asterisk: 11.25.1

Error:

 -- Executing [s@macro-user-callerid:33] Set("Local/1933@from-queue-000000e1;2", "CDR(cnum)=1201") in new stack
    -- Executing [s@macro-user-callerid:34] Set("Local/1933@from-queue-000000e1;2", "CHANNEL(language)=es") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/1933@from-queue-000000e1;2", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/1933@from-queue-000000e1;2", "__EXTTOCALL=1933") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/1933@from-queue-000000e1;2", "__PICKUPMARK=1933") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/1933@from-queue-000000e1;2", "RT=") in new stack
[2017-01-26 10:25:05] WARNING[5720][C-00000130]: chan_sip.c:22193 func_header_read: This function can only be used on SIP channels.
    -- Executing [s@macro-exten-vm:6] ExecIf("Local/1933@from-queue-000000e1;2", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2017-01-26 10:25:05] WARNING[5720][C-00000130]: chan_sip.c:22193 func_header_read: This function can only be used on SIP channels.
[2017-01-26 10:25:05] WARNING[5720][C-00000130]: chan_sip.c:22193 func_header_read: This function can only be used on SIP channels.
    -- Executing [s@macro-exten-vm:7] ExecIf("Local/1933@from-queue-000000e1;2", "0?MacroExit()") in new stack
[2017-01-26 10:25:05] WARNING[5720][C-00000130]: chan_sip.c:22193 func_header_read: This function can only be used on SIP channels.
    -- Executing [s@macro-exten-vm:8] Gosub("Local/1933@from-queue-000000e1;2", "sub-record-check,s,1(exten,1933,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("Local/1933@from-queue-000000e1;2", "4?initialized") in new stack
    -- Goto (sub-record-check,s,10)

It’s not an error it is a WARNING. Ignore them. If you care about the technicalities, the context [macro-exten-vm] checks the chan_sip header for certain values, but since you not using a chan_sip channel a warning is triggered. I assume you are using a chan_pjsip extension.

i am using normal chan_sip

Nope.

You’re using a Queue, which is talking through the LOCAL interface.

Ok, and I have to do to normalize this, because the bpx was not made changes and the error appeared from nowhere

The simplest solution is to ignore it. Your calls are going through and everything should be working fine.

Yes, there is a warning, but it’s not impacting any of your calls or operations. Also, it HAS probably been doing this since your last upgrade at least.

One more time - it is not an error it is a warning. Submit an Issues ticket asking for the warning to be suppressed and see if the guys will fix it. Be warned - this is going to be one of the lowest priority tickets in the system because it has no effect on anything unless you are scanning though the log files.

ok, thanks for your time and help!