[SR-Users] Compact SIP

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 13 09:30:48 CEST 2020


Hello,

I don't recall having any out-of-the-box function for it, but you should
be able to leverage the text operation functions, like:

replace_hdrs("^f:", "From:");

If you need to see the update in the config, you have to see the
msg_apply_changes() function.

Otherwise, it should not be hard to add such a function, I will try to
implement it when I get some spare time.

Cheers,
Daniel


On 12.07.20 16:52, Abdoul Osséni wrote:
> Sorry, my request was not clear.
>
> For some calls, we need to restore SIP full header messages.
> Can this task be done with Kamailio?
>  
> Regards
>
> Abdoul OSSENI
>
>
> Le dim. 12 juil. 2020 à 14:53, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> a écrit :
>
>     Hello,
>
>     what do you mean by disable compact header in Kamailio? Reject
>     traffic that comes with compact header names?
>
>     Cheers,
>     Daniel
>
>     On 12.07.20 10:48, Abdoul Osséni wrote:
>>     Hello,
>>
>>     I use Kamailio and Asterisk.
>>     SIP Compact header is activated by ASTERISK
>>     (https://www.cs.columbia.edu/sip/compact.html).
>>     I am trying to disable the SIP Compact header on KAMAILIO.
>>
>>     Is it possible?
>>
>>     Regards
>>     Abdoul OSSENI
>>
>>     _______________________________________________
>>     Kamailio (SER) - Users Mailing List
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Funding: https://www.paypal.me/dcmierla
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200713/67f538cf/attachment.htm>


More information about the sr-users mailing list