broadcast wav functionality

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6019 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Traun Leyden
2007-10-22 19:50:34 +00:00
parent 603463d126
commit 27268166d7
3 changed files with 42 additions and 1 deletions

View File

@@ -290,6 +290,19 @@ class FsHelper(ClientFactory):
return d
def broadcast(self, uuid, path, legs="both", bgapi=True):
"""
@legs - one of the following strings: aleg|bleg|both
"""
def broadcast_inner(ignored):
df = self.freepyd.broadcast(uuid, path, legs, bgapi)
return df
d = self.connect()
d.addCallback(broadcast_inner)
return d
def sofia_profile_restart(self, profile_name, bgapi=True):
def sofia_profile_restart_inner(ignored):