linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linphone-android - calling default account pas


From: Sylvain Berfini
Subject: Re: [Linphone-developers] linphone-android - calling default account password
Date: Tue, 15 Mar 2016 08:47:52 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Leonard,

To disable ha1 passwords, add the following in your factory or config rc file:
[sip]
store_ha1_passwd=0

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 14/03/2016 18:44, Leonard Fodje a écrit :
Thank you Sylvain,

It is being stored as HA1. How do i disable it?

Thanks,

Leonard


On Mar 14, 2016, at 3:21 AM, Sylvain Berfini <address@hidden> wrote:

Hi Leonard,

If you store the password as HA1, getPassword will return NULL.
To check if you are in this situation, open the linphonerc on your device (I guess it is Android):
$ adb shell run-as org.linphone cat files/.linphonerc

If in the [auth_info_x] section you have
password=<something>
then it is a bug, however if you have
ha1=<something>
then everything behaves as intented.

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 13/03/2016 05:01, Leonard Fodje a écrit :
I am trying to retrieve password of default account. The below code is giving null. Can someone help?

String password = LinphonePreferences.instance().getAccountPassword(0);
However, retrieving the username below works.
String username = LinphonePreferences.instance().getDefaultUsername();
Thanks,
Leonard


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]