[Kamailio-Users] t_realy in failure_route?

Iñaki Baz Castillo ibc at aliax.net
Thu Sep 3 21:25:23 CEST 2009


El Jueves, 3 de Septiembre de 2009, Ricardo Martinez escribió:
> failure_route[1]   {
> ...
>         if ( t_check_status("486") ) {
>                 xlog("L_INFO","[$ci] 486 Received\n");
>                         
>           }
> ...
> 
>         t_relay();
> }

You are calling t_relay without creating a new branch so there is no more 
branches and the log you get is correct.


You should do something like:

failure_route[1]   {
...
        if ( t_check_status("486") ) {
                xlog("L_INFO","[$ci] 486 Received\n");
                        
          }
...  
        append_branch("sip:XXXX at VOICEMAIL_IP");
        t_relay();
}



-- 
Iñaki Baz Castillo <ibc at aliax.net>




More information about the sr-users mailing list