Core Server Voicemail Agent Configuration
Version 3.1 by michaely on 2016/05/30 21:41
Root Resource Path
communication_manager/rest/config/asterisk/{coreServerId}/voicemailAgentIdentifiers
JSON Representation
"local-vm"
Resource Paths
communication_manager/rest/config/asterisk/{coreServerId}/voicemailAgentIdentifiers | |
---|---|
Description | Accesses all the list of voicemail agent identifiers bound to the core server. |
GET | Gets all the list of voicemail agent identifiers bound to the core server. |
POST | Adds a specific voicemail agent as a bound agent on the core server. |
| |
communication_manager/rest/config/asterisk/{coreServerId}/voicemailAgentIdentifiers/{voicemailAgentIdentifier} | |
Description | Access a specific bound voicemail agent identifier. Parameters voicemialAgentIdentfier: The identifier of the voicemail agent. |
DELETE | Removes a specific voicemail agent as a bound agent on the core server. |
Curl Examples
Get all bound voicemail agent identifiers
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/config/asterisk/voicemailAgentIdentifiers
Add a bound voicemail agent identifier
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '"server2-vm"' http://localhost:58080/communication_manager/rest/config/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/voicemailAgentIdentifiers
Remove a bound voicemail agent identifier
curl --user manager:manag3rpa55word -k -i -X DELETE http://localhost:58080/communication_manager/rest/config/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/voicemailAgentIdentifiers/server2-vm