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 like
Contact:  <sip:90002@192.168.0.26:48579;transport=TLS>;some_id=90002-21080
But 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
--
Regards,

David Villasmil
phone: +34669448337
__________________________________________________________
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