Explorar o código

事件剥离逻辑,fix

DavidLiu hai 4 meses
pai
achega
566b54ea14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/callcenter/callback.py

+ 1 - 1
src/core/callcenter/callback.py

@@ -21,7 +21,7 @@ class Callback(object):
         event_name = EslEventUtil.getEventName(event)
 
         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_')):
+        if not (CUSTOM == event_name or event_name.startswith('CHANNEL_') or event_name.startswith('PLAYBACK_') or event_name.startswith('PLAYBACK_')):
             self.logger.info("liuwei::debugger::callback::return::event_name=%s", event_name)
             return