[OpenSIPS-Users] Issue with load balancer
Tushar Jain
tusshar.jain at gmail.com
Sat May 28 09:57:12 CEST 2011
Hi Friends,
I am able to successfully install -
opensips 1.6
freeradius
CDRTool 8.0.19
I am struggling with load balancer, have gone through load balancer document
and lots of forums related to load balancing.
I am having 2 sip servers which on normal scenario are connecting the calls
but when I tries to configure load balancer to balance the these two sip
servers I am getting the following errors-
May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:core:parse_uri: bad
uri, state 0 parsed: <XXX.> (4) / <XXX.YYY.YYY.YYY> (12)
May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:tm:uri2proxy: bad_uri:
XXX.YYY.YYY.YYY
May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:tm:uri2su: failed
create a dst proxy
May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:tm:t_uac: no socket
found
May 27 14:59:43 opensips /sbin/opensips[26416]:
ERROR:load_balancer:lb_do_probing: probing failed
i dont know why parse is showing only first octet of the destination IP(SIP
Server). I tried to ngrep but cant able to catch any 5060 packet in any
direction.
Please highlight where am i making mistake
mysql> select * from load_balancer;
+----+----------+--------------+-----------+------------+-------------+
| id | group_id | dst_uri | resources | probe_mode | description |
+----+----------+--------------+-----------+------------+-------------+
| 1 | 0 | xxx.xxx.xxx.xxx | pstn=1 | 2 | SW#1 |
| 2 | 0 | yyy.yyy.yyy.yyy | pstn=1 | 2 | SW#2 |
+----+----------+--------------+-----------+------------+-------------+
mysql> select * from dr_groups;
+----+------------+-----------------+---------+-------------+
| id | username | domain | groupid | description |
+----+------------+-----------------+---------+-------------+
| 2 | NODID | xxx.xxx.xxx.xxx | 0 | Cetafone.UK |
| 6 | 1001 | xxx.xxx.xxx.xxx | 0 | Aman |
| 5 | 1000 | xxx.xxx.xxx.xxx | 0 | Tushar |
| 7 | 5038019974 | xxx.xxx.xxx.xxx | 0 | Cetafone.US |
+----+------------+-----------------+---------+-------------+
mysql> select * from dr_gw_lists;
+----+--------+-------------+
| id | gwlist | description |
+----+--------+-------------+
| 1 | 7,8 | |
+----+--------+-------------+
1 row in set (0.00 sec)
--
Regards
Tushar Jain
"two roads diverged in a wood, and I - I took the one less traveled by, and
that has made all the difference"
--Robert Frost "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110528/31aff542/attachment.htm>
More information about the Users
mailing list