mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Use the new to_address and from_address attributes in the Python wrapper.
This commit is contained in:
parent
3d4821c69e
commit
97b43deef2
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue