|
@@ -287,6 +287,8 @@ class InboundClient:
|
|
self.send_args(device_id, SET, arg, con=_con)
|
|
self.send_args(device_id, SET, arg, con=_con)
|
|
e = _con.sendMSG(msg)
|
|
e = _con.sendMSG(msg)
|
|
# e = _con.api(UUID_KILL, device_id)
|
|
# e = _con.api(UUID_KILL, device_id)
|
|
|
|
+ # 更新通话记录
|
|
|
|
+ self.dataHandleServer.update_record(call_id, hangup_dir=HangupDir.PLATFORM_HANGUP.code)
|
|
self.logger.info("hangup_call挂机 hangup call: %s, device: %s, arg: %s, res:%s" % (call_id, device_id, arg, e))
|
|
self.logger.info("hangup_call挂机 hangup call: %s, device: %s, arg: %s, res:%s" % (call_id, device_id, arg, e))
|
|
# self.logger.info("hangup_call挂机 hangup call: %s, device: %s, arg: %s, res:%s" % (call_id, device_id, arg, e.serialize('json')))
|
|
# self.logger.info("hangup_call挂机 hangup call: %s, device: %s, arg: %s, res:%s" % (call_id, device_id, arg, e.serialize('json')))
|
|
except:
|
|
except:
|