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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Sep 10 09:10:27 CEST 2007


ok - done.

Regards,
Bogdan

Victor Gamov wrote:
> Bogdan-Andrei Iancu wrote:
>> Hi Victor,
>>
>> $rr and $rs access the current processed reply, so they are useful 
>> only in reply route. In failure route you process a request (actually 
>> re-process the original request), so you cannot use them.
>>
>> on the other had, the $T_reply_code PV takes info directly from the 
>> TM engine (and not from reply message) and it is able to give info 
>> about the picked reply code (during parallel forking).
>
> I see. Thanks Bogdan!
>
> Can you add this PV description into 
> http://www.openser.org/dokuwiki/doku.php/pseudovariables:1.2.x
>
> Thanks again!
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the sr-users mailing list