[OpenSER-Users] How do I obtain or log the return code in a failure_route[]?
Victor Gamov
vit at lipetsk.ru
Fri Sep 7 22:36:39 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 sr-users
mailing list