Parcourir la source

事件剥离逻辑,fix

DavidLiu il y a 4 mois
Parent
commit
7ccc7a06f4
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/core/callcenter/callback.py

+ 2 - 0
src/core/callcenter/callback.py

@@ -22,8 +22,10 @@ class Callback(object):
 
         self.logger.info("liuwei::debugger::callback::event_name=%s", event_name)
         if not (CUSTOM == event_name and event_name.startswith('CHANNEL_') and event_name.startswith('PLAYBACK_') and event_name.startswith('PLAYBACK_')):
+            self.logger.info("liuwei::debugger::callback::return::event_name=%s", event_name)
             return
 
+        self.logger.info("liuwei::debugger::callback::comming::event_name=%s", event_name)
         call_id = EslEventUtil.getCallId(event)
         device_id = EslEventUtil.getDeviceId(event)
         call_info = self.cache.get_call_info(call_id)