Why not just call a normal route after you send your negative reply?<div>-Brett</div><div><br><br><div class="gmail_quote">On Wed, Nov 26, 2008 at 9:49 AM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">El Miércoles, 26 de Noviembre de 2008, Iñaki Baz Castillo escribió:<br>
<div class="Ih2E3d">> Hi, is possible to invoke 'failure_route[X]' after OpenSIPS has sent a<br>
> negative reply by itself to the caller? In this case the reply would be<br>
> sent to the caller but it would selected as final reply.<br>
><br>
> Well, I expect this is not possible since 'failure_route' is just invoked<br>
> when the final response from downstream (or the best of them) is negative.<br>
<br>
</div>The doc says:<br>
-----------<br>
3. failure_route<br>
<br>
Failed transaction routing block. It contains a set of actions to be taken<br>
each transaction that received only negative replies (>=300) for all<br>
branches.<br>
<br>
Triggered by : receiving or generation(internal) of a negative reply that<br>
completes the transaction (all branches are terminated with negative replies)<br>
-------------<br>
<br>
What does it mean with "generation (internal)"? In my previous example<br>
code "failure_route" is not invoked when OpenSIPS replies a negative response<br>
(note that I already created the transaction with "t_newtrans").<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
Iñaki Baz Castillo<br>
<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>
</div></div></blockquote></div><br></div>