Commit 0f1ac2a7 authored by Benjamin REIS's avatar Benjamin REIS

Add an assert in Early cancelled call

parent 8c143958
......@@ -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.
......
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