[SR-Users] Display name in contact

David Villasmil david.villasmil.work at gmail.com
Mon Jul 17 20:59:42 CEST 2017


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
ᐧ

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337

On Mon, Jul 17, 2017 at 8:48 PM, Diego Nadares <dnadares at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170717/c6e308d3/attachment.html>


More information about the sr-users mailing list