|
@@ -181,9 +181,10 @@ class InboundClient:
|
|
# if channel:
|
|
# if channel:
|
|
# delay_action = DelayAction(call_id=call_id, device_id=device_id)
|
|
# delay_action = DelayAction(call_id=call_id, device_id=device_id)
|
|
# self.cache.add_delay_message(DelayActionEnum.CALL_TIMEOUT_DECR, delay_action, timeouts=20)
|
|
# self.cache.add_delay_message(DelayActionEnum.CALL_TIMEOUT_DECR, delay_action, timeouts=20)
|
|
- self.cache.add_call_info(call_info)
|
|
|
|
- self.hangup_call(call_id, device_id, CallCause.CALL_TIMEOUT)
|
|
|
|
- self.dataHandleServer.update_record(call_id, status= 0)
|
|
|
|
|
|
+
|
|
|
|
+ # self.cache.add_call_info(call_info)
|
|
|
|
+ # self.hangup_call(call_id, device_id, CallCause.CALL_TIMEOUT)
|
|
|
|
+ # self.dataHandleServer.update_record(call_id, status= 0)
|
|
|
|
|
|
def exec_when_play_timeout(self, call_id):
|
|
def exec_when_play_timeout(self, call_id):
|
|
call_info = self.cache.get_call_info(call_id)
|
|
call_info = self.cache.get_call_info(call_id)
|