From 5690d65d0bdd7f3a0e53df6dc1918744b89d4a69 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 15 Apr 2013 12:18:39 +0200 Subject: [PATCH] Fix the "Simple call compatibility mode" test. --- tester/call_tester.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tester/call_tester.c b/tester/call_tester.c index 64d19c2cb..65de848ec 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -198,6 +198,7 @@ static void simple_call(void) { linphone_core_manager_destroy(pauline); } static void simple_call_compatibility_mode(void) { + char route[256]; LinphoneCoreManager* marie = linphone_core_manager_new(liblinphone_tester_file_prefix, "marie_rc"); LinphoneCoreManager* pauline = linphone_core_manager_new(liblinphone_tester_file_prefix, "pauline_rc"); @@ -220,7 +221,8 @@ static void simple_call_compatibility_mode(void) { linphone_address_clean(proxy_address); tmp=linphone_address_as_string_uri_only(proxy_address); linphone_proxy_config_set_server_addr(proxy,tmp); - linphone_proxy_config_set_route(proxy,NULL); + sprintf(route,"sip:%s",test_route); + linphone_proxy_config_set_route(proxy,route); ms_free(tmp); linphone_address_destroy(proxy_address); linphone_core_get_sip_transports(lc_marie,&transport);