<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Hamid,<br>
<br>
If you catch the 408 reply in failure route and create a new
branch (to divert to another GW), there will be nothing sent back
to UAC (caller) to inform about this timeout event.<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>
On 10.02.2015 10:17, Hamid Hashmi wrote:<br>
</div>
<blockquote cite="mid:BLU170-W121B9A30A1845F888CDF742E0240@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello,
<div><br>
</div>
<div>On fr_ivr_timer timeout opensips1.11 sends CANCEL to Caller
and I handle the timout in failure route by 408 sip response.
May I change method CANCEL to some other response that can
indicate a caller (UAC) that call is now diverting to another
gateway so that Caller can wait more. </div>
<div><br>
</div>
<div><br>
</div>
<div>failure_route[1]{</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div><br>
</div>
<div>
<div> if (t_check_status("408")) {</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div><span style="font-size: 12pt;"> if (
t_local_replied("last") ) {</span></div>
<div> # timeout with replies received
-> fr_inv_timer</div>
<div> xlog("L_NOTICE",
"[$pr:$fU@$si:$sp]: Timeout on RING timer for '$rm' from
'$fu' to '$ru' after '$avp(5)' seconds \n");</div>
<div> <span style="font-size: 12pt;">route(failover);</span></div>
<div> } </div>
<div> </div>
</div>
<div> }</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div>}</div>
<div><br>
</div>
<div>Call failoverd to route[failover] but CANCELED due to
fr_ivr_timer timout because it send CANCEL to Caller. </div>
<div><br>
</div>
<div>Any solution ?</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards</div>
<div>Hamid R. Hashmi</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>