DictaphoneStop

DictaphoneStop

Description

Stops recording in dictaphone mode

Syntax

http://<host>:<apiport>/DictaphoneStop

Parameters

pass = API passcode (optional)

sessionInfo=... Session info written into "called" CDR field

Example

http://localhost:10100/dev/DictaphoneStop?sessionInfo=abcdefg

(above call will stop dictaphone recording with session info "abcdefg")

Return value

Positive result:

  • 'OK'

    • only two letters are returned

Failure result:

  • 'ERROR:<code>:<description>'

    • the first 5 characters of the response are 'ERROR'

    • followed by a ':' (colon)

    • <code> is a 4 character error code

    • followed by a ':' (colon)

    • <description> textual description of the error

Defined error codes:

  • 'AUTH' - request authentication error

  • 'WRST' - wrong state, capturing has been stopped already