3.4 Accounts
RCS platform stores the client accounts in both api.clients and voipswitch.clientsshared tables.
Each record in the api.clients table contains data on a particular client. Among other columns the ones related to the cleint’s identity include:
- login
- username
- phone
The login field is used to associate the client’s record with the relevant record from the voipswitch.clientsshared table. The login value has to be the same as the login in the voipswitch.clientsshared. The latter is used as a SIP login in sip communication.
This approach allows to detach the SIP login from a service username which is a public identity. Thus you can hide the SIP login increasing the security of the system.
In most cases however the SIP login is one of the public identities. This mode of RCS platform operation is called RCS generic mode and is set by default for new deployments. At the moment the supported public ID types are username and phone number, more IDs can be added in future.
The RCS generic mode has the main advantage that it is easier to implement in an existing system with a regular sip accounts based on SIP logins known to users and used for direct addressing the called party. In the case if there is an existing account in clientsshared only but not in the api.clients the relevant entry will be added to api.clients by the EMCD or EMCI API on the first client’s log in to either the softphone or the VUP (more about this process in the logging in section).
Whether the login will be a phone number or username depends on the method chosen during the sign up procedure.