|
@@ -23,14 +23,14 @@ class ChannelAnswerHandler(EslEventHandler):
|
|
|
|
|
|
def handle(self, address, event, coreUUID):
|
|
|
call_id = EslEventUtil.getCallId(event)
|
|
|
+ device_id = EslEventUtil.getDeviceId(event)
|
|
|
call_info = self.cache.get_call_info(call_id)
|
|
|
- self.logger.info("answer call_id:%s, call_info:%s", call_id, call_info)
|
|
|
+ self.logger.info("answer call_id:%s, device_id:%s, call_info:%s", call_id, device_id, call_info)
|
|
|
if not call_info:
|
|
|
self.logger.info("answer call_info is null, call_id:%s", call_id)
|
|
|
return
|
|
|
|
|
|
registry.CALL_ANSWER_REQUESTS.labels(f"{call_info.bucket_type}").inc()
|
|
|
- device_id = EslEventUtil.getDeviceId(event)
|
|
|
device_info = call_info.device_info_map.get(device_id)
|
|
|
if not device_info:
|
|
|
self.logger.info("answer device_info is null, call_id:%s, call_info:%s", call_id, call_info)
|