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 daniel@voice-system.ro Subject: Re: [Users] Problem with module dispatcher To: Jose Gil Navarrete gijoenav@yahoo.com.mx Cc: users@openser.org Message-ID: 451CBF01.9030508@voice-system.ro 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
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 <daniel@voice-system.ro 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> Subject: Re: [Users] Problem with module dispatcher To: Jose Gil Navarrete <gijoenav@yahoo.com.mx 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> Cc: users@openser.org 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 Message-ID: <451CBF01.9030508@voice-system.ro 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> 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 Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Bodgan I use loose_route too, any idea? I have in the openser.cfg:
if (loose_route()) { # mark routing logic in request append_hf("P-hint: rr-enforced\r\n"); route(1); return; };
and in the route 1
route[1] { # send it out now; use stateful forwarding as it works reliably # even for UDP2TCP if (!t_relay()) { sl_reply_error(); }; }
Those are the traces with ngrep, this is the message that the softphone sent to the balancer openser server:
ACK sip:gil@192.168.1.28 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:alex@192.168.1.28:3806;tag=20935.. To: sip:gil@192.168.1.23;tag=80892cfed653db1187ca000f1f72ea95.. Call-ID: 80892CFE-D653-DB11-BC2B- 000F1F72EA95@192.168.1.28.. CSeq: 2 ACK..Contact: sip:alex@192.168.1.28:3806.. Max-Forwards: 70.. Content-Length: 0....
And, this is the message that the balancer openser server send:
ACK sip:gil@192.168.1.20: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:alex@192.168.1.28:3806;tag=20935.. To: sip:gil@192.168.1.23;tag=80892cfed653db1187ca000f1f72ea95.. Call-ID: 80892CFE-D653-DB11-BC2B-000F1F72EA95@192.168.1.28.. CSeq: 2 ACK..Contact: sip:alex@192.168.1.28:3806.. Max-Forwards: 69.. Content-Length: 0....
Regards!
Bogdan-Andrei Iancu bogdan@voice-system.ro 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: users@openser.org
Message-ID: <451CBF01.9030508@voice-system.ro
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 Users@openser.org 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
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:gil@192.168.1.28 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:alex@192.168.1.28:3806;tag=20935.. To: sip:gil@192.168.1.23;tag=80892cfed653db1187ca000f1f72ea95.. Call-ID: 80892CFE-D653-DB11-BC2B- 000F1F72EA95@192.168.1.28.. CSeq: 2 ACK..Contact: sip:alex@192.168.1.28:3806.. Max-Forwards: 70.. Content-Length: 0....
And, this is the message that the balancer openser server send:
ACK sip:gil@192.168.1.20: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:alex@192.168.1.28:3806;tag=20935.. To: sip:gil@192.168.1.23;tag=80892cfed653db1187ca000f1f72ea95.. Call-ID: 80892CFE-D653-DB11-BC2B-000F1F72EA95@192.168.1.28.. CSeq: 2 ACK..Contact: sip:alex@192.168.1.28:3806.. Max-Forwards: 69.. Content-Length: 0....
Regards!
*/Bogdan-Andrei Iancu bogdan@voice-system.ro/* 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: users@openser.org > > Message-ID: <451CBF01.9030508@voice-system.ro > > > 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 >Users@openser.org >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