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

Victor Gamov vitspec at gmail.com
Fri Sep 7 21:17:42 CEST 2007


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!




More information about the Users mailing list