linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] //SIP REGISTRATION USING LINPHONE SDK


From: Raviram Chandran
Subject: [Linphone-developers] //SIP REGISTRATION USING LINPHONE SDK
Date: Wed, 12 Jul 2017 14:24:17 +0530

Hi We have problem in SIP REGISTRATION USING LINPHONE SDK
private void sipRegistration() {
username = "*****";
password = "******";
domain = "52.14.***.***";
port = "5060";
identity = "sip:" + username + "@" + domain+":"+port;

try {
linphoneAddress = LinphoneCoreFactory.instance().createLinphoneAddress(identity);
} catch (LinphoneCoreException e) {
e.printStackTrace();
}
configProxySettings();
LinphonePreferences.AccountBuilder builder = new LinphonePreferences.AccountBuilder(LinphoneManager.getLc())
.setUsername(username)
.setDomain(domain)
.setPassword(password)
.setOutboundProxyEnabled(true);

if (transport != null) {
builder.setTransport(transport);
}

try {
builder.saveNewAccount();
} catch (LinphoneCoreException e) {
e.printStackTrace();
}
//makeCallMethod();
}
Can you help us.

reply via email to

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