Hello,
for operations over headers, subst_hf() could come also handy sometimes.
Btw, be careful not to do operations over the same header many times, use msg_apply_changes() if you have to.
Cheers,
Daniel
The display name shouldn't affect anything, best is just to test it. You can use something like:
xlog("L_ERR", "Contact header: $ct\n");$var(mycontact) = $ct;
*** Manipulate the content as needed ***
remove_hf("Contact");append_hf("Contact: <$var(mycontact)>\r\n");
Hope this helpsᐧ
On Mon, Jul 17, 2017 at 8:48 PM, Diego Nadares <dnadares@gmail.com> wrote:
Hi guys,
Is possible to cut change/delete display name in contact header? Does this breaks something?
Cheers,
Diego.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com