Page tree

Versions Compared

Key

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

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

Info

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.

 

Panel
titleOn this page:

Table of Contents
maxLevel2
indent1
 

Root Resource Path

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

JSON Representation

Code Block
"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

Code Block
languagebash
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

Code Block
languagebash
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

Code Block
languagebash
curl --user manager:manag3rpa55word -k -i -X DELETE http://localhost:58080/communication_manager/rest/config/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/voicemailAgentIdentifiers/server2-vm