Page tree
Skip to end of metadata
Go to start of metadata

This page is currently being written. Although the information below is probably accurate, it may not be complete or may have errors.

The information on this page applies to iSymphony 3.1+.

Description

The core server voicemail agent REST resource allows access to the list of voicemail agents that are bound to the core server. This resource allows binding and unbinding voicemail agents to and from core servers.

 

On this page:

 

Root Resource Path

communication_manager/rest/config/asterisk/{coreServerId}/voicemailAgentIdentifiers

JSON Representation

"local-vm"

Resource Paths

communication_manager/rest/config/asterisk/{coreServerId}/voicemailAgentIdentifiers
DescriptionAccesses 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.

DELETERemoves 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
  • No labels