[SR-Users] Contact header requirement

David Villasmil david.villasmil.work at gmail.com
Tue Dec 3 00:01:43 CET 2019


Hello Fred,

Yeah that's what I did, just to see if they'd accept the INVITE, but no
joy... I don't think they're very clear as to what exactly I should be
sending.. So i have a call with them tomorrow, let's see what they say.
And thanks for the suggestion!

Regards,

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


On Mon, Dec 2, 2019 at 10:51 PM Fred Posner <fred at palner.com> wrote:

> You could do a really ugly hack...
>
> remove_hf("Contact");
>
> and then insert the Contact with something like...
>
> insert_hf("Contact: <sip:$var(user)@PROXYIP;hack=ugly>\r\n");
>
> And then on the client leg...
>
> if ($(ru{uri.param,hack}) == "ugly")
>
> replace it with the original....
>
> But this is very, very ugly and Alex's approach is better. =)
>
> Fred Posner
> fred at qxork.com
> https://qxork.com
> Direct/SMS: +1 (336) 439-3733
>
> Need Fred? Call Fred. 336-HEY-FRED
> Matrix: @fred:matrix.lod.com
>
>
> _______________________________________________
> 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/20191202/4f030cb1/attachment.html>


More information about the sr-users mailing list