multiSwitch – user manual
© TOPEX 2008 155
Example voicemail.cfg
– the configuration file for the voice-mail service
Lines that start with a "#" are comments and will be ignored.
# in milliseconds
ring_timeout 15000
# maximum number of messages that can be received by a subscriber
max_msg 15
# maximum duration of a received message (in seconds)
max_time 30
# range of UDP ports used to run the voice messages
begin_rtp_port 15000
end_rtp_port 16000
# if the value is 1, voicemail can be used without transcoding; this is useful if no transcoding machine
exists
# in this case, all SIP phones must be configured to use the same codec
same_codec 1
Example prepaid.cfg
define_language
1 ro
2 en
The first language in the list is the default one.
Reading the messages
For the messages to be read, a route must be created to the
READ_VOICE_MAIL
.service.
Messages are numbered with two digits; this means that to select the first message, the user has to
press
01
instead of 1, and so on until 9. If the user does not enter 2 digits, they will be disconnected on
timeout.