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).
regards,
bogdan
Victor Gamov wrote:
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
_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users