Commit 97b43dee authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Use the new to_address and from_address attributes in the Python wrapper.

parent 3d4821c6
......@@ -205,8 +205,8 @@ class CoreManager:
@classmethod
def call_state_changed(cls, lc, call, state, msg):
manager = lc.user_data
to_address = call.call_log.to.as_string()
#from_address = call.call_log.from.as_string()
to_address = call.call_log.to_address.as_string()
from_address = call.call_log.from_address.as_string()
from_address = ''
direction = "Outgoing"
if call.call_log.dir == linphone.CallDir.CallIncoming:
......
......@@ -24,5 +24,5 @@ class TestCall:
assert_equals(out_call.reason, linphone.Reason.ReasonBusy)
if len(pauline.lc.call_logs) > 0:
out_call_log = pauline.lc.call_logs[0]
assert out_call_log != None
assert out_call_log is not None
assert_equals(out_call_log.status, linphone.CallStatus.CallAborted)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment