Commit 09c72b6e authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix the "Text message compatibility mode" test.

parent 37fe205a
......@@ -73,6 +73,7 @@ static void text_message(void) {
linphone_core_manager_destroy(pauline);
}
static void text_message_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");
LinphoneProxyConfig* proxy;
......@@ -88,7 +89,8 @@ static void text_message_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(marie->lc,&transport);
......
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