<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Artem,<br>
<br>
As Alain mention, just use t_reply() in failure route, to override
the current reply.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 30.06.2016 19:32, Чалков Артём
wrote:<br>
</div>
<blockquote cite="mid:669771467304355@web18g.yandex.ru" type="cite">
<div>hello everyone! </div>
<div>Can someone explain me, could i use change_reply_status() if
failure route or it hardcoded to use only in reply route or
maybe help me with my problem: </div>
<div> </div>
<div>Case:</div>
<div>uac (1) <--> opensips (2) <--> uas (3)</div>
<div> </div>
<div><strong>step 1. 2 sends INVITE to 3</strong></div>
<div><strong>step 2. 3 sends 407 to 2</strong></div>
<div>processing: Now 2 trying to assign avp's to use uac_auth()
function, but in some case cant do it and 407's handling
interrupts in main route by exit;</div>
<div><strong>step 3. 2 sends ACK to 3</strong></div>
<div><strong>step 4. 2 sends 407 to 1</strong></div>
<div> </div>
<div><strong><br>
</strong>Could i somehow catch that 407 after step 2 and
transform to something like 404 to send it instead of 407 to 1?
How to do it?</div>
<div> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>