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

Version 1 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.
timeStamp - the authentication timestamp.
hash - the authentication signature or hash.

Sample Hangup query:

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