[Top][All Lists]

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

[Linphone-developers] linphonec register with pass on Windows

From: Stian Hvatum
Subject: [Linphone-developers] linphonec register with pass on Windows
Date: Mon, 10 Mar 2014 09:29:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

I am trying to controll linphonec from a Java application using stream 
redirection. This work very well, except on Windows, the register 
command somehow seems to not pass on the password. I have compiled 
linphone from source and changed a few lines in lpc_cmd_register to get 
things working (now register works in linphonec using Windows).

My changes are as following:
in commands.c around line 1933: (this is in lpc_cmd_register, which is 
called when the register command from linphonec is executed)

that is, put linphone_address_get_username(from) into username and 
userid, password is left as it was, and NULL is set as both realm and 
domain. I thought the parameters sent to linphone_auth_info_new was 
rather strange, and thus I wonder if it was set like it was for any 
spesific reason that I don't understand? Specially why was/is the 
username passed on as realm?

Source was checked out yesterday, but it seems to have stayed this way 
for a long time.

Stian Hvatum

reply via email to

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