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