[Kamailio-Users] t_forward_nonack

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 25 09:05:51 CET 2009


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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>   

-- 
Daniel-Constantin Mierla
SIP Router Masterclass - Kamailio (OpenSER) Training
http://www.asipto.com/index.php/sip-router-masterclass/





More information about the sr-users mailing list