Now you need to register your SIP Account to the server by using the Register method (Code example 4). This method gets all of the values required for the registration as parameters: registrationRequired, displayName, userName, authenticationId, registerPassword, domainHost and domainPort.
Full article