[SR-Users] Custom info in Contact header
Daniel-Constantin Mierla
miconda at gmail.com
Sun Nov 21 21:14:50 CET 2021
Hello,
you are confusing what are Contact header parameters and Contact URI
parameters.
If you want to be preserved in location and used later in R-URI, you
have to give it as Contact URI parameter (like transport), but some_id
is given as Contact header parameter.
Cheers,
Daniel
On 21.11.21 20:30, Sergiu Pojoga wrote:
> I don't think the specifics matter that much, but the general idea of
> preserving the Contact URI parameter for subsequent messages is
> reasonable and I've seen it work like that with other non-Kamailio
> registrars.
>
> I wonder if this also happens without fix_nated_register before save().
>
> On Sun., Nov. 21, 2021, 1:49 p.m. David Villasmil,
> <david.villasmil.work at gmail.com> wrote:
>
> Any specific reason to insert that parameter in the contact as
> opposed to just adding a custom header?
>
> On Sun, 21 Nov 2021 at 17:53, Igor Olhovskiy
> <igorolhovskiy at gmail.com> wrote:
>
> Hello!
>
> On REGISTER I have a Contact header like
> Contact:
> <sip:90002 at 192.168.0.26:48579;transport=TLS>;some_id=90002-21080
> But on callingfix_nated_register() ->save(), param some_id is
> lost from info, so, on INVITE to this account, some_id not
> appears in RURI.
> Is this a bug or a feature and I do need to find some workaround?
>
>
> --
> Best regards,
> Igor
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not
> reply only to the sender!
> Edit mailing list options or unsubscribe:
> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply
> only to the sender!
> Edit mailing list options or unsubscribe:
> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
> * 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
Kamailio Advanced Training - Online
Feb 21-24, 2022 (America Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211121/d531d488/attachment.htm>
More information about the sr-users
mailing list