Monitor Recordings Sample

A command line console application that provides access to the Monitor Recording facilities of the Aculab Cloud Web Services API.

Usage

python monitor_recordings.py [--wsserver <cloudWebServerAddress>] <cloudId> <username> <apiAccessKey> <command>

Arguments

cloudWebServerAddress

The address of the cloud web server. By default the wrappers call web services on https://ws-<cloudId>.aculabcloud.net. In certain circumstances you may need to use a different address which you can set here.

cloudId

Cloud region id (e.g. 1-2-0)

username

Cloud account username

apiAccessKey

Cloud API Access key

command

One of the following...

list <applicationInstanceId>

download <cloudFilename> <localFilename>

Where...

applicationInstanceId

The id that identifies the application instance for which to retrieve a list of monitor recordings from the cloud.

cloudFilename

The name of the monitor recording file on the cloud.

localFilename

The path and filename for the downloaded file.

Note

For users running Python 2 under Windows, this tool does not support command line arguments containing non-ASCII characters. If you wish to specify command line arguments containing non-ASCII characters, please use Python 3.

Examples

  1. List recordings

    python monitor_recordings.py 1-2-0 bob@acompany.com 6b4UmwoOPxjeI2M76aebfQ list 0123456789abcdef.12345
    
  2. Download a recording

    python monitor_recordings.py 1-2-0 bob@acompany.com 6b4UmwoOPxjeI2M76aebfQ download 2014-05-14/0123456789abcdef.12345.6543/150994965_NRCH_NORMAL(200).wav c:/recordings/my_recording.wav