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