<div dir="ltr">It seems <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14.44444465637207px">CHANNEL_HANGUP_COMPLETE will not send to erlang when the call is immediately canceled after bridge app is called</span></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/15 Ola  Bäckström <span dir="ltr">&lt;<a href="mailto:Ola.Backstrom@loxysoft.se" target="_blank">Ola.Backstrom@loxysoft.se</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

The command &quot;erlang handlers&quot;, typed in the Freeswitch cli,  should show what events you&#39;re requested to receive.<br>
<br>
/Ola<br>
<div class="im">-----Original Message-----<br>
From: Ola Bäckström<br>
Sent: den 15 januari 2014 14:29<br>
To: &#39;FreeSWITCH Users Help&#39;<br>
</div><div class="im">Subject: RE: [Freeswitch-users] CHANNEL_HANGUP_COMPLETE cannot received<br>
<br>
My impression is that Freeswitch does indeed send CHANNEL_HANGUP_COMPLETE in all SIP-related hangup scenarios if one has requested them to come using the event mechanism. At least with mod_erlang_event in Inbound mode. Have used Freeswitch versions up to 1.2.12, not 1.2.14 yet.<br>


<br>
Could you somehow have lost Erlang-connection? Check with &quot;erlang listeners&quot; in fs_cli.<br>
<br>
/Ola<br>
_______________________________________________<br>
<br>
Switchboard: +46 (0)63-18 34 40<br>
Postal address: Box 153, 840 60 Bräcke, Sweden<br>
Visit: Armégränd 7, Östersund, Sweden<br>
Web: <a href="http://www.loxysoft.se" target="_blank">www.loxysoft.se</a><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of mbo<br>


Sent: den 15 januari 2014 11:52<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] CHANNEL_HANGUP_COMPLETE cannot received<br>
<br>
</div><div class="im">Hi,<br>
<br>
I’m not 100% sure, but as far as I remember the CHANNEL_HANGUP_COMPLETE is not always sent. It depends who releases the call (originator or destination). Can you check this e.g. by connecting with telnet to the event socket port and see which you are receiving?<br>


<br>
- Markus<br>
<br>
<br>
Am 15.01.2014 um 02:40 schrieb 刘云龙 &lt;<a href="mailto:lyl@juyide.com">lyl@juyide.com</a>&gt;:<br>
<br>
&gt; Hi!<br>
&gt;<br>
&gt;       I&#39;m using mod_erlang_event outbound, the env is FreeSWITCH Version 1.2.14 and Erlang R16B02,  My erlang applicaton behaviour normal before the call was hangup, but it cannot receive every CHANNEL_HANGUP_COMPLETE, any one can tell me why?<br>


&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________<br>
</div>&gt; ___ Professional FreeSWITCH Consulting Services:<br>
<div class="HOEnZb"><div class="h5">&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-use</a><br>
&gt; rs<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_________________________________________________________________________<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 <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>
_________________________________________________________________________<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>
</div></div></blockquote></div><br></div>