|
@@ -122,7 +122,7 @@ class CallService:
|
|
|
if not devices:
|
|
|
self.logger.info('hangupCallAll skip 已全部挂断 callId: %s', call_info.call_id)
|
|
|
return
|
|
|
- self.logger.info("hangup_all, call_id:%s, devices=%s"%(call_info.call_id, json.dumps(devices)))
|
|
|
+ self.logger.info("hangup_all, call_id:%s, devices=%s, case=%s"%(call_info.call_id, json.dumps(devices), case_enum))
|
|
|
for device in devices:
|
|
|
self.client.hangup_call(call_info.call_id, device, case_enum)
|
|
|
|
|
@@ -135,6 +135,7 @@ class CallService:
|
|
|
if not devices:
|
|
|
self.logger.info('hangup deviceList is null callId: %s', call_id)
|
|
|
return
|
|
|
+ self.logger.info("hangup_all, call_id:%s, devices=%s" % (call_info.call_id, json.dumps(devices)))
|
|
|
for device in devices:
|
|
|
self.client.hangup_call(call_info.call_id, device, CallCause.RESTART)
|
|
|
|