Sfoglia il codice sorgente

Call dst filter test6

Hal De 4 anni fa
parent
commit
f26e8e2609
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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