void register(String registerSettings)
Attempts to connect and register with the configured SIP server. KioWare will attempt to call onSIPRegister() with error codes and a reason on your page, if applicable.
Security
ACL Protected
Parameters
Name | Description |
registerSettings |
(Optional) Stringified JSON The stringified connection settings. |
Return
Void
Examples
var Protocols = {
UDP:'UDP',
TCP:'TCP'
};
var sipPort = 555;
var defaultTimeout = 30;
var RegisterSettings = {
displayName:'myDisplayName',
username:'myUserName',
password:'myPassword',
domain:'MyDomain',
proxy:'myProxyServer',
port:sipPort,
protocol:Protocols.UDP,
timeout:defaultTimeout
};
KioSIP.register(JSON.stringify(RegisterSettings));
Requirements
KioWare for Android version 3.17 or greater.