Hi Bodgan<br>I use loose_route too, any idea?<br>I have in the openser.cfg:<br><br>&nbsp;if (loose_route()) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # mark routing logic in request<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf("P-hint: rr-enforced\r\n");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>&nbsp;};<br><br>and in the route 1<br><br>route[1]<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # send it out now; use stateful forwarding as it works reliably<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # even for UDP2TCP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_relay()) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 sl_reply_error();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>}<br><br>Those are the traces with ngrep, this is the message that the softphone sent to the balancer openser server:<br><br>ACK sip:gil@192.168.1.28 SIP/2.0..<br>Via: SIP/2.0/UDP 192.168.1.28:3806;branch=z9hG4bK8010c001d753db11bc2c000f1f72ea95..<br>Route: &lt;sip:192.168.1.20;lr=on;ftag=20935&gt;..<br>From: alex &lt;sip:alex@192.168.1.28:3806&gt;;tag=20935..<br>To: &lt;sip:gil@192.168.1.23&gt;;tag=80892cfed653db1187ca000f1f72ea95..<br>Call-ID: 80892CFE-D653-DB11-BC2B- 000F1F72EA95@192.168.1.28..<br>CSeq: 2 ACK..Contact: &lt;sip:alex@192.168.1.28:3806&gt;..<br>Max-Forwards: 70..<br>Content-Length: 0....<br><br>And, this is the message that the balancer openser server send:<br><br>ACK sip:gil@192.168.1.20:5060 SIP/2.0..<br>Via: SIP/2.0/UDP 192.168.1.23;branch=z9hG4bK9411.466dcab6.2..<br>Via: SIP/2.0/UDP 192.168.1.28:3806;branch=z9hG4bK8010c001d753db11bc2c000f1f72ea95..<br>Route:
 &lt;sip:192.168.1.20;lr=on;ftag=20935&gt;..<br>From: alex &lt;sip:alex@192.168.1.28:3806&gt;;tag=20935..<br>To: &lt;sip:gil@192.168.1.23&gt;;tag=80892cfed653db1187ca000f1f72ea95..<br>Call-ID: 80892CFE-D653-DB11-BC2B-000F1F72EA95@192.168.1.28..<br>CSeq: 2 ACK..Contact: &lt;sip:alex@192.168.1.28:3806&gt;..<br>Max-Forwards: 69..<br>Content-Length: 0....&nbsp; <br><br><br>Regards!<br><br><br><br><b><i>Bogdan-Andrei Iancu &lt;bogdan@voice-system.ro&gt;</i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Jose,<br><br>you need both record_route() and loose_route().<br><br>regards,<br>bogdan<br><br>Jose Gil Navarrete wrote:<br><br>&gt; Hi<br>&gt; In my server I have:<br>&gt;  <br>&gt; if (!method=="REGISTER"){<br>&gt;                 setflag(1);<br>&gt;                 setflag(2);<br>&gt;                 record_route();<br>&gt; }<br>&gt;  <br>&gt;  <br>&gt; Date: Fri, 29 Sep 2006 09:36:49
 +0300<br>&gt; From: Daniel-Constantin Mierla <daniel@voice-system.ro><br>&gt; <http: //mx.f525.mail.yahoo.com/ym/compose?to="daniel@voice-system.ro&amp;YY=90702&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;head=b">&gt;<br>&gt; Subject: Re: [Users] Problem with module dispatcher<br>&gt; To: Jose Gil Navarrete <gijoenav@yahoo.com.mx><br>&gt; <http: //mx.f525.mail.yahoo.com/ym/compose?to="gijoenav@yahoo.com.mx&amp;YY=90702&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;head=b">&gt;<br>&gt; Cc: users@openser.org <br>&gt; <http: //mx.f525.mail.yahoo.com/ym/compose?to="users@openser.org&amp;YY=90702&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;head=b"><br>&gt; Message-ID: &lt;451CBF01.9030508@voice-system.ro <br>&gt; <http:
 //mx.f525.mail.yahoo.com/ym/compose?to="451CBF01.9030508@voice-system.ro&amp;YY=90702&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;head=b">&gt;<br>&gt; Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>&gt;<br>&gt; Hello,<br>&gt;<br>&gt; do you do record routing on server? The ACK should follow Route<br>&gt; headers.<br>&gt;<br>&gt; A network trace (ngrep, ethereal) will help to identify the cause for<br>&gt; the problem.<br>&gt;<br>&gt; Cheers,<br>&gt; Daniel<br>&gt;<br>&gt;<br>&gt; On 09/29/06 00:29, Jose Gil Navarrete wrote:<br>&gt; &gt; Hi all<br>&gt; &gt;<br>&gt; &gt; I have implemented the load balance in mode statefull, I obtained the<br>&gt; &gt; next messages:<br>&gt; &gt;<br>&gt; &gt; phone1                 dispatcher              <br>&gt; &gt; sipserver                  phone2<br>&gt; &gt;     --------INVITE--------&gt;    ----INVITE-----------&gt;     <br>&gt; &gt; ----INVITE--------&gt;<br>&gt; &gt;    
 &lt;----100 TRYING----    &lt;---100 TRYING----      &lt;---100 TRYING----<br>&gt; &gt;     &lt;----180 RINGING--    &lt;---180 RINGING---      &lt;---180 RINGING---<br>&gt; &gt;     &lt;----200 OK----------     &lt;----- 200 OK--------      &lt;---200<br>&gt; &gt; OK--------<br>&gt; &gt;     -------- ACK --------&gt;     --------- ACK --------&gt;   <br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; You can see that the sipserver never sends ACK message to<br>&gt; video_phone2.<br>&gt; &gt; Is this correct?<br>&gt; &gt;<br>&gt; &gt; Then I try the next, in the sipserver:<br>&gt; &gt;  if (method =="ACK"){<br>&gt; &gt;                 if (!t_relay()) {<br>&gt; &gt;                         sl_reply_error();<br>&gt; &gt;                 };<br>&gt; &gt;                 return;<br>&gt; &gt;         }<br>&gt; &gt;<br>&gt; &gt; But the sipserver doesn't send the message ACK at the phone2?<br>&gt; &gt; Does some body know what it's wrong?<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;
 ------------------------------------------------------------------------<br>&gt; Do You Yahoo!? La mejor conexión a Internet y *2GB* extra a tu correo <br>&gt; por $100 al mes. http://net.yahoo.com.mx<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________<br>&gt;Users mailing list<br>&gt;Users@openser.org<br>&gt;http://openser.org/cgi-bin/mailman/listinfo/users<br>&gt;  <br>&gt;<br><br></http:></http:></http:></gijoenav@yahoo.com.mx></http:></daniel@voice-system.ro></blockquote><br><p>&#32;
                <hr size=1>  
Do You Yahoo!? 
La mejor conexión a Internet y <b>2GB</b> extra a tu correo por $100 al mes. <a href="http://net.yahoo.com.mx">http://net.yahoo.com.mx</a>