Hello
here is the failure route:
failure_route[1] {
if (is_method("INVITE")
&& (isbflagset(6) || isflagset(5))) {
unforce_rtp_proxy();
}
if (t_was_cancelled()) {
exit;
}
}
Do I need to add t_relay() or route(1) ?
Thanks
Joao Pereira
Daniel-Constantin Mierla wrote:
Hello,
do you call t_relay() or route(1) in your failure route?
Post your failure route here. Seems you try to forward a failed
transaction without adding a new branch.
Cheers,
Daniel
On 03/24/2009 09:31 PM, Joao Gomes Pereira wrote:
Hello
I'm getting this error when I try to do URI calls:
LOG ---> T_ON_REPLY ERROR:tm:t_forward_nonack: no branch for forwarding
ERROR:tm:w_t_relay: t_forward_nonack failed
CRITICAL:tm:t_should_relay_response: pick_branch failed (lowest==-1)
for code 408
And X-Lite says: "Server error occurred"
My config is based in the sample configuration file that comes with
Kamailio.
Here is my route[1], where the call should be routed:
route[1] {
if (check_route_param("nat=yes")) {
setbflag(6);
}
if (isflagset(5) || isbflagset(6)) {
route(5);
}
/* example how to enable some additional event routes */
if (is_method("INVITE")) {
#t_on_branch("1");
log(3, "LOG ---> T_ON_REPLY \n");
t_on_reply("1");
t_on_failure("1");
}
if (!t_relay()) {
sl_reply_error();
}
exit;
}
My "branch_route", "on_reply_route" and "failure_route" are
just like
in kamailio.cfg.sample.
What could be causing this errors?
Thanks
Regards
Joao Pereira
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
StarTel - A Rede Livre
Joao Gomes Pereira
www.startel.pt
+351 304500650
sip: gomespereira(a)startel.pt