Hi Bogdan,
Sorry for the delayed reply.
I resumed to look into this issue after a break and I confirmed that the
invite request is going back and forth between the load balancer and the
proxy. Just to revisit the setup as the IP's got changed :
UAC(192.168.100.21:5065)---LB
Hi Bogdan,
Sorry for the delayed reply.
I resumed to look into this issue after a break and I confirmed that
the invite request is going back and forth between the load balancer
and the proxy. Just to revisit the setup as the IP's got changed :
UAC(192.168.100.21:5065)---LB
Hi Bogdan ,
I will try the script_trace and make a call.
Meanwhile I had put xlogs in the load balancer script to see the
destination and RURI.
The destination is coming as NULL when I try to make a call using sipp.
Also error message is seen in the LB logs when the call is executed :
Hi Mayur,
The simplest way to debug this is by using the script_trace() function -
see:
http://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc43
Simply add in the very begging of your script:
script_trace( 1, "$rm from $si, ruri=$ru/$du", "LB");
and make a call - see the
Hi Bogdan,
Thanks for your time and looking into this.
I am using the Load balancer script which is generated from the menuconfig
as it is. The script was generated after I compiled and build opensips .
Did not made much changes to it.
Need to find out the reason why it is looping inside LB and
Hi MAyur,
Your trance does not show the INVITE being route outside the LB (.19).
Even more there is a "Too many hops reply" back, suggesting that a loop
is created on the LB and the INVITE is never sent to the destination
(but keep re-routed back to LB).
When you do t_relay() in your
Hi Bogdan,
Thanks for the Reply.
Yes The opensips load balancer is able to reach destinations which is
configured in the load balancer table as I can see in the wireshark
logs and opensips logs of the SIP Proxy server.
I have removed one SIP proxy in the table and the load distribution
table
Hi,
Are you sure the OpenSIPS LB is able to reach via SIP the destinations
you configured in the LB table ? Run a single call (with sipp) and make
a network capture to understand how the call is routed.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
Reposting the setup part as was not visible clearly in the previous mail.
My setup is like :
->
Opensips Proxy 1 > UAS 1
UAC -> Load Balancer
> Opensips
Proxy