<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
The reason for this is that, in the failure_route, you are working
with the failed Request, and not with the reply.<br>
Please go to [1], and check the context part of a pseudovariable.
In short, to access the reply code from within failure route, try<br>
$(<reply>rr)<span style="color: rgb(102, 102, 102);
font-family: 'Trebuchet MS', sans-serif, Verdana, Arial;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: 21px;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; "></span><br>
<br>
[1] <a href="http://www.opensips.org/Resources/DocsCoreVar">http://www.opensips.org/Resources/DocsCoreVar</a><br>
<br>
Regards,<br>
<br>
Vlad Paiu <br>
OpenSIPS Developer <br>
<a class="moz-txt-link-freetext"
href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
<br>
<br>
Pe 3/6/2012 1:13 AM, Ryan Bullock a scris:
<blockquote
cite="mid:CAAcj4gU6Yb4YcG+9v969rqxpdYeVuBibkoSV2DZDkBF_9QYVtA@mail.gmail.com"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>