[OpenSER-Users] How do I obtain or log the return code in a failure_route[]?

Victor Gamov vit at lipetsk.ru
Fri Sep 7 17:28:09 CEST 2007


Bogdan-Andrei Iancu wrote:
> Hi Juan,
> 
> see the following pseudo-variable ($T_reply_code):
>    http://www.openser.org/docs/modules/1.2.x/tm.html#AEN546

Hi All!

What about $rr and $rs Bogdan?  I try to use it in failure_route but 
this variables doesn't contains values in some time. Does I need to use 
$T_reply_code in failure_route to get properly failure status (timeout 
for example)?

> 
> regards,
> bogdan
> 
> 
> Juan Carlos Castro y Castro wrote:
>> I know I can test the SIP return code with an "if", but how do I log 
>> it, or, alternatively, pass it to a exec_dset() script? I tried 
>> something like

-- 
CU,
Victor Gamov




More information about the Users mailing list