<div>Hi Dave,</div><div><br></div>That makes sense. I'll try it out.<div><br></div><div>-Ronald<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 5:13 AM, Dave Singer <span dir="ltr"><<a href="mailto:dave.singer@wideideas.com">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 class="im"><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 class="h5">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 class="h5"><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">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>