[Freeswitch-trunk] [commit] r13780 - freeswitch/trunk/scripts/socket/freepy

FreeSWITCH SVN greenlizard at freeswitch.org
Tue Jun 16 02:17:11 PDT 2009


Author: greenlizard
Date: Tue Jun 16 04:17:10 2009
New Revision: 13780

Log:
rename killchan to uuid_kill and broadcast to uuid_broadcast

Modified:
   freeswitch/trunk/scripts/socket/freepy/__init__.py

Modified: freeswitch/trunk/scripts/socket/freepy/__init__.py
==============================================================================
--- freeswitch/trunk/scripts/socket/freepy/__init__.py	(original)
+++ freeswitch/trunk/scripts/socket/freepy/__init__.py	Tue Jun 16 04:17:10 2009
@@ -311,10 +311,10 @@
 
     def killchan(self, uuid, bgapi = False):
         if bgapi == True:
-            msg = "bgapi killchan %s" % (uuid)
+            msg = "bgapi uuid_kill %s" % (uuid)
             req = request.BgApiRequest()
         else:
-            msg = "api killchan %s" % (uuid)            
+            msg = "api uuid_kill %s" % (uuid)            
             req = request.ApiRequest()
         self.requestq.put(req)
         self.transport.write("%s\n\n" % msg)
@@ -323,10 +323,10 @@
 
     def broadcast(self, uuid, path, legs, bgapi = False):
         if bgapi == True:
-            msg = "bgapi broadcast %s %s %s" % (uuid, path, legs)
+            msg = "bgapi uuid_broadcast %s %s %s" % (uuid, path, legs)
             req = request.BgApiRequest()
         else:
-            msg = "api broadcast %s %s %s" % (uuid, path, legs)            
+            msg = "api uuid_broadcast %s %s %s" % (uuid, path, legs)
             req = request.ApiRequest()
         self.requestq.put(req)
         self.transport.write("%s\n\n" % msg)



More information about the Freeswitch-trunk mailing list