mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
Fix the "Text message compatibility mode" test.
This commit is contained in:
parent
37fe205a03
commit
09c72b6ecb
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue