|
@@ -42,6 +42,7 @@ class ChannelHangupHandler(EslEventHandler):
|
|
|
call_info = self.cache.get_call_info(call_id)
|
|
|
self.logger.info('call_info is %s', call_info)
|
|
|
if not call_info:
|
|
|
+ self.release(event)
|
|
|
self.logger.info("call_info:%s is null", call_id)
|
|
|
return
|
|
|
device_id = EslEventUtil.getDeviceId(event)
|
|
@@ -49,6 +50,7 @@ class ChannelHangupHandler(EslEventHandler):
|
|
|
device_info = call_info.device_info_map.get(device_id)
|
|
|
# self.logger.info('device_id is ', device_id)
|
|
|
if not device_info:
|
|
|
+ self.release(event)
|
|
|
self.logger.info("device_info:%s is null", device_id)
|
|
|
return
|
|
|
|