Hi,<div><br></div><div>I tried to debug, and found that after some calls resources for both the sip servers are to be 0 (selected for LB set with free=0 (max=0)) though max resource should be 5 and 4 respectively as set in database</div>
<div><br></div><div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div>mysql> select * from load_balancer;</div><div>+----+----------+---------------------------+-----------+------------+-------------+</div>
<div>| id | group_id | dst_uri | resources | probe_mode | description |</div><div>+----+------------+---------------------------------------+-----------+-----------------------+-----------------+</div>
<div>| 1 | 2 | sip:OpenSIPs@x.x.x.1<span style="white-space: pre-wrap; ">        </span> | sip=5 | 2 | SW#1 |</div><div>| 2 | 2 | sip:OpenSIPs@x.x.x.2 | sip=4 | 2 | SW#2 |</div>
<div>+----+----------+---------------------------+-----------+------------+-------------+</div><div>2 rows in set (0.00 sec)</div></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
<br></div></div><div>Logs of a call when the user get service full message-</div><div>--------------------------------------------------------------------------------------</div><div><p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:load_balancer:do_load_balance: found requested (0) resource sip</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:dialog:build_new_dlg: new dialog 0xaf3a30e0
(c=b572b37109405e2cZTQ4M2IyNWE0MDhmNjIwZTJlNzdiYTJiZjA5NWM3Yzc.,f=sip:1000@x.x.x.x,t=sip:12127773456@OpenSIPs,ft=654b3f0e)
on hash 2221</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:core:parse_headers: flags=ffffffffffffffff</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:dialog:init_leg_info: route_set , contact sip:1000@x.x.x.x:62516, cseq 1
and bind_addr udp:x.x.x.x:5060</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:dialog:dlg_add_leg_info: set leg 0 for 0xaf3a30e0: tag=<654b3f0e>
rcseq=<1></p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:dialog:link_dlg: ref dlg 0xaf3a30e0 with 3 -> 3</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:rr:add_rr_param: adding (;did=da8.8b87f721) 0x81b5c24</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:load_balancer:do_load_balance: destination <sip:OpenSIPs@x.x.x.1>
selected for LB set with free=0 (max=0)</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:load_balancer:do_load_balance: destination <sip:OpenSIPs@x.x.x.2>
selected for LB set with free=0 (max=0)</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:load_balancer:do_load_balance: no destination found</p>
<p class="MsoNormal">Jun 13 13:19:39 opensips /sbin/opensips[28951]:
DBG:core:comp_scriptvar: int 26 : -2 / 0</p><br><div class="gmail_quote">Please let me know how to make the LB work effectively </div>-- <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>
</div>