mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Add an assert in Early cancelled call
This commit is contained in:
parent
8c143958f3
commit
0f1ac2a7ac
1 changed files with 2 additions and 0 deletions
|
|
@ -1058,6 +1058,8 @@ static void early_cancelled_call(void) {
|
|||
LinphoneCall* out_call = linphone_core_invite_address(pauline->lc,marie->identity);
|
||||
|
||||
BC_ASSERT_TRUE(wait_for(pauline->lc,marie->lc,&pauline->stat.number_of_LinphoneCallOutgoingInit,1));
|
||||
const char *callID = linphone_call_log_get_call_id(linphone_call_get_call_log(out_call));
|
||||
BC_ASSERT_PTR_NOT_NULL(callID);
|
||||
linphone_call_terminate(out_call);
|
||||
|
||||
/*since everything is executed in a row, no response can be received from the server, thus the CANCEL cannot be sent.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue