Running a sample application

Last Updated : Oct 05, 2021 |

About this task

After you edit the media and port properties on the AE Services server, run the sample application. The application plays only the last recorded message on a call. If you make a new call, you cannot listen to a recording from a previous call. The application saves all recorded files in the /tmp directory.

Before you begin

Ensure that the AE Services server is running.

Procedure

  1. Start an SSH session and log in to the AE Services server.
  2. On the AE Services server, navigate to the application script directory:

    cd /opt/mvap/cmapi/cmapijava-sdk/examples/bin

  3. In the tutorial application, run the following command:

    ./ant.sh runTutorial

    The application starts running as an endpoint that is ready to receive calls.

  4. In the application, call the extension and listen to the recorded greeting.

    When you call the extension, the application answers with a recorded greeting that prompts you to record a message.

  5. Follow the prompts to record a message.
  6. Listen to the recorded message.