[Freeswitch-svn] [commit] r14032 - in freeswitch/trunk/contrib/mod/endpoints/mod_khomp: . include
FreeSWITCH SVN
raulfragoso at freeswitch.org
Mon Jun 29 11:09:32 PDT 2009
Author: raulfragoso
Date: Mon Jun 29 13:09:32 2009
New Revision: 14032
Log:
Disable CM_LISTEN/CM_STOP_LISTEN for now until we have the mixer working properly
Modified:
freeswitch/trunk/contrib/mod/endpoints/mod_khomp/include/khomp_pvt.h
freeswitch/trunk/contrib/mod/endpoints/mod_khomp/mod_khomp.cpp
Modified: freeswitch/trunk/contrib/mod/endpoints/mod_khomp/include/khomp_pvt.h
==============================================================================
--- freeswitch/trunk/contrib/mod/endpoints/mod_khomp/include/khomp_pvt.h (original)
+++ freeswitch/trunk/contrib/mod/endpoints/mod_khomp/include/khomp_pvt.h Mon Jun 29 13:09:32 2009
@@ -55,7 +55,7 @@
\return KhompPvt to be used on the call.
*/
static KhompPvt * find_channel(char* allocation_string, switch_core_session_t * new_session, switch_call_cause_t * cause);
-
+
static void initialize(void)
{
switch_mutex_init(&_pvts_mutex, SWITCH_MUTEX_NESTED, Globals::_module_pool);
Modified: freeswitch/trunk/contrib/mod/endpoints/mod_khomp/mod_khomp.cpp
==============================================================================
--- freeswitch/trunk/contrib/mod/endpoints/mod_khomp/mod_khomp.cpp (original)
+++ freeswitch/trunk/contrib/mod/endpoints/mod_khomp/mod_khomp.cpp Mon Jun 29 13:09:32 2009
@@ -992,7 +992,7 @@
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Could not hangup channel: %u on board %u. Releasing board channel anyway. [EV_DISCONNECT]\n", obj, e->DeviceId);
try
{
- Globals::_k3lapi.command(e->DeviceId, obj, CM_STOP_LISTEN, NULL);
+ //Globals::_k3lapi.command(e->DeviceId, obj, CM_STOP_LISTEN, NULL);
KhompPvt::khompPvt(e->DeviceId, obj)->session(NULL);
}
catch(K3LAPI::invalid_channel & err)
@@ -1011,8 +1011,10 @@
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Call will be answered on board %u, channel %u. [EV_CONNECT]\n", e->DeviceId, obj);
switch_channel_mark_answered(channel);
/* Start listening for audio */
+ /*
const size_t buffer_size = 16;
Globals::_k3lapi.command(e->DeviceId, obj, CM_LISTEN, (const char *) &buffer_size);
+ */
}
catch (K3LAPI::invalid_session & err)
{
More information about the Freeswitch-svn
mailing list