<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>All,</p>
    <p>Thanks, yes, Header Parameters are not surviving
      fix_nated_register(), but URI - are.</p>
    <pre class="moz-signature" cols="72">Regards,
Igor</pre>
    <div class="moz-cite-prefix">On 21.11.2021 22:38, Sergiu Pojoga
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJZsGCkW7VnQVNxTBNy=j8g5CsQUp=CATWR4xXNLJW4UjNqBZA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Right... as always, the devil's in the details.
        <div><br>
        </div>
        <div>Contact: <<a class="moz-txt-link-freetext" href="sip:90002@192.168.0.26:48579;transport=TLS">sip:90002@192.168.0.26:48579;transport=TLS</a><b>;some_id=90002-21080</b>></div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, Nov 21, 2021 at 3:14
          PM Daniel-Constantin Mierla <<a
            href="mailto:miconda@gmail.com" moz-do-not-send="true">miconda@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <p>Hello,</p>
            <p>you are confusing what are Contact header parameters and
              Contact URI parameters.</p>
            <p>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.</p>
            <p>Cheers,<br>
              Daniel<br>
            </p>
            <div>On 21.11.21 20:30, Sergiu Pojoga wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="auto">
                <div>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.</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">I wonder if this also happens without
                  fix_nated_register before save(). <br>
                  <br>
                  <div class="gmail_quote" dir="auto">
                    <div dir="ltr" class="gmail_attr">On Sun., Nov. 21,
                      2021, 1:49 p.m. David Villasmil, <<a
                        href="mailto:david.villasmil.work@gmail.com"
                        target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px 0.8ex;border-left:1px solid
                      rgb(204,204,204);padding-left:1ex">
                      <div dir="auto">Any specific reason to insert that
                        parameter in the contact as opposed to just
                        adding a custom header?</div>
                      <div><br>
                        <div class="gmail_quote">
                          <div dir="ltr" class="gmail_attr">On Sun, 21
                            Nov 2021 at 17:53, Igor Olhovskiy <<a
                              href="mailto:igorolhovskiy@gmail.com"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">igorolhovskiy@gmail.com</a>>
                            wrote:<br>
                          </div>
                          <blockquote class="gmail_quote"
                            style="margin:0px 0px 0px
                            0.8ex;border-left:1px solid
                            rgb(204,204,204);padding-left:1ex">
                            <div dir="ltr">
                              <div>Hello!</div>
                              <div><br>
                              </div>
                              <div>On REGISTER I have a Contact header
                                like</div>
                              <div><font style="color:rgb(0,0,0)"
                                  size="4"><span
                                    style="font-family:monospace">Contact:
                                     <a moz-do-not-send="true"><sip:90002@192.168.0.26:48579;transport=TLS></a>;some_id=90002-21080</span></font></div>
                              <div>But on calling<span
                                  style="font-family:monospace"> <font
style="font-family:monospace;color:rgb(0,0,0)" size="4">fix_nated_register()</font></span>
                                -><span style="font-family:monospace">
                                  <font
                                    style="font-family:monospace;color:rgb(0,0,0)"
                                    size="4">save()</font></span>, param
                                <font style="color:rgb(0,0,0)" size="4"><span
                                    style="font-family:monospace">some_id</span></font>
                                is lost from info, so, on INVITE to this
                                account, <font style="color:rgb(0,0,0)"
                                  size="4"><span
                                    style="font-family:monospace">some_id</span></font>
                                not appears in RURI. <br>
                              </div>
                              <div>Is this a bug or a feature and I do
                                need to find some workaround?</div>
                            </div>
                            <div dir="ltr">
                              <div><br>
                              </div>
                              <div><br>
                                -- <br>
                                <div dir="ltr">
                                  <div dir="ltr">Best regards,
                                    <div>Igor</div>
                                  </div>
                                </div>
                              </div>
                            </div>
__________________________________________________________<br>
                            Kamailio - Users Mailing List - Non
                            Commercial Discussions<br>
                              * <a
                              href="mailto:sr-users@lists.kamailio.org"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
                            Important: keep the mailing list in the
                            recipients, do not reply only to the sender!<br>
                            Edit mailing list options or unsubscribe:<br>
                              * <a
                              href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                              rel="noreferrer noreferrer"
                              target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                          </blockquote>
                        </div>
                      </div>
                      -- <br>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div>Regards,</div>
                          <div><br>
                          </div>
                          David Villasmil
                          <div>email: <a
                              href="mailto:david.villasmil.work@gmail.com"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
                          <div>phone: +34669448337</div>
                        </div>
                      </div>
__________________________________________________________<br>
                      Kamailio - Users Mailing List - Non Commercial
                      Discussions<br>
                        * <a href="mailto:sr-users@lists.kamailio.org"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
                      Important: keep the mailing list in the
                      recipients, do not reply only to the sender!<br>
                      Edit mailing list options or unsubscribe:<br>
                        * <a
                        href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                        rel="noreferrer noreferrer" target="_blank"
                        moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
            </blockquote>
            <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
  Feb 21-24, 2022 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank" moz-do-not-send="true">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
  </body>
</html>