The voicemail 3 exampleΒΆ

An inbound application that answers the call and says “Welcome to the voicemail server for <name>”. <name> is obtained from the application_parameters and must be registered on the inbound services page of the CWP.

The application uses <name> to determine whether the caller owns the voicemail box. It does this by comparing <name> with the <call_from> property of the inbound call.

If the caller owns the voicemail box, the top level options given are:

  1. Play all existing messages
  2. Delete all existing messages

If the caller does not own the voicemail box, he can leave a new message. The name of the .wav file to save to will be “samples/voicemail3/<name>/msg<counter>.wav”. The <counter> is a variable, initialised to 1, which increments each time a message is successfully saved.

View the source code here:

Previous topic

The voicemail 2 example

Next topic

The voicemail 4 example