Hi Tyler,<div><br></div><div>Yes it is. It's on the first part of the page (syntax section).</div><div><br></div><div>-Ronald<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 4:35 PM, Tyler Merritt <span dir="ltr"><<a href="mailto:tyler@fonality.com">tyler@fonality.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Is this construct in the scripting variables page and I just missed it?<div><br></div><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">$(<reply>rs)</span></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">I had no idea you could throw in stuff like that to the variables. <br>
</span></font><div><div></div><div class="h5"><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 6:13 AM, Dave Singer <span dir="ltr"><<a href="mailto:dave.singer@wideideas.com" target="_blank">dave.singer@wideideas.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Ronald,</div><div><br></div>The only time I've seen it be null in failure route is if there was no reply received, <br>you might add a check to see if it was a local timeout:<div><br></div><div>if ( t_local_replied("all") ) {</div>
<div> xlog("did not get any response");</div><div>} else {</div><div><div> xlog("$(<reply>ci): $C(rx)failure route: $(<reply>rs) $(<reply>rr)$C(xx)\n");</div>
</div><div>}<br><div class="gmail_quote"><br></div><div class="gmail_quote">Dave</div><div class="gmail_quote"><br></div><div class="gmail_quote"><div><div></div><div>On Wed, Feb 23, 2011 at 10:04 AM, Ronald Cepres <span dir="ltr"><<a href="mailto:rbcepres@gmail.com" target="_blank">rbcepres@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><div>Hi all,</div><div><br></div><div>I'm setting up opensips as a stateful proxy, and i have the following snippet of code on the failure route:</div>
<div><br></div><div><div>failure_route[1] {</div><div><span style="white-space:pre-wrap">        </span>xlog("$(<reply>ci): $C(rx)failure route: $(<reply>rs) $(<reply>rr)$C(xx)\n");</div>
</div><div><br></div><div> # Failure route routine...</div><div>}</div><div><br></div><div>The values of the call-id, response code and reason are normally there.</div><div><br></div><div>but on higher cps, i often get this:</div>
<div><br></div><null>: failure route: <null> <null><div><br></div><div>Does this mean that the transaction was already destroyed before opensips got the reply?</div><div><br></div><div>I wonder if anyone comes across this problem. Any help would be appreciated. Thanks!</div>
<div><br></div><div><br></div><div><br></div><div>Regards,</div><div><br></div><font color="#888888"><div>Ronald</div>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>