[Top][All Lists]

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

Re: [Linphone-developers] Android authorization username with '@' charac

From: Ahmed Refaey
Subject: Re: [Linphone-developers] Android authorization username with '@' character
Date: Tue, 10 Jan 2012 18:32:26 +0200

Dear Guillaume,

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);
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?

Thanks in advance,
Ahmed El-Refaey

On Thu, Jan 5, 2012 at 5:10 PM, Ahmed Refaey <address@hidden> wrote:
Thanks Guillaume

Firstly many thanks for caring and response,

WRT the iPhone I'm surprised how could it make a successful registration and international calls!
WRT to the Ubuntu linphone client, it did not work on may machine Ubuntu 11.10 x64, this version was installed from Synaptic Packages manger and it exits as soon it opens with  a "segmentation fault"!
I tried to manually install Ubuntu-linphone from the source code but it failed as it need gtk+ libs which I could not install because of broken dependencies:S

WRT to the Android client, can you hint me where exactly should I hack to introduce the authorization username in the Android client, how would I send it to the linphone core?

Many thanks in advance and you fast help is highly appreciated,

Ahmed El-Refaey

On Wed, Jan 4, 2012 at 11:24 AM, Guillaume BERAUDO <address@hidden> wrote:
Hi Ahmed El-Refaey,

I am also surprised you succeeded in registering on iPhone but not on

You can check the information provided by your SIP provider with
linphone-desktop (a version exists for linux, mac and windows):
- create an account with the telephone number as username;
- on first attempt to connect you will be asked an authorization
 username and password;

On the linphone-mobile side, the "authorization username" field is
unfortunately not implemented yet (a unique username is used).

Keep me informed on the results of your tests.


Le Tue, 3 Jan 2012 20:31:59 +0200,
Ahmed Refaey <address@hidden> a écrit :

> Dear Community,
> The User account I got from the SIP provider was as follows:
> Sip Account No.1
> > Display Name : Foo Bar
> > Telephone Number : 258963147852
> > Authorization User name : address@hidden
> > Password : foobarpassword
> The interesting thing here which I got from the provider is that I
> use the authorization username as username(Tel. Number) which is not
> acceptable like this:
> > 01-02 13:42:12.693: I/Linphone(361): From:
> > <sip:address@hidden
> > >;tag=835630168
> and the provider stated that the successfull login message should be
> in that form:
> > From: "Eduard Maya"
> > <sip:address@hidden:5061>;user=phone;
> To: "Foo Bar" <sip:258963147852@;user=phone >
> SIP/2.0
> The question now is, how can I enter a username and Authorization
> username from the linphone/android interface which have only username
> field? and how when I entered the same authorization username in the
> iPhone client as username: "Foo%40" it worked successfully! but it
> did not work on the android?
> Any help is highly appreciated,
> *--*
> *Ahmed El-Refaey*
> On Mon, Jan 2, 2012 at 1:59 PM, Ahmed Refaey <address@hidden>
> wrote:
> > Dear Community,
> >
> > I was trying to register on SIP server which my
> > address@hidden, I tried this user name in the android
> > emulator, but it failed, I saw that the parsed username was only:
> > 'Ahmed' and the the full URI was: 'address@hidden@'
> >
> > I tried to replace the '@' character with '%40' and it failed also,
> > however this trick succeeded on iPhone client
> > here are the logs:
> >
> > Thanks in advance for fast reply,
> > *
> > *
> > *--*
> > *Ahmed El-Refaey*

reply via email to

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