|
@@ -77,10 +77,8 @@ class CallService:
|
|
|
pass
|
|
|
custom_device_id = devices[0]
|
|
|
self.logger.info('hold, custom_device_id=%s'%custom_device_id)
|
|
|
- # self.client.sync_invoke_method("bridge_break", method_args=(custom_device_id,))
|
|
|
- # self.client.sync_invoke_method("hold_play", method_args=(custom_device_id,HOLD_MUSIC_PATH))
|
|
|
- self.client.bridge_break(call_info.call_id, custom_device_id)
|
|
|
- self.cache.set_need_play_hold_music(call_info.call_id)
|
|
|
+ # self.client.bridge_break(call_info.call_id, custom_device_id)
|
|
|
+ # self.cache.set_need_play_hold_music(call_info.call_id)
|
|
|
self.logger.info('hold success custom_device_id=%s'%custom_device_id)
|
|
|
|
|
|
def cancel_hold(self, call_info: CallInfo, device_id):
|