3.11 Voicemail
Voicemail is a service realized by Voipbox. The call has to first hit the voipswitch which then routes it to the voipbox with instruction to execute voicemail scenario. Information on clients that have voicemail enabled are stored in the voipswitch.voicemailusers table. Both in the VUP and the RCS clients a user can enable/disable voicemail.
By default voicemail is enabled for all calls when they are declined by the client or timeout occurs. The timeout is set to 30 seconds.
In the VUP a client can manage the Answering Rules which allows to define different actions for calls coming from different caller IDs. Voicemail is one of the actions.
Messages left by callers are stored in a directory defined in voipbox.config file (TODO). The additional data about each message are stored in the voipswitch.voicemessages table.
When a client registers it subscribes to MWI (Message Waiting Indicator) service and receives information on number of received voicemails. In addition the application receives details of all new voicemails. They are sent over SIP or through the offline history EMCD API – depending on implementation used in the app. The details include information such as duration, time of recording, caller ID and the system ID of the message.
The list of all voicemails is presented in a list in Voicemail menu in the RCS application. The user can tap on a particular message to connect to voicemail service and hear the selected message being played.
The URI (number) of the voicemail is hardcoded in the softphones and if not requested otherwise it is by default 950. The number has to be prefixed with the dialing plan prefix used for ONNET calls. Usually it is set to onnet so the voicemail number will be onnet950.
To request a particular message the application sends an INVITE to the voicemail service number with a suffix added which is composed of “msg” part and the ID of the message, e.g. onnet950msg230 which tells voipbox to play the voicemail message with ID 230.
The above picture shows the Routing plan with voicemail service numbers.