[Linphone-developers] Want to modify Linphone core to use double authent
From:
Julian Nicolas
Subject:
[Linphone-developers] Want to modify Linphone core to use double authentication
Date:
Mon, 24 Oct 2011 15:50:49 +0200
Hello linphone developers,
My name is Julian, I´ve been messing
up with linphone for android in the last couple of months and I would
like to add a nice modification. Right now you can only use linphone for
SIP account that use the username as authentication username, so for
example for the account "sip:address@hidden" linphone assumes that the username for authentication is "mysipaccount".
Now Imagine that you have a SIP account which is "sip:address@hidden"
and imagine that in my authentication server for the account microweb10
I want to have a different username for authentication and I don´t want
to use the word "Julian".
So to start we need now an identificator more to set up the sip account. For the account sip:address@hidden before we had: Usename: Julian (for authentication we will use "Julian" as username)
Password: 1234 Domain: microweb10.com Proxy: microweb10.com
Now we will have: Public Username: Julian
Private Username: Jul5487
Password: 1234 Domain: microweb10.com Proxy: microweb10.com
As you can see, the sip uri should be the same for both = "sip:address@hidden",
but before we were using "Julian" as username and "1234" as password
for authentication. And now we need to use "Jul5487" as username and
"1234" as password.
I did some modifications in the android code but I think I have to
modify the core (submodules/linphone/coreapi) and I don´t know if I will
have to modify also exosip. That´s the thing. I would like to do
a good work. And of course if my development is usefull for linphone
developers I will share it. But I am not really especialist in linphone
and I have no idea on how would be the best way to do it. Which modules I
have to mofidy. What´s the best way to do it. Which files are in play
with this modification. Any help will be very appreciated.
Thanks in advance. Sorry about my english, and if I missed something, please let me know.