O'Reilly logo

Practical VoIP Using VOCAL by Luan Dang, Cullen Jennings, David Kelly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required