<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 9/5/13 11:23 PM, Daniel-Constantin
      Mierla wrote:<br>
    </div>
    <blockquote cite="mid:5228F655.2000703@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      on the second peer, when you get the replicated REGISTER, don't
      call fix_natted_contact().<br>
    </blockquote>
    to complete: neither call fix_nated_registrar()<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <blockquote cite="mid:5228F655.2000703@gmail.com" type="cite"> <br>
      Also, received and socket should be passed via header form first
      server to the backup. Practically, the second server should get
      the values from headers, store them in avp and then call save().<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      <div class="moz-cite-prefix">On 9/5/13 2:40 PM, Marc Soda wrote:<br>
      </div>
      <blockquote
cite="mid:CAFBTUUZqrBa==FpfNG5OB+Z2oxOhnQY6KdJoB1CCiWu9QL7CKA@mail.gmail.com"
        type="cite">
        <div dir="ltr">Also, I tried setting the Contact header in
          onsend_route, but it seems that it's overwritten after that.
           Perhaps I need to modify it on the second Kamailio server?
           Is it possible to change it before it's sent on the first
          server?<br>
          <div class="gmail_extra"><br>
            <br>
            <div class="gmail_quote">On Wed, Sep 4, 2013 at 8:53 AM,
              Marc Soda <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:msoda@coredial.com" target="_blank">msoda@coredial.com</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div dir="ltr">Hey all,
                  <div><br>
                  </div>
                  <div>I have 2 Kamailio systems replicating REGISTER's
                    to each other.  However, I've noticed that the
                    Contact header seems to be wrong on the second
                    server.</div>
                  <div><br>
                  </div>
                  <div>For example, if I have endpoint 1.1.1.1
                    registering to 2.2.2.2, then 2.2.2.2 is calling
                    t_replicate() to 3.3.3.3, the Contact header once it
                    is received on 3.3.3.3 is <a moz-do-not-send="true"
                      href="mailto:user@2.2.2.2" target="_blank">user@2.2.2.2</a>.
                     I think it should be <a moz-do-not-send="true"
                      href="mailto:user@1.1.1.1" target="_blank">user@1.1.1.1</a>.</div>
                  <div><br>
                  </div>
                  <div>Where's the best place to change this before it
                    is sent?<span class="HOEnZb"><font color="#888888"><br
                          clear="all">
                        <div><br>
                        </div>
                      </font></span></div>
                </div>
              </blockquote>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
  - more details about Kamailio trainings at <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>