beautypg.com

Grandstream UCM6100 Series IP PBX Appliance CDR API Guide User Manual

Page 17

background image

UCM6100 Series CDR and REC API Guide

Page 16 of 17

https://192.168.254.200:8443/recapi?filedir=monitor@meetme@voicemail/default

Response:

A CSV file listing the contents of each directory listed (relative to ast_config_AST_SPOOL_DIR).

Case 3: Both filedir and filename are set.

In this case, multiple file names are supported, separated by '@'; multiple file directories are not currently

supported.

Example Request:

https://192.168.254.200:8443/recapi?filedir=meetme&filename=meetme-conf-rec-6300-1411501234.0-

[email protected]

Response:

The matching WAV file (if only one valid file found, in WAV format).

-OR-

A tarball containing all matching files, named [timestamp].tar, where the timestamp is set at the start of the

API callback function.

-OR-

404: Not Found (if no matching files are found).

Case 4: Only filename is set.

This case is the same as Case 3

, with the file directory defaulting to “monitor”.

Example Request:

https://192.168.254.200:8443/recapi?filename=auto-1414771234-1000-1004.wav@auto-1414775678-1001-

1003.wav

Response:

See Case 3.