[Freeswitch-branches] [commit] r11346 - freeswitch/branches/ctrix/mod_airpe
FreeSWITCH SVN
ctrix at freeswitch.org
Wed Jan 21 16:11:42 PST 2009
Author: ctrix
Date: Wed Jan 21 18:11:42 2009
New Revision: 11346
Log:
OOPS!
we should switch_hangup
Modified:
freeswitch/branches/ctrix/mod_airpe/mod_airpe.c
Modified: freeswitch/branches/ctrix/mod_airpe/mod_airpe.c
==============================================================================
--- freeswitch/branches/ctrix/mod_airpe/mod_airpe.c (original)
+++ freeswitch/branches/ctrix/mod_airpe/mod_airpe.c Wed Jan 21 18:11:42 2009
@@ -319,6 +319,8 @@
snprintf(buf, sizeof(buf), "ALTER CALL %d HANGUP", airpe->active_call_id);
airpe_cmd_write(airpe, buf);
}
+ switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
+
airpe_call_shutdown( tech_pvt );
if (tech_pvt->read_codec.implementation) {
More information about the Freeswitch-branches
mailing list