ソースを参照

Call dst filter test

Hal De 4 年 前
コミット
f22ce78968
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/cel.py

+ 1 - 1
app/cel.py

@@ -100,7 +100,7 @@ class CdrCall:
   def dst(self):
     # placeholder
     # TODO: determine last dst based on disposition
-    return self.events.last.dst
+    return self.events.filter(src, self.src).last.dst
   @property
   def did(self):
     if self.direction == 'inbound':