소스 검색

Call dst filter test

Hal De 4 년 전
부모
커밋
64378bbb76
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.filter(src, self.src).last.dst
+    return self.events.filter('src', self.src).last.dst
   @property
   def did(self):
     if self.direction == 'inbound':