|
|
@@ -100,10 +100,10 @@ class CdrCall:
|
|
|
def dst(self):
|
|
|
# placeholder
|
|
|
# TODO: determine last dst based on disposition
|
|
|
- if self.direction == 'inbound':
|
|
|
- return self.events.first.dstchannel.peer
|
|
|
- else:
|
|
|
+ if self.direction == 'outbound':
|
|
|
return self.events.first.dst
|
|
|
+ else:
|
|
|
+ return self.events.first.dstchannel.peer
|
|
|
@property
|
|
|
def did(self):
|
|
|
if self.direction == 'inbound':
|