<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
isn't the username then decoded from the value of <br>
<br>
<a class="moz-txt-link-freetext" href="sip:TOPOH.KAMAILIO.IP;line=sr-N6IAzBy6WBy6MxFwW.qwPSW5ohWINhaYNLu4g9W4OhWI3wKLgRsIpUg5kGs7g9P-W.y6My**">sip:TOPOH.KAMAILIO.IP;line=sr-N6IAzBy6WBy6MxFwW.qwPSW5ohWINhaYNLu4g9W4OhWI3wKLgRsIpUg5kGs7g9P-W.y6My**</a><br>
<br>
In other words, when the follow up invite in Kamailio comes, can you
print the value of $ru with xlog and see if it has username?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 16/02/16 22:54, Igor Olhovskiy
wrote:<br>
</div>
<blockquote
cite="mid:CAJTkRNtXYnapyzOQ+OECe_gzM80iOm=Nv1sXZoi8JE9bT4hMyg@mail.gmail.com"
type="cite">
<div dir="ltr">Yep, got same problem.
<div>Not sure it’s a bug, but seems to be topoh module is really
lack some configuration.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-02-12 21:13 GMT+02:00 SamyGo <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi All,
<div>I've recently stumbled upon this little hitch while
using kamailio with topoh module that the Contact header
do not contains the User part for the 302 Moved
temporarily packet. </div>
<div><br>
</div>
<div><u>My topology:</u></div>
<div>UserA<====\ <br>
->Kamailio<===>FreeSwitch<br>
UserB<====/<br>
<br>
</div>
<div>The B party has set Call forwarding on their phone
hence phone sends a 302 Moved Temporarily to Kamailio. <br>
<br>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div><font face="monospace, monospace">Via: SIP/2.0/UDP
TOPOH.KAMAILIO.IP:5060;branch=z9hG4bK0767.4e4e57deca89da5c5f5ae97228325f85.0</font></div>
<div><font face="monospace, monospace">Via: SIP/2.0/UDP
TOPOH.KAMAILIO.IP;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7MGZLMGZwM.1LgRWIC9gIgx4fMGZAOBVAOBNfzuaVHRaYpB1LNSQLpx4uMx3Az6eL3RsBCxu-zRrUWSeOgjeBk.IVm4ds34aONc**</font></div>
<div><font face="monospace, monospace">From: "<a
moz-do-not-send="true" href="tel:%2B4319714111"
value="+4319714111" target="_blank">+4319714111</a>"
<sip:<a moz-do-not-send="true"
href="tel:%2B4319714111" value="+4319714111"
target="_blank">+4319714111</a>@FREESWITCH.IP.HERE>;tag=yUr5UZ7eF794K</font></div>
<div><font face="monospace, monospace">To:
<a class="moz-txt-link-rfc2396E" href="sip:502@USER.B.IP.HERE:5060"><sip:502@USER.B.IP.HERE:5060></a>;tag=105223296</font></div>
<div><font face="monospace, monospace">Call-ID:
cd811276-4b4d-1234-66ae-005056867dbc</font></div>
<div><font face="monospace, monospace">CSeq: 87257355
INVITE</font></div>
<div><font style="background-color:rgb(255,229,153)"
face="monospace, monospace">Contact:
<a class="moz-txt-link-rfc2396E" href="sip:06606017597@FREESWITCH.IP.HERE:5060"><sip:06606017597@FREESWITCH.IP.HERE:5060></a></font></div>
<div><font face="monospace, monospace">User-Agent:
Yealink SIP-T46G 28.80.0.70</font></div>
<div><font face="monospace, monospace">Diversion:
<a class="moz-txt-link-rfc2396E" href="sip:502@USER.B.IP.HERE:5060"><sip:502@USER.B.IP.HERE:5060></a>;reason=unconditional</font></div>
<div><font face="monospace, monospace">Content-Length: 0</font></div>
</div>
<div><font face="monospace, monospace"><br>
</font></div>
This is modified in Kamailio TOPOH and sent to FreeSwitch
as following<br>
<br>
<font face="monospace, monospace"><br>
</font>
<div><font face="monospace, monospace">SIP/2.0 302 Moved
Temporarily</font></div>
<div><font face="monospace, monospace">Via: SIP/2.0/UDP
10.0.20.71;received=10.0.20.71;rport=5060;branch=z9hG4bKeBcy9HKK9cDKr</font></div>
<div><font face="monospace, monospace">From: "<a
moz-do-not-send="true" href="tel:%2B4319714111"
value="+4319714111" target="_blank">+4319714111</a>"
<sip:<a moz-do-not-send="true"
href="tel:%2B4319714111" value="+4319714111"
target="_blank">+4319714111</a>@FREESWITCH.IP.HERE>;tag=yUr5UZ7eF794K</font></div>
<div><font face="monospace, monospace">To:
<a class="moz-txt-link-rfc2396E" href="sip:502@USER.B.IP.HERE:5060"><sip:502@USER.B.IP.HERE:5060></a>;tag=105223296</font></div>
<div><font face="monospace, monospace">Call-ID:
cd811276-4b4d-1234-66ae-005056867dbc</font></div>
<div><font face="monospace, monospace">CSeq: 87257355
INVITE</font></div>
<div><font style="background-color:rgb(255,217,102)"
face="monospace, monospace">Contact: <<font
color="#ff0000"><b><a class="moz-txt-link-freetext" href="sip:TOPOH.KAMAILIO.IP">sip:TOPOH.KAMAILIO.IP</a></b></font>;line=sr-N6IAzBy6WBy6MxFwW.qwPSW5ohWINhaYNLu4g9W4OhWI3wKLgRsIpUg5kGs7g9P-W.y6My**></font></div>
<div><font face="monospace, monospace">User-Agent: Yealink
SIP-T46G 28.80.0.70</font></div>
<div><font face="monospace, monospace">Diversion:
<a class="moz-txt-link-rfc2396E" href="sip:502@USER.B.IP.HERE:5060"><sip:502@USER.B.IP.HERE:5060></a>;reason=unconditional</font></div>
<div><font face="monospace, monospace">Content-Length: 0</font></div>
<div><br>
</div>
<div><br>
</div>
<div>Which results in a Call Originate from FreeSwitch
with RURI as this:</div>
<div><font style="background-color:rgb(255,217,102)"
face="monospace, monospace"><br>
</font></div>
<div><font style="background-color:rgb(255,217,102)"
face="monospace, monospace">INVITE <b><font
color="#cc0000"><a class="moz-txt-link-freetext" href="sip:TOPOH.KAMAILIO.IP">sip:TOPOH.KAMAILIO.IP</a></font></b>;line=sr-N6IAzBy6WBy6MxFwW.qwPSW5ohWINhaYNLu4g9W4OhWI3wKLgRsIpUg5kGs7g9P-W.y6My**
SIP/2.0</font><br>
</div>
<div><font style="background-color:rgb(255,217,102)"
face="monospace, monospace"><br>
</font></div>
<br>
I am thinking that in TOPOH Module some patch is required
to atleast retain the $rU for 3XX replies , not sure if
this will break some RFC or Kamailio stability etc !
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Sammy.</div>
<div><br>
</div>
</div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">Best regards,
<div>Igor</div>
</div>
</div>
</div>
<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://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>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
</body>
</html>