<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the problem here seems to be the update of To header. Are you
    changing the To URI as well? I don't see the parameter for it in the
    Route header.<br>
    <br>
    From URI handling seems to be ok.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 2/21/13 11:12 PM, Ronald Voermans
      wrote:<br>
    </div>
    <blockquote
      cite="mid:176F047A-FEA3-422B-9F32-E31C0770A295@global-datacenter.nl"
      type="cite">
      <pre wrap="">
Responding to myself: attached is an ngrep (made by homer/sipcature server). Some strange things are happening. When I do a ngrep on the Kamailio, I see the ACK gets mangled:

SIP UA -&gt; Kamalio
ACK <a class="moz-txt-link-freetext" href="sip:08000403@10.254.254.20:5060">sip:08000403@10.254.254.20:5060</a> SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.10:56953;branch=z9hG4bK-d8754z-170b73a13fd7a39d-1---d8754z-.
Max-Forwards: 70.
Route: <a class="moz-txt-link-rfc2396E" href="sip:10.254.254.1;lr;ftag=868b7d56;nat=yes;vsf=czFwOkQpYzVueyNnLEMbCDY6fyo/ejIqLXoQM2IvdwpSA14CTmo8PmQ-">&lt;sip:10.254.254.1;lr;ftag=868b7d56;nat=yes;vsf=czFwOkQpYzVueyNnLEMbCDY6fyo/ejIqLXoQM2IvdwpSA14CTmo8PmQ-&gt;</a>.
Contact: <a class="moz-txt-link-rfc2396E" href="sip:r.voermans@192.168.1.10:56953;transport=UDP">&lt;sip:r.voermans@192.168.1.10:56953;transport=UDP&gt;</a>.
To: <a class="moz-txt-link-rfc2396E" href="sip:08000403@10.254.254.1;transport=UDP">&lt;sip:08000403@10.254.254.1;transport=UDP&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c84dac9696f.
From: "testcallerid"<a class="moz-txt-link-rfc2396E" href="sip:r.voermans@10.254.254.1;transport=UDP">&lt;sip:r.voermans@10.254.254.1;transport=UDP&gt;</a>;tag=868b7d56.
Call-ID: YWYwY2M0MTcwM2VmMTUxMTdkMTUwNDFhM2E2NjI3MTg..
CSeq: 2 ACK.
Proxy-Authorization: Digest username="r.voermans",realm="10.254.254.1",nonce="USabJ1EmmfuYD+XnJVMqKQkK6/VmiXJ8",uri=<a class="moz-txt-link-rfc2396E" href="sip:08000403@10.254.254.1;transport=UDP">"sip:08000403@10.254.254.1;transport=UDP"</a>,response="25e0d8980c67d1785948a44de4e51b44",algorithm=MD5.
User-Agent: Zoiper Communicator 2.04.10164 rev.10204.
Content-Length: 0.
.


Kamailio -&gt; SIP UA
U 2013/02/21 23:04:52.911391 10.254.254.1:5060 -&gt; 10.254.254.20:5060
ACK <a class="moz-txt-link-freetext" href="sip:08000403@10.254.254.20:5060">sip:08000403@10.254.254.20:5060</a> SIP/2.0.
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:10.254.254.1;lr;ftag=868b7d56;nat=yes">&lt;sip:10.254.254.1;lr;ftag=868b7d56;nat=yes&gt;</a>.
Via: SIP/2.0/UDP 10.254.254.1;branch=z9hG4bKcydzigwkX.
Via: SIP/2.0/UDP 192.168.1.10:56953;rport=56953;branch=z9hG4bK-d8754z-170b73a13fd7a39d-1---d8754z-.
Max-Forwards: 69.
Contact: <a class="moz-txt-link-rfc2396E" href="sip:r.voermans@192.168.1.10:56953;transport=UDP">&lt;sip:r.voermans@192.168.1.10:56953;transport=UDP&gt;</a>.
To: <a class="moz-txt-link-rfc2396E" href="sip:#x)1,+2']..qmu.vinu5l{3(yuv....O!y.DP">&lt;sip:#x)1,+2']..qmu.vinu5l{3(yuv....O!y.DP&gt;</a>;tag=a94c095b773be1dd6e8d668a785a9c84dac9696f.
From: "testcallerid"<a class="moz-txt-link-rfc2396E" href="sip:anonymous@anonymous.invalid">&lt;sip:anonymous@anonymous.invalid&gt;</a>;tag=868b7d56.
Call-ID: YWYwY2M0MTcwM2VmMTUxMTdkMTUwNDFhM2E2NjI3MTg..
CSeq: 2 ACK.
User-Agent: Zoiper Communicator 2.04.10164 rev.10204.
Content-Length: 0.
.

restore_mode modparam is set to 'auto', and I checked that the vsf in Route-headers are correct. Any clues?

Regards,
Ronald



Op 21 feb. 2013, om 16:49 heeft Ronald Voermans &lt;<a class="moz-txt-link-abbreviated" href="mailto:r.voermans@global-datacenter.nl">r.voermans@global-datacenter.nl</a><a class="moz-txt-link-rfc2396E" href="mailto:r.voermans@global-datacenter.nl">&lt;mailto:r.voermans@global-datacenter.nl&gt;</a>&gt; het volgende geschreven:


Hi,


this last weekend we went live from the old 3.0 version to the latest stable release of Kamailio (3,3,0). All went well, except for one issue. We make use of uac_replace_from in our config, in case a client needs CLIR: uac_replace_from("Anonymous",<a class="moz-txt-link-rfc2396E" href="sip:anonymous@anonymous.invalid">"sip:anonymous@anonymous.invalid"</a>);

Since the upgrade we receive the following error:

uac [replace.c:521]: new URI shorter than old URI

Which causes the call to be disconnected after about 20/30 seconds. This, because the ACK is received by Kamailio, but cannot be 'linked' to the transaction i guess.

What is exactly causing this issue and, more importantly, is there any way to resolve this?

Thanks in advance,

Regards,
Ronald Voermans

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.sip-router.org">&lt;mailto:sr-users@lists.sip-router.org&gt;</a>
<a 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a 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 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 World Conference, April 16-17, 2013, Berlin
 - <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
  </body>
</html>