Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Terminate a call or hang up. This method is typically used after having initiated a call using the dial method.

Entry point:

http://<server host>/servicemanager/rest/CallManagementAPI/hangup

Parameters:

extenOrUniqueId - the internal or agent extension.
apiKey - api key provided by Noojee Support
– OR --
timeStamp - the authentication timestamp.
hash - the authentication signature or hash.

Sample Hangup query using API Key:

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

Sample Hangup query using timestamp/hash:

http://<server host>/servicemanager/rest/CallManagementAPI/hangup?
timeStamp=1412212472393&
hash=b529f3e9d6d20e40ff232a07c02bcad62fe6da45755abfeb618af09c9f781bf7&
extenOrUniqueId=100

Sample success response:

{"Message":"Channel Hungup","Code":0}

Sample expired timestamp response. When the timestamp expires, the call must be repeated with a newly acquired timestamp.

{"Message":"Expired TimeStamp","Code":-1}
  • No labels