Add an assert in Early cancelled call

This commit is contained in:
Benjamin Reis 2017-04-13 15:25:15 +02:00
parent 8c143958f3
commit 0f1ac2a7ac

View file

@ -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.