<p>Thanks Vlad</p>
<div class="gmail_quote">On Nov 8, 2011 12:30 PM, "Vlad Paiu" <<a href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
You can edit the time after which OpenSIPS internally generated a 408 Timeout by altering the TM module params. See <a href="http://www.opensips.org/html/docs/modules/devel/tm.html#id250308" target="_blank">http://www.opensips.org/html/<u></u>docs/modules/devel/tm.html#<u></u>id250308</a><br>
<br>
Regards,<br>
<br>
Vlad Paiu<br>
OpenSIPS Developer<br>
<br>
<br>
On 11/08/2011 12:13 AM, Schneur Rosenberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok it was working it just took a very long time until it timed out.<br>
<br>
thank you<br>
<br>
On Mon, Nov 7, 2011 at 10:59 PM,<<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Your setup looks pretty much like this guy except for your first IF<br>
statement<br>
<a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Load-balancer-probe-mode-1-bug-td4245085.html#a5715729" target="_blank">http://opensips-open-sip-<u></u>server.1449251.n2.nabble.com/<u></u>Load-balancer-probe-mode-1-<u></u>bug-td4245085.html#a5715729</a><br>
<br>
Put this before your first IF statement and then try again<br>
<br>
xlog("L_INFO", "------ BEFORE LB IF Statement: Call [$rm] ru[$ru] fu[$fu]<br>
si[$si] \n");<br>
<br>
<br>
<br>
On , Schneur Rosenberg<<a href="mailto:rosenberg11219@gmail.com" target="_blank">rosenberg11219@<u></u>gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
<br>
<br>
I'm not yet experienced enough in opensips, so please bear with me.<br>
<br>
<br>
<br>
I set up a opensips to loadbalance 2 asterisk servers, in the failure<br>
<br>
route I placed<br>
<br>
<br>
<br>
<br>
<br>
if (t_check_status("(408)")&& t_local_replied("all"))<br>
<br>
{<br>
<br>
lb_disable();<br>
<br>
<br>
<br>
# Try to load balance once again<br>
<br>
if ( load_balance("2","pstn","1") )<br>
<br>
{<br>
<br>
t_on_failure("1");<br>
<br>
t_relay();<br>
<br>
}<br>
<br>
else<br>
<br>
{<br>
<br>
t_reply("503","Service Unavailable");<br>
<br>
}<br>
<br>
}<br>
<br>
My loadbalancing probing is set to 1 in the database, now when I shut<br>
<br>
Asterisk Opensips will keep on trying again and again because asterisk<br>
<br>
is not replying, how can I have Opensips realize that it timed out and<br>
<br>
create a 408 timeout that will trigger the lb_disable()?<br>
<br>
<br>
<br>
S. Rosenberg<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<br>
Users mailing list<br>
<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div>