Explorar el Código

Call dst filter test6

Hal De hace 4 años
padre
commit
f26e8e2609
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/cel.py

+ 2 - 0
app/cel.py

@@ -102,6 +102,8 @@ class CdrCall:
     # TODO: determine last dst based on disposition
     if self.direction == 'outbound':
       return self.events.first.dst
+    elif self.direction == 'local':
+      return self.events.first.dst
     else:
       if self.events.first.dstchannel is not None:
         return self.events.first.dstchannel.peer