<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span style="color: rgb(68, 68, 68); font-size: 15px; line-height: 21.2999992370605px; background-color: rgb(255, 255, 255);">Its my mistake :p </span><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.2999992370605px;"></div><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">fr_inv_timer timeout sends CANCEL to Callee <b style="line-height: 21.2999992370605px;">NOT</b> to Caller. But my call terminated due to response 487 came from Callee. I just droped the response 487 in onreply_route and its working for me. Is it a good practice ?<div style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;"></div><div style="line-height: 21.2999992370605px;">Regards</div><div style="line-height: 21.2999992370605px;">Hamid R. Hashmi</div></div><br><div><hr id="stopSpelling">Date: Wed, 11 Feb 2015 22:19:21 +0200<br>From: bogdan@opensips.org<br>To: users@lists.opensips.org; hamid2kviii@hotmail.com<br>Subject: Re: [OpenSIPS-Users] How to customize response on fr_inv_timer<br><br>
<div class="ecxmoz-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="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">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">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
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="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br></div>                                            </div></body>
</html>