<div dir="ltr"><div class="gmail_extra">Maybe it is possible to use ESL events to determine hangup by cancel?<br><br><div class="gmail_quote">2014-05-06 6:29 GMT+04:00 Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i have the same issue and hope someone could shed a light.<br>
<br>
2014-05-06 5:59 GMT+08:00, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com">olegstolyar@gmail.com</a>&gt;:<br>
<div><div class="h5">&gt; Hi guys,<br>
&gt;<br>
&gt; I am using the api_hangup_hook variable to let my internal system know when<br>
&gt; a call is terminated.<br>
&gt;<br>
&gt; Every now and then  my calling party cancels the SIP Invite before my dial<br>
&gt; plan is finished.  IN this case FreeSWITCH properly responds with a &quot;487<br>
&gt; Request Terminated&quot;<br>
&gt;<br>
&gt; However, this does not fire the command assigned to the api_hangup_hook<br>
&gt; variable.  This is probably also proper since the call has not yet been<br>
&gt; established.<br>
&gt;<br>
&gt; My question is whether there is a place somewhere where I can hook into the<br>
&gt; processing of the CANCEL SIP message.<br>
&gt;<br>
&gt; Thank you<br>
&gt; Oleg<br>
&gt;<br>
<br>
</div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer
</div></div>