<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div class="im" style="color: rgb(80, 0, 80); "><div>Hi Friends,<div><br></div><div>I am able to successfully install -</div>
<div>opensips 1.6</div><div>freeradius </div><div>CDRTool 8.0.19</div></div><div><br></div></div><div>I am struggling with load balancer, have gone through load balancer document and lots of forums related to load balancing. </div>
<div>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-</div><div><br></div><div>
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)</div><div>May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:tm:uri2proxy: bad_uri: XXX.YYY.YYY.YYY</div>
<div>May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:tm:uri2su: failed create a dst proxy</div><div>May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:tm:t_uac: no socket found</div><div>May 27 14:59:43 opensips /sbin/opensips[26416]: ERROR:load_balancer:lb_do_probing: probing failed</div>
<div><br></div><div><br></div><div>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.</div><div><br></div><div>Please highlight where am i making mistake</div>
<div><br></div><div><div>mysql> select * from load_balancer;</div><div>+----+----------+--------------+-----------+------------+-------------+</div><div>| id | group_id | dst_uri | resources | probe_mode | description |</div>
<div>+----+----------+--------------+-----------+------------+-------------+</div><div>| 1 | 0 | xxx.xxx.xxx.xxx | pstn=1 | 2 | SW#1 |</div><div>| 2 | 0 | yyy.yyy.yyy.yyy | pstn=1 | 2 | SW#2 |</div>
<div>+----+----------+--------------+-----------+------------+-------------+</div></div><div><br></div><div><div>mysql> select * from dr_groups;</div><div>+----+------------+-----------------+---------+-------------+</div>
<div>| id | username | domain | groupid | description |</div><div>+----+------------+-----------------+---------+-------------+</div><div>| 2 | NODID | xxx.xxx.xxx.xxx | 0 | Cetafone.UK |</div>
<div>| 6 | 1001 | xxx.xxx.xxx.xxx | 0 | Aman |</div><div>| 5 | 1000 | xxx.xxx.xxx.xxx | 0 | Tushar |</div><div>| 7 | 5038019974 | xxx.xxx.xxx.xxx | 0 | Cetafone.US |</div>
<div>+----+------------+-----------------+---------+-------------+</div></div><div><br></div><div><div>mysql> select * from dr_gw_lists;</div><div>+----+--------+-------------+</div><div>| id | gwlist | description |</div>
<div>+----+--------+-------------+</div><div>| 1 | 7,8 | |</div><div>+----+--------+-------------+</div><div>1 row in set (0.00 sec)</div></div><div><br></div><div><br></div><div><br></div></span><br>-- <br>
Regards<br> <br>Tushar Jain<br><br> <br>"two roads diverged in a wood, and I - I took the one less traveled by, and that has made all the difference" <br> <br>--Robert Frost " <br>