[Freeswitch-svn] [commit] r14019 - freeswitch/trunk/contrib/mod/endpoints/mod_khomp

FreeSWITCH SVN raulfragoso at freeswitch.org
Sat Jun 27 21:30:08 PDT 2009


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)
             {



More information about the Freeswitch-svn mailing list