<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p><br>
    </p>
    <p>the default mechanism is relying on endpoints not changing the
      values. If you use latest 4.4 branch, there is a safety check to
      prevent breaking the sip message in such cases.<br>
    </p>
    <p><br>
    </p>
    <p>Anyhow, if the endpints change the From/To, then likely you don't
      need to restore them, because they match the dialogs by rfc3261
      tag parameters. So you can switch to restore mode manual.</p>
    <p><br>
    </p>
    <p>If you still need to do restore, then you can't rely on
      endpoints, and you have to switch to use dialog module for storing
      the initial values -- see more into the readme of the uac module.</p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03/11/16 16:31, Tobias wrote:<br>
    </div>
    <blockquote
cite="mid:VI1PR0201MB1583519DF98B036FB04F1863F7A30@VI1PR0201MB1583.eurprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hi,</p>
        <p><br>
        </p>
        <p>Yes, you're right, there is actually a '+<CC>' missing
          in the reINVITE. For some reason the number is suddenly on a
          local format. That will upset Kamailio?</p>
        <p><br>
        </p>
        <p>Kind regards,</p>
        <p>/Tobias</p>
        <br>
        <br>
        <div style="color: rgb(0, 0, 0);">
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              face="Calibri, sans-serif" color="#000000"><b>From:</b>
              Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
              <b>Sent:</b> Thursday, November 3, 2016 2:34 PM<br>
              <b>To:</b> Tobias; Kamailio (SER) - Users Mailing List<br>
              <b>Subject:</b> Re: [SR-Users] Malformed To header, or?</font>
            <div> </div>
          </div>
          <div>
            <p>Hello,</p>
            <p><br>
            </p>
            <p>is there a '+' missing after sip: in the To of the
              re-invite vs the From of the initial invite?</p>
            <p><br>
            </p>
            <p>Cheers,<br>
              Daniel<br>
            </p>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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 Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>