<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi,</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">In your load_balancer table you have to mention the dst_uri (gateway client in ur freepbx) resources(no of channels available in your freepbx), Probe mode set to be 2 if you want to probe your freepbx after a given period.</span></font></div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">| id | group_id | dst_uri | resources | probe_mode | description |</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">+----+------------+---------------------------------------+-----------+-----------------------+-----------------+</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
| 1 | 2 | sip:OpenSIPs@x.x.x.x<span style="white-space: pre-wrap; ">        </span> | sip=5 | 2 | FreePBX |</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
<br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Anyway when you are having single sip client in front of your opensips then you dont need to call Load_balancer.</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Do share your conf file for better understanding.</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Regards</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
Tushar</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
<br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><br><div class="gmail_quote">On Thu, Jun 30, 2011 at 6:22 PM, vip killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com">vipkilla@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>when i try to make a call i get this in the opensips log:<br> opensip1 /usr/local/sbin/opensips[32130]: ERROR:load_balancer:do_load_balance: unknown resource in input string </div>
<div><br></div><div>I think its because my load_balancer table is empty but i do not know what im supposed to put in there...</div>
<div><br></div><div>mysql> describe load_balancer;</div><div>+-------------+------------------+------+-----+---------+----------------+</div><div>| Field | Type | Null | Key | Default | Extra |</div>
<div>+-------------+------------------+------+-----+---------+----------------+</div><div>| id | int(10) unsigned | NO | PRI | NULL | auto_increment |</div><div>| group_id | int(11) unsigned | NO | | 0 | |</div>
<div>| dst_uri | char(128) | NO | MUL | NULL | |</div><div>| resources | char(255) | NO | | NULL | |</div><div>| probe_mode | int(11) unsigned | NO | | 0 | |</div>
<div>| description | char(128) | NO | | | |</div><div>+-------------+------------------+------+-----+---------+----------------+</div><div><br></div><div>Could someone fill me in on what is supposed to go in the table? I only have 1 FreeSWITCH box behind opensips.</div>
<div>Thanks.</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><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>