08.0 Stop Recording

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.

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 two arguments: extension, agentLoginName

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.

The agentLoginName is the NoojeeContact username which is used to determine if the user has permission to stop a recording. 

https://<server host>/servicemanager/rest/CallManagementAPI/stop?extenOrUniqueId=410&
agentLoginName=Fred&apiKey=f863246a-973e-11e6-8784-08002718f5b5

This method returns the standard HTTP status '200' on success otherwise an error message is returned.

By uniquecallidRecording API

The stop method takes two arguments: extension, agentLoginName

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.

The agentLoginName is the NoojeeContact username which is used to determine if the user has permission to stop a recording. 

https://<server host>/servicemanager/rest/CallManagementAPI/stop?extenOrUniqueId=12347811.214&
agentLoginName=Fred&apiKey=f863246a-973e-11e6-8784-08002718f5b5


This method returns the standard HTTP status '200' on success otherwise an error message is returned.


https://<server host>/rest/CallManagementAPI/stop?extenOrUniqueId=410&
agentLoginName=Fred&apiKey=f863246a-973e-11e6-8784-08002718f5b5