Demo/Simple Mode

In this mode, XMSTool is used to execute predefined demos or macros that string together a series of RESTful request and response messages to make up a simple application, such as answering a call and playing a file or putting a caller into a video conference.

The Demo screen provides access to the demos listed below.

Note: All demos are multimedia – both audio and video.

Proceed as follows to run a demo:

  1. Select a Demo from the drop-down list.

  2. Place an inbound call from a SIP softphone. Any SIP user name (or extension) may be used with XMSTool, as the scenario selection is done through the drop-down list.

  3. Make a call to the IP address of the PowerMedia XMS. The call will be answered by PowerMedia XMS and XMSTool, and the appropriate scenario will be played.

    Note: Several scenarios will use two callers.

Details about the application’s call flow may be found in the XMSTool’s session log, which is located in the testing directory and named xmstool.log. The logger overwrites the log file each time XMSTool starts.

Note: All demo scenarios start when an inbound call is received. Currently, outbound calls cannot be used.

Accessing XMSTool using CLI

Demos are also accessed through the command line interpreter (CLI) when a windowing system on the host computer is not available.

Proceed as follows to use the CLI interface:

  1. Start the tool from the operating system command prompt:

    > java –jar dist/XMSTool.jar –r -m <xms_server_ip_address>

  2. Upon successful connection to PowerMedia XMS, all available test scenarios for inbound calls are displayed:

    XMSTool Application
    -------------------
    Demos
    -----

    [collect]
    Description: Play and collect demo

    [conference]
    Description: 2 party 10 second conference demo

    [confplay]
    Description: 2 party conference play demo

    [join]
    Description: Join 2 calls for 10 seconds demo

    [play]
    Description: Play demo

    [record]
    Description: Record demo

    Waiting for incoming calls ...

    XMSTool>

  3. Access a scenario by placing a SIP video call to the IP address of PowerMedia XMS using the test name as the SIP user name. For example, entering Sip:play@192.168.1.100 will connect to the PowerMedia XMS at IP address 192.168.1.100 and execute the multimedia file "play" test scenario.

  4. Stop XMSTool using the exit command at the CLI prompt.