Commit 5a0f365a authored by jehan's avatar jehan

fix account manager from tester

parent 9b7dd73b
...@@ -305,7 +305,10 @@ void account_create_in_db(Account *account, LinphoneProxyConfig *cfg, const char ...@@ -305,7 +305,10 @@ void account_create_in_db(Account *account, LinphoneProxyConfig *cfg, const char
// activate account // activate account
linphone_account_creator_cbs_set_activate_account(creator_cbs, account_activated_cb); linphone_account_creator_cbs_set_activate_account(creator_cbs, account_activated_cb);
linphone_account_creator_activate_account_linphone(creator); if (linphone_account_creator_get_phone_number(creator))
linphone_account_creator_activate_account_linphone(creator);
else
linphone_account_creator_activate_email_account_linphone(creator);
if (wait_for_until(lc, NULL, (int*)&creator->account_activated, TRUE, 1000)) if (wait_for_until(lc, NULL, (int*)&creator->account_activated, TRUE, 1000))
ms_warning("Could not activate account %s", linphone_proxy_config_get_identity(cfg)); ms_warning("Could not activate account %s", linphone_proxy_config_get_identity(cfg));
......
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