[commit] r14019 - freeswitch/trunk/contrib/mod/endpoints/mod_khomp
Author: raulfragoso Date: Sat Jun 27 23:30:07 2009 New Revision: 14019 Log: Removed the CM_CONNECT command since CM_RINGBACK is supposed to connect the call already; Modified: freeswitch/trunk/contrib/mod/endpoints/mod_khomp/mod_khomp.cpp 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 Sat Jun 27 23:30:07 2009 @@ -961,9 +961,9 @@ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Something bad happened while getting channel session. Device:%u/Channel:%u. [EV_CONNECT]\n", e->DeviceId, obj); return ksFail; } - try { + try + { Globals::_k3lapi.command(e->DeviceId, obj, CM_RINGBACK, NULL); - Globals::_k3lapi.command(e->DeviceId, obj, CM_CONNECT, NULL); } catch (K3LAPI::failed_command & err) {
participants (1)
-
FreeSWITCH SVN