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