Hello,

The reason for this is that, in the failure_route, you are working with the failed Request, and not with the reply. Please go to [1], and check the context part of a pseudovariable. In short, to access the reply code from within failure route, try
    $(<reply>rr)

[1] http://www.opensips.org/Resources/DocsCoreVar

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

Pe 3/6/2012 1:13 AM, Ryan Bullock a scris:
Is there anyway to get the reply reason (e.g "Service Unavailable") of
the current reply in failure_route? $T_reply_code gets me the code,
but I would like to log/check the reason for some specific responses
we get.

$rr does not seem to get populated for the failure route either.

Thanks.

Regards,

Ryan

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to