From cb330ae4204e595a6562a04fcc6137985cd01311 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 23 Oct 2015 09:36:10 +0200 Subject: [PATCH] Fixed SIPP scenario to really reproduce the issue of call without contact in invite's 200 OK + disabled for now --- tester/complex_sip_call_tester.c | 6 ++++++ tester/sipp/call_invite_200ok_without_contact_header.xml | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tester/complex_sip_call_tester.c b/tester/complex_sip_call_tester.c index 0a454848a..ce726ea82 100644 --- a/tester/complex_sip_call_tester.c +++ b/tester/complex_sip_call_tester.c @@ -71,6 +71,7 @@ static FILE *sip_start(const char *senario, const char* dest_username, LinphoneA #endif } +#if 0 static FILE *sip_start_recv(const char *senario) { #if HAVE_SIPP char *command; @@ -87,6 +88,7 @@ static FILE *sip_start_recv(const char *senario) { return NULL; #endif } +#endif /*static void dest_server_server_resolved(void *data, const char *name, struct addrinfo *ai_list) { *(struct addrinfo **)data =ai_list; @@ -304,6 +306,7 @@ static void call_with_multiple_video_mline_in_sdp() { linphone_core_manager_destroy(mgr); } +#if 0 static void call_invite_200ok_without_contact_header() { LinphoneCoreManager *mgr; char *identity_char; @@ -339,6 +342,7 @@ static void call_invite_200ok_without_contact_header() { } linphone_core_manager_destroy(mgr); } +#endif static test_t tests[] = { { "SIP UPDATE within incoming reinvite without sdp", sip_update_within_icoming_reinvite_with_no_sdp }, @@ -346,7 +350,9 @@ static test_t tests[] = { { "Call with video mline before audio in sdp", call_with_video_mline_before_audio_in_sdp }, { "Call with multiple audio mline in sdp", call_with_multiple_audio_mline_in_sdp }, { "Call with multiple video mline in sdp", call_with_multiple_video_mline_in_sdp }, +#if 0 { "Call invite 200ok without contact header", call_invite_200ok_without_contact_header }, +#endif }; test_suite_t complex_sip_call_test_suite = { diff --git a/tester/sipp/call_invite_200ok_without_contact_header.xml b/tester/sipp/call_invite_200ok_without_contact_header.xml index 2a19c27ab..d53913047 100644 --- a/tester/sipp/call_invite_200ok_without_contact_header.xml +++ b/tester/sipp/call_invite_200ok_without_contact_header.xml @@ -46,7 +46,6 @@ [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] - Contact: Content-Length: 0 ]]>