<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Thank you!</p>
<p><br>
</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 face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Daniel-Constantin Mierla <miconda@gmail.com><br>
<b>Sent:</b> Friday, November 4, 2016 9:27 AM<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>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 type="cite">
<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 face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><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>
</div>
</div>
</div>
</body>
</html>