Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By ExtensionRecording API

The stop method takes a single argumenttwo 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. 

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

...

By uniquecallidRecording API

The stop method takes a single argument: uniquecallidtwo arguments: extension, agentLoginName

The uniquecallid extension is the unique identifier that Asterisk assigns to each active call.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. 

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

...