Hi Jose,

I guess the address of the lb is 192.168.1.23, right? I see in receive ACK no Route hdr or RURI containing this address....

also, are you sure you ACK hits loose_route() ? how the RURI is changed doesn't reflects a loose_route() but more a static routing into the script...

regards,
bogdan

Jose Gil Navarrete wrote:

ACK sip:[EMAIL PROTECTED] SIP/2.0..
Via: SIP/2.0/UDP 192.168.1.28:3806;branch=z9hG4bK8010c001d753db11bc2c000f1f72ea95..
Route: <sip:192.168.1.20;lr=on;ftag=20935>..
From: alex <sip:[EMAIL PROTECTED]:3806>;tag=20935..
To: <sip:[EMAIL PROTECTED]>;tag=80892cfed653db1187ca000f1f72ea95..
Call-ID: 80892CFE-D653-DB11-BC2B- [EMAIL PROTECTED]
CSeq: 2 ACK..Contact: <sip:[EMAIL PROTECTED]:3806>..
Max-Forwards: 70..
Content-Length: 0....

And, this is the message that the balancer openser server send:

ACK sip:[EMAIL PROTECTED]:5060 SIP/2.0..
Via: SIP/2.0/UDP 192.168.1.23;branch=z9hG4bK9411.466dcab6.2..
Via: SIP/2.0/UDP 192.168.1.28:3806;branch=z9hG4bK8010c001d753db11bc2c000f1f72ea95..
Route: <sip:192.168.1.20;lr=on;ftag=20935>..
From: alex <sip:[EMAIL PROTECTED]:3806>;tag=20935..
To: <sip:[EMAIL PROTECTED]>;tag=80892cfed653db1187ca000f1f72ea95..
Call-ID: [EMAIL PROTECTED]
CSeq: 2 ACK..Contact: <sip:[EMAIL PROTECTED]:3806>..
Max-Forwards: 69..
Content-Length: 0....

Regards!



*/Bogdan-Andrei Iancu <[EMAIL PROTECTED]>/* escribió:

    Hi Jose,

    you need both record_route() and loose_route().

    regards,
    bogdan

    Jose Gil Navarrete wrote:

    > Hi
    > In my server I have:
    >
    > if (!method=="REGISTER"){
    > setflag(1);
    > setflag(2);
    > record_route();
    > }
    >
    >
    > Date: Fri, 29 Sep 2006 09:36:49 +0300
    > From: Daniel-Constantin Mierla
    > >
    > Subject: Re: [Users] Problem with module dispatcher
    > To: Jose Gil Navarrete
    > >
    > Cc: [email protected]
    >
    > Message-ID: <[EMAIL PROTECTED]
    > >
    > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    >
    > Hello,
    >
    > do you do record routing on server? The ACK should follow Route
    > headers.
    >
    > A network trace (ngrep, ethereal) will help to identify the
    cause for
    > the problem.
    >
    > Cheers,
    > Daniel
    >
    >
    > On 09/29/06 00:29, Jose Gil Navarrete wrote:
    > > Hi all
    > >
    > > I have implemented the load balance in mode statefull, I
    obtained the
    > > next messages:
    > >
    > > phone1 dispatcher
    > > sipserver phone2
    > > --------INVITE--------> ----INVITE----------->
    > > ----INVITE-------->
    > > <----100 TRYING---- <---100 TRYING---- <---100 TRYING----
    > > <----180 RINGING-- <---180 RINGING--- <---180 RINGING---
    > > <----200 OK---------- <----- 200 OK-------- <---200
    > > OK--------
    > > -------- ACK --------> --------- ACK -------->
    > >
    > >
    > > You can see that the sipserver never sends ACK message to
    > video_phone2.
    > > Is this correct?
    > >
    > > Then I try the next, in the sipserver:
    > > if (method =="ACK"){
    > > if (!t_relay()) {
    > > sl_reply_error();
    > > };
    > > return;
    > > }
    > >
    > > But the sipserver doesn't send the message ACK at the phone2?
    > > Does some body know what it's wrong?
    > >
    > >
    >
    >
    ------------------------------------------------------------------------
    > Do You Yahoo!? La mejor conexión a Internet y *2GB* extra a tu
    correo
    > por $100 al mes. http://net.yahoo.com.mx
    >
    >------------------------------------------------------------------------
    >
    >_______________________________________________
    >Users mailing list
    >[email protected]
    >http://openser.org/cgi-bin/mailman/listinfo/users
    >
    >


------------------------------------------------------------------------
Do You Yahoo!? La mejor conexión a Internet y *2GB* extra a tu correo por $100 al mes. http://net.yahoo.com.mx



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to