Versions Compared

Key

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

...

Code Block
linenumberstrue
https://<server host>/servicemanager/rest/CallManagementAPI/hangup

HTTP Method: POST

Content Type: application/x-www-form-urlencoded

Parameters:

...

Argument

...

Description

...

extenOrUniqueId - the internal or agent extension.
apiKey - api key provided by Noojee Support
Mandatory
extenOrUniqueId

The handset extension no. or the uniqueCallId of a channel.

Its recommended that you use the uniqueCallId (obtained via the subscribe api call) rather than the extension no.

Hangup up a call via an extension no. can result in the wrong call being hungup if there is more than one call on the handset.

yes
apiKeyapi key provided by Noojee Supportyes


Sample Hangup query:

By unique id: (recommended)

Code Block
linenumberstrue
https://<server host>/servicemanager/rest/CallManagementAPI/hangup?
apiKey=f863246a-973e-11e6-8784-08002718f5b5&
extenOrUniqueId=342082345-238.234


By extension no. (not recommended)

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

...