<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Duarte,</p>
<p>you are using the uac module to store the From and To in the headers. Do you see some error messages in the kamailio log during the forwarding? The Route header uses the multi-line format with comma-separator, but this is allowed.</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 25.07.19 um 12:51 schrieb Duarte Rocha:<br>
</div>
<blockquote type="cite" cite="mid:CAAJJHZg9BHia0v0WrOjEK1G+TvcudtQ3C=UauzVwuobT9BsfGw@mail.gmail.com">
<div dir="auto">
<div dir="auto">Greetings, </div>
<div dir="auto"><br>
</div>
<div dir="auto">When a in-dialog request has Route headers, Kamailio will remove the Route Header with it's address when routing the packet. </div>
<div dir="auto">This works perfectly for me in every situation. However, in one of the calls I found a weird behaviour in the removal.</div>
<div dir="auto"><br>
</div>
<div dir="auto"> </div>
<div dir="auto">So, this is the scenario : </div>
<div dir="auto"><br>
</div>
<div dir="auto">Kamailio has two IP's 1.1.1.209 and 1.1.1.205. This is BYE request received in the on 1.1.1.209</div>
<div dir="auto"><br>
</div>
<div dir="auto">The header Route looks like this when it arrives at 1.1.1.209 :</div>
<div dir="auto"> </div>
<div dir="auto">Route : <sip:1.1.1.209;r2=on;lr;ftag=5AE0303037363132017D0E65;tbk_i=2_2_Y;tbk_o=128_11_Y;vsf=AAAAABgGBAMDAAUBBQECA3ByAwMcHwIdHQsWHwUMOA--;vst=AAAAABgHDQgBAwsIBQECdnIDAxwfAh0aBB4cAgU5;did=8f5.67c2>,<sip:1.1.1.205;r2=on;lr;ftag=5AE0303037363132017D0E65;tbk_i=2_2_Y;tbk_o=128_11_Y;vsf=AAAAABgGBAMDAAUBBQECA3ByAwMcHwIdHQsWHwUMOA--;vst=AAAAABgHDQgBAwsIBQECdnIDAxwfAh0aBB4cAgU5;did=8f5.67c2></div>
<div dir="auto"><br>
</div>
<div dir="auto">It reaches 1.1.1.205 like this : </div>
<div dir="auto"><br>
</div>
<div dir="auto">Route : </div>
<div dir="auto"><br>
</div>
<div dir="auto">As you can see, the header is empty and it should contain the 1.1.1.205 URI. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Is the header Router malformatted and creating this error ? </div>
<div dir="auto"><br>
</div>
<div dir="auto">Best Regards,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Duarte Rocha</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<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>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a></pre>
</body>
</html>