Davidliu 3 hónapja
szülő
commit
6e8499907a

+ 1 - 1
src/core/callcenter/esl/handler/channel_hangup_handler.py

@@ -219,7 +219,7 @@ class ChannelHangupHandler(EslEventHandler):
             return duration
         except Exception as e:
             print(f"获取音频时长失败: {e}")
-            return None
+            return 0
 
     def merge_audio_files(self,audio_files):
         if not audio_files: