DavidLiu 4 сар өмнө
parent
commit
566b54ea14

+ 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