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
http://www.opensips-solutions.com
OpenSIPS Summit 2018
http://www.opensips.org/events/Summit-2018Amsterdam
On 01/08/2018 06:08 PM, Mayur Koshal wrote:
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 2 -----> UAS 2
Regards
Mayur
On Mon, Jan 8, 2018 at 9:16 PM, Mayur Koshal <[email protected]> wrote:
Hi Everyone,
I have configured and build opensips as a Load Balancer but am not
able to make it work.
Not able to figure out where the problem is ?
Request your help in resolving the issue ..
My setup is like :
--------->
Opensips Proxy 1 ----> UAS 1
UAC -----> Load Balancer
--------> Opensips
Proxy 2 -----> UAS 2
where UAC = 192.168.100.18
Load Balancer = 192.168.100.18:5060
OPensips Proxy 1 = 192.168.100.194:5060
Opensips Proxy 2 = 192.168.100.187:5060
sipp UAS 1 = 192.168.100.194:5080
sipp UAS 2 = 192.168.100.187:5080
I use the below sipp command for
Sipp UAC Command : ./sipp -sn uac -rsa 192.168.100.18:5060 192.168.100.194:5080
Sipp UAS1 Command : ./sipp -sn uas
When I bypass the load balancer and use sipp to test opensips proxy it
works fine.
When I run the Load Balancer I can see in the wireshark logs as: ICMP
590 Destination unreachable (Port unreachable).
In the opensips logs it goes to the failure route and displays message
Failed trunk 192.168.100.194/<null> detected.
The load distribution table I am using is as below :
mysql> select * from load_balancer;
+----+----------+---------------------+-----------+------------+-------------+
| id | group_id | dst_uri | resources | probe_mode | description |
+----+----------+---------------------+-----------+------------+-------------+
| 1 | 1 | sip:192.168.100.194 | sip=64 | 0 | Server1 |
| 2 | 1 | sip:192.168.100.187 | sip=64 | 0 | Server2 |
+----+----------+---------------------+-----------+------------+-------------+
2 rows in set (0.00 sec)
The load balancer script, Proxy script, Load balancer logs are below.
Load Balancer Script :
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users