<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-2022-JP"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
i'm facing some problems with loose_route, may it be with ACK or BYE
messages.<br>
<br>
Here is the situation :<br>
<br>
- 2 softphones : let's call them A and B (on different IP addresses : <i>A_ip
</i>and<i> B_ip</i>).<br>
<br>
A's username is "voip2".<br>
<br>
A registers on this platform :<br>
<br>
- a stateless SER on <i>stateless_ip</i><br>
<br>
- a statefull SER on <i>statefull_ip</i><br>
<br>
B registers on another platform that i do not know (see <i>Bplatform_ip</i>)<br>
<br>
When B calls A, INVITE messages are smoothly forwarded and relayed.<br>
<br>
Same case for trying, OK and 180 ringing.<br>
<br>
However, when B sends ACK after (INVITE, trying, OK), here is what ser
stateless receives :<br>
<br>
<br>
ACK <font color="#3333ff">sip:voip2@<i>stateless_ip</i></font> SIP/2.0<br>
Record-Route: &lt;sip:voip2@<i>Bplatform_ip</i>;ftag=368e6f71;lr=on&gt;<br>
Via: SIP/2.0/UDP <i>Bplatform_ip</i>;branch=0<br>
Via: SIP/2.0/UDP <i>B_ip</i>:64064;received=<i>B_public_ip</i>;branch=z9hG4bK-d87543-226b496c2343f701-1--d87543-;rport=2301<br>
Max-Forwards: 69<br>
<font color="#ff0000">Route: &lt;sip:<i>stateless_ip</i>;lr=on&gt;
(****)<br>
Route: &lt;sip:<i>statefull_ip</i>;ftag=368e6f71;lr=on&gt; (****)</font><br>
Route: &lt;sip:<i>stateless_ip</i>;lr=on&gt;<br>
<br>
<br>
this message is loose_routed and then forwarded (loose_route();
forward(uri:host, uri:port);)<br>
<br>
and then here is what ser stateless sends to ser statefull :<br>
<br>
<br>
ACK <font color="#3333ff">sip:<i>stateless_ip</i>;lr=on</font> SIP/2.0<br>
Record-Route: &lt;sip:voip2@<i>Bplatform_ip</i>;ftag=368e6f71;lr=on&gt;<br>
Via: SIP/2.0/UDP <i>stateless_ip</i>;branch=0<br>
Via: SIP/2.0/UDP <i>Bplatform_ip</i>;branch=0<br>
Via: SIP/2.0/UDP <i>B_ip</i>:64064;received=<i>B_public_ip</i>;branch=z9hG4bK-d87543-226b496c2343f701-1--d87543-;rport=2301<br>
Max-Forwards: 16<br>
Route: &lt;sip:<i>stateless_ip</i>;lr=on&gt;<br>
<br>
<br>
Here are my parameters for ser stateless concerning rr module :<br>
modparam("rr", "enable_full_lr", 1)<br>
modparam("rr", "enable_double_rr", 0)<br>
modparam("rr","append_fromtag",0)<br>
<br>
<br>
Then, there are two things that i don't understand and make confusion
to ser statefull:<br>
<br>
- why did <font color="#ff0000">(****) Routes</font> disappear ?<br>
<br>
- why did <font color="#3333ff">ruri</font> changed in ACK message
sent to ser statefull?<br>
<br>
any help would be appreciated, thanks in advance,<br>
<pre class="moz-signature" cols="72">-- 
Jean-Michel Foucher
OpenWengo, the free and multiplatform VoIP client
<a class="moz-txt-link-freetext" href="http://dev.openwengo.com/">http://dev.openwengo.com/</a>

</pre>
</body>
</html>