mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
broadcast wav functionality
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6019 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user