From 0f1ac2a7ac5d90dc0849e254d50845119b920282 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 13 Apr 2017 15:25:15 +0200 Subject: [PATCH] Add an assert in Early cancelled call --- tester/call_single_tester.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tester/call_single_tester.c b/tester/call_single_tester.c index 991f28482..28a3be0cd 100644 --- a/tester/call_single_tester.c +++ b/tester/call_single_tester.c @@ -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.