3.0 Stop Recording
Deprecated: The recording API has been replaced by the new Noojee API.
The recording API will no longer be supported post the release of 4.0
Stopping a Recording
The recording api allows you to stop a recording for a given extension or based on a unique call id. When stopping a recording you can also stipulate a 'tag' that should be attached to the recording and which can later be used to retrieve the details of the recording.
STOP
Note: The API will only accept POST requests.
Before you can stop a recording you must first obtain a timestamp and a security token via the Authentication method.
There are two forms of the stop method; one which takes the extension number to start recording on and the other takes the uniquecallid generated by asterisk.
By ExtensionRecording API
The stop method takes a single argument: extension
The extension is the telephone extension and is resolved by stripping the tech and unique identifier from channel names. ie SIP/410-12FA7B becomes 410.
http://{somehost}/servicemanager/rest/RecordingAPI/stop?extenOrUniqueId=410&agentLoginName=Fred&timeStamp=1264853382&hash=45678905678956789678906789
This method returns the standard HTTP status '200' on success otherwise an error message is returned.
By uniquecallidRecording API
The stop method takes a single argument: uniquecallid
The uniquecallid is the unique identifier that Asterisk assigns to each active call.
http://{somehost}/servicemanager/rest/RecordingAPI/stop?extenOrUniqueId=12347811.214&agentLoginName=Fred&timeStamp=1264853382&hash=45678905678956789678906789
This method returns the standard HTTP status '200' on success otherwise an error message is returned.
https://127.0.0.1/rest/RecordingAPI/stop?extenOrUniqueId=410&agentLoginName=Fred&timeStamp=1264853382&hash=45678905678956789678906789