DavidLiu vor 3 Monaten
Ursprung
Commit
0a1f98994e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/core/callcenter/callback.py

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

@@ -59,7 +59,7 @@ class Callback(object):
             call_id = self.cache.get_call_id_by_device_id(device_id)
         call_info = self.cache.get_call_info(call_id)
         if 'CHANNEL_HANGUP' == event_name:
-            self.logger.info("callback::call_id=%s, device_id=%s, event=", json.loads(event.serialize('json')))
+            self.logger.info("callback::call_id=%s, device_id=%s, call_info=%s, event=%s", call_id, device_id, call_info, json.loads(event.serialize('json')))
         if not call_info:
             # self.logger.info("callback:return::event_name=%s, call_id=%s, device_id=%s", event_name, call_id, device_id)
             return