Setting Up a Voice Mail System

Voice Mail Server configuration requires the following steps:

  1. Configuring the server

  2. Adding a new user

  3. Recording the user greeting

  4. Running the server

  5. Running the client

Configuring the Server

Voice Mail reads configuration parameters from the file voicemail.config, which includes the following default settings:

  • State the path for the common Voice Mail files including the greeting and other sound files:

        voiceRoot     string     /usr/local/vocal/bin/voicemail/Voice/
  • State the path to the Voice Mail users’ home directories, not to be confused with the Unix home directories:

        homeRoot     string     /usr/local/vocal/bin/voicemail/vmhome/
  • State the path where the temporary files are created:

        tempRoot     string     /tmp/
  • State the maximum time, in milliseconds, to wait for user input before any action, such as cutting off the call, occurs:

        InputTimeout     string     10000
  • This parameter is reserved for future use and should be left at 0:

        RecordOnSelfCall     int     0
  • State the maximum permissible message size in milliseconds:

        MaxRecordTime     int     60000
  • State the logging level:

        LogLevel     int     7
  • State the name of the log file:

        LogFileName     string     /usr/local/vocal/log/vmserver1.log
  • State whether the log should be displayed on screen (0=No, 1=Yes)

        LogConsole     int     0
  • State the path for the sendMsg script:

        SendMsgScript     string     ./sendMessage
  • State the path for the prompt table:

        PromptTable     string     /usr/local/head/vocal/vm/wav/PromptTable
  • This parameter is reserved for future use and should be left at 0:

        AutoPlay     int     0

Adding ...

Get Practical VoIP Using VOCAL now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.