transports(daily): daily-python 0.14.0 (SIP transfer/refer, DTMF)
This commit is contained in:
@@ -491,6 +491,21 @@ class DailyTransportClient(EventHandler):
|
||||
self._client.stop_dialout(participant_id, completion=completion_callback(future))
|
||||
await future
|
||||
|
||||
async def send_dtmf(self, settings):
|
||||
future = self._loop.create_future()
|
||||
self._client.send_dtmf(settings, completion=completion_callback(future))
|
||||
await future
|
||||
|
||||
async def sip_call_transfer(self, settings):
|
||||
future = self._loop.create_future()
|
||||
self._client.sip_call_transfer(settings, completion=completion_callback(future))
|
||||
await future
|
||||
|
||||
async def sip_refer(self, settings):
|
||||
future = self._loop.create_future()
|
||||
self._client.sip_refer(settings, completion=completion_callback(future))
|
||||
await future
|
||||
|
||||
async def start_recording(self, streaming_settings, stream_id, force_new):
|
||||
future = self._loop.create_future()
|
||||
self._client.start_recording(
|
||||
@@ -955,6 +970,15 @@ class DailyTransport(BaseTransport):
|
||||
async def stop_dialout(self, participant_id):
|
||||
await self._client.stop_dialout(participant_id)
|
||||
|
||||
async def send_dtmf(self, settings):
|
||||
await self._client.send_dtmf(settings)
|
||||
|
||||
async def sip_call_transfer(self, settings):
|
||||
await self._client.sip_call_transfer(settings)
|
||||
|
||||
async def sip_refer(self, settings):
|
||||
await self._client.sip_refer(settings)
|
||||
|
||||
async def start_recording(self, streaming_settings=None, stream_id=None, force_new=None):
|
||||
await self._client.start_recording(streaming_settings, stream_id, force_new)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user