<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span><b>Hi Khue,</b></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span><br></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span>Please find the necessary configuration that I have done for Load Balancing work, the calls are going and Load balance is also working but the problem is that I am getting much packets of ACK & 200OK, please see the configuration as:</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span><br></span></div><div><span><font class="Apple-style-span" size="2"><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> # the method used is different for
invite/register requests</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> # unknown methods are rejected here</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> if (is_method("INVITE")) {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> if (!load_balance("1","pstn","1")) {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> send_reply("503","Service Unavailable");</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">
exit;</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> }</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> }</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> else if (is_method("REGISTER")) {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> if (!ds_select_dst("1", "0")) {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> send_reply("503","Service Unavailable");</font></div><div><font
class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> exit;</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> }</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> }</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> else {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> send_reply("405","Method Not Allowed");</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">
exit;</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> }</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"><br></font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> # route the request</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> if (!t_relay()) {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> sl_reply_error();</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> }</font></div><div><font
class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">}</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"> </font> </div></font></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "> </div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; ">Warmest Regards,<br><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><b>Faisal Rehman</b><br><div style="font-size: 10pt; font-family: tahoma, 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> nguyen khue
<minhkhue49da@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> Faisal Rehman <faisal.rehman22@yahoo.com>; "users@lists.opensips.org" <users@lists.opensips.org><br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 29, 2011 7:56 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] (no subject)<br></font><br>
<div id="yiv1062804842"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div><span>Hi Faisal,</span></div><div><span><br></span></div><div><span>Please post your config file.</span></div><div><span><br></span></div><div><span>Best regards,</span></div><div><span>Khue Nguyen.</span></div><div><br></div><div style="font-size: 12pt; font-family: times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Faisal Rehman <faisal.rehman22@yahoo.com><br><b><span style="font-weight:bold;">To:</span></b> "users@lists.opensips.org" <users@lists.opensips.org><br><b><span style="font-weight:bold;">Sent:</span></b> Thursday, September 29, 2011 8:39 PM<br><b><span style="font-weight:bold;">Subject:</span></b> [OpenSIPS-Users] (no
subject)<br></font><br><div id="yiv1062804842"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: tahoma, times, serif; "><div><span class="yiv1062804842Apple-style-span" style="color: rgb(69, 69, 69); font-size: 12px; font-family: Arial, Helvetica, sans-serif; "><div class="yiv1062804842msg-body yiv1062804842inner yiv1062804842undoreset" style="margin-top:25px;margin-right:24px;margin-bottom:22px;margin-left:29px;"><div id="yiv1062804842"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><div><span><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif"><b>Hi Everyone,</b></font></span></div><div><span><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div><span><font class="yiv1062804842Apple-style-span" face="tahoma, 'new
york', times, serif">I am just testing calls
from OpenSIPS to Free-Switch but I am facing a problem that too many ACK & 200OK packets are being generated by OpenSIPS, so how can I remove this problem.</font></span></div><div><span><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif"> </font></div><div><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif">With Best Regards,<br><br></font></div><div><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif"><b>Faisal Rehman</b></font></div><div><font class="yiv1062804842Apple-style-span" face="tahoma, 'new york', times, serif"><b><br></b></font></div></div></div></div></span></div></div></div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br><br><br></div></div></div></div><br><br></div></div></div></div></body></html>