rename killchan to uuid_kill and broadcast to uuid_broadcast
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13780 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f22c3e50e8
commit
9c8901eef9
|
@ -311,10 +311,10 @@ class FreepyDispatcher(LineReceiver):
|
||||||
|
|
||||||
def killchan(self, uuid, bgapi = False):
|
def killchan(self, uuid, bgapi = False):
|
||||||
if bgapi == True:
|
if bgapi == True:
|
||||||
msg = "bgapi killchan %s" % (uuid)
|
msg = "bgapi uuid_kill %s" % (uuid)
|
||||||
req = request.BgApiRequest()
|
req = request.BgApiRequest()
|
||||||
else:
|
else:
|
||||||
msg = "api killchan %s" % (uuid)
|
msg = "api uuid_kill %s" % (uuid)
|
||||||
req = request.ApiRequest()
|
req = request.ApiRequest()
|
||||||
self.requestq.put(req)
|
self.requestq.put(req)
|
||||||
self.transport.write("%s\n\n" % msg)
|
self.transport.write("%s\n\n" % msg)
|
||||||
|
@ -323,10 +323,10 @@ class FreepyDispatcher(LineReceiver):
|
||||||
|
|
||||||
def broadcast(self, uuid, path, legs, bgapi = False):
|
def broadcast(self, uuid, path, legs, bgapi = False):
|
||||||
if bgapi == True:
|
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()
|
req = request.BgApiRequest()
|
||||||
else:
|
else:
|
||||||
msg = "api broadcast %s %s %s" % (uuid, path, legs)
|
msg = "api uuid_broadcast %s %s %s" % (uuid, path, legs)
|
||||||
req = request.ApiRequest()
|
req = request.ApiRequest()
|
||||||
self.requestq.put(req)
|
self.requestq.put(req)
|
||||||
self.transport.write("%s\n\n" % msg)
|
self.transport.write("%s\n\n" % msg)
|
||||||
|
|
Loading…
Reference in New Issue