Hi Stefan,

there was a bug in TM that was fixed couple of days ago - please update from CVS.

regards,
bogdan

Stefan Prelle wrote:

Hi all,

I'm using the OpenSER in a scenario in which I distribute incoming SIP
calls among three gateways. Basically all I do is

route[4] {
       if (uri=~"sip:.+[0-4]@") {
               t_on_failure("20");
               route(20);
       } else if (uri=~"sip:.+[5-7]@") {
               t_on_failure("21");
               route(21);
       } else {
               t_on_failure("22");
               route(22);
       }
}
route[20] {   #### route[21] and [22] similiar
       rewritehost("111.222.333.444");
       if (!t_relay()) {
               sl_reply_error();
       };
}
failure_route[20] {
       if (t_check_status("503")) {
               log(1,"Overload detected on XXX - try YYY\n");
               t_on_failure("3");
               append_branch();
               route(21);
       }
}

I see several error messages every second and they all look like this:

BUG:tm:run_failure_handlers: stack level is 1!!

Can anyone explain me what is causing this?

Regards,
 Stefan


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



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

Reply via email to