[Users] redirect - timer C

Andréa Giordanna andrea_giordanna at yahoo.com.br
Tue Nov 22 22:38:38 CET 2005


Hi, bogdan
 
 Is it supposed to work even if no final response (like 408 Timeout Request) is received and C timer fires?
 Or this code would be executed only when a message 408 is received?
 
 Thanks, 
 Giordanna

 
Bogdan-Andrei Iancu <bogdan at voice-system.ro> escreveu: Hi Andréa,

try to catch the 408 time out and to generate a 302 from failure route:

failure_route[] {
    if (t_check_status("408")) {
       append_branch("sip:redirect_contact at domain");
       t_reply("302","redirect");
       exit;
    }
}

regards,
bogdan

Andréa Giordanna wrote:

> Hi all,
>
> How can I configure openser to send a 302 message only when timer C 
> fires?
> Is it possible?
>
> Thanks,
> Giordanna
>
> ------------------------------------------------------------------------
> Yahoo! Acesso Grátis: Internet rápida e grátis.
> Instale o discador agora! 
>  
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>




		
---------------------------------
 Yahoo! Acesso Grátis: Internet rápida e grátis.
Instale o discador agora!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051122/21c73900/attachment.htm>


More information about the sr-users mailing list