[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Android authorization username with '@' charac
From: |
Guillaume BERAUDO |
Subject: |
Re: [Linphone-developers] Android authorization username with '@' character |
Date: |
Mon, 16 Jan 2012 08:51:20 +0100 |
Hi Ahmed,
I am sorry for not answering you earlier.
Your email get burried and I only found it this morning.
> While investigating the Android code base, I found that the class
> called "LinphoneAuthInfoImpl" I found this method:
> > private native long newLinphoneAuthInfo(String username, String
> > userid, String passwd, String ha1,String realm);
Nice
> which the "LinphoneAuthInfoImpl" calls it passing the "userid" with
> "null". What is this "userid"? Is it the Authorization username I'm
> seeking for? How can I properly pass the Authorization username to
> the Linphone core?
I think it is the one you are looking for.
You should:
- add a constructor on the model of the current one, with the userId;
- add a factor method "createAuthInfo" in LinphoneCoreFactoryImpl;
- fix the newLinphoneAuthInfo function in linphonecore_jni.cc;
- update relevant java interfaces;
- update UI.
If you do all this and it works for you, feel free to contribute a
patch to the mailinglist.
Guillaume