<div dir="ltr"><div>yes. <br><br>I tested with <span style="font-family:monospace,monospace">t_is_canceled() </span>in failure_route.<br></div><div>But it executes in case user CANCEL in addition to proxy generated CANCELs for 408 and answer elsewhere RFC 3326.<br> <br></div><div>Need to know how to isolate them. <br></div><div class="gmail_extra"><br><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit</span></span></font></div></div>
<br><br><div class="gmail_quote">On 25 August 2017 at 13:28, Mikko Lehto <span dir="ltr"><<a href="mailto:mslehto@iki.fi" target="_blank">mslehto@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>>:<br>
<span class=""><br>
> However, for proxy generated CANCEL, i need to intimate that call was<br>
> answered else where and have to add this event in custom event logs.<br>
> I am receiving 487 in onreply-route but its true for all types of CANCELs.<br>
> If i know the CANCEL type, i can log EDR (events detail records).<br>
<br>
</span>Hi Abdul<br>
<br>
Maybe t_is_canceled() works for your scenario:<br>
<br>
<a href="http://www.kamailio.org/docs/modules/5.0.x/modules/tm.html#tm.f.t_is_canceled" rel="noreferrer" target="_blank">http://www.kamailio.org/docs/<wbr>modules/5.0.x/modules/tm.html#<wbr>tm.f.t_is_canceled</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mikko Lehto<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div></div>