Hello,

You can edit the time after which OpenSIPS internally generated a 408 Timeout by altering the TM module params. See http://www.opensips.org/html/docs/modules/devel/tm.html#id250308

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/08/2011 12:13 AM, Schneur Rosenberg wrote:
Ok it was working it just took a very long time until it timed out.

thank you

On Mon, Nov 7, 2011 at 10:59 PM,<[email protected]>  wrote:
Your setup looks pretty much like this guy except for your first IF
statement
http://opensips-open-sip-server.1449251.n2.nabble.com/Load-balancer-probe-mode-1-bug-td4245085.html#a5715729

Put this before your first IF statement and then try again

xlog("L_INFO", "------ BEFORE LB IF Statement: Call [$rm] ru[$ru] fu[$fu]
si[$si] \n");



On , Schneur Rosenberg<[email protected]>  wrote:
Hi



I'm not yet experienced enough in opensips, so please bear with me.



I set up a opensips to loadbalance 2 asterisk servers, in the failure

route I placed





        if (t_check_status("(408)")&&  t_local_replied("all"))

        {

                lb_disable();



                # Try to load balance once again

                if ( load_balance("2","pstn","1") )

                {

                        t_on_failure("1");

                        t_relay();

                }

                else

                {

                        t_reply("503","Service Unavailable");

                }

        }

My loadbalancing probing is set to 1 in the database, now when I shut

Asterisk Opensips will keep on trying again and again because asterisk

is not replying, how can I have Opensips realize that it timed out and

create a 408 timeout that will trigger the lb_disable()?



S. Rosenberg



_______________________________________________

Users mailing list

[email protected]

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to