[SR-Users] Proxy-Require: privacy error

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 24 09:23:44 CEST 2015


This is not related to log messages -- see the parameter:

http://kamailio.org/docs/modules/stable/modules/sanity.html#sanity.p.proxy_require

You can remove the check for proxy-require header from sanity_check()
parameter as well.

Cheers,
Daniel

On 22/08/15 11:08, Chad wrote:
> Well I can't ignore them, the call fails too, it returns:
> SIP/2.0 420 Bad Extension
>
>
> ^C
>
>
> On 8/22/2015 12:31 AM, Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> checked the code and the messages are printed only for debugging
>> purposes, but using ERROR log level. You can just ignore them, are
>> harmless.
>>
>> I pushed a patch to master branch not to print them, it will be
>> backported.
>>
>> Cheers,
>> Daniel
>>
>> On 22/08/15 00:20, Chad wrote:
>>> When a call comes in with a SIP header: "Proxy-Require: privacy" line
>>> kamailio throws this error:
>>>
>>> Aug 21 14:27:57 load1 /usr/sbin/kamailio[29447]: ERROR: <core>
>>> [parser/hf.c:224]: dump_hdr_field(): DEBUG: dump_hdr_field: type=18,
>>> name=Proxy-Require, body=privacy, parsed=(nil), next=0x7efc42f15150
>>> Aug 21 14:27:57 load1 /usr/sbin/kamailio[29446]: ERROR: <core>
>>> [parser/hf.c:224]: dump_hdr_field(): DEBUG: dump_hdr_field: type=18,
>>> name=Proxy-Require, body=privacy, parsed=(nil), next=0x7efc42f0a7b0
>>> Aug 21 14:27:58 load1 /usr/sbin/kamailio[29447]: ERROR: <core>
>>> [parser/hf.c:224]: dump_hdr_field(): DEBUG: dump_hdr_field: type=18,
>>> name=Proxy-Require, body=privacy, parsed=(nil), next=0x7efc42f13180
>>> Aug 21 14:27:58 load1 /usr/sbin/kamailio[29446]: ERROR: <core>
>>> [parser/hf.c:224]: dump_hdr_field(): DEBUG: dump_hdr_field: type=18,
>>> name=Proxy-Require, body=privacy, parsed=(nil), next=0x7efc42f0dfb8
>>>
>>> Anyone know why that happens or how to fix it?
>>>
>>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com




More information about the sr-users mailing list