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
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@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@gmail.com> wrote:
Hello!
On REGISTER I have a Contact header likeContact: <sip:90002@192.168.0.26:48579;transport=TLS>;some_id=90002-21080But on calling fix_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@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@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@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/