Commit 41a4c3a2 authored by Ghislain MARY's avatar Ghislain MARY

Allow entering only a username to call.

parent 52d091e1
......@@ -49,11 +49,7 @@ namespace Linphone
string contact = ContactTextBox.Text;
if (contact.Length > 0)
{
if (!contact.StartsWith("sip:"))
{
contact = string.Format("sip:{0}", contact);
}
Address address = core.CreateAddress(contact);
Address address = core.InterpretURL(contact);
if (address != null)
{
core.InviteAddress(address);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment