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@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- 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