Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.
communication_manager/rest/config/asterisk/{coreServerId}/queues
{
"id": "c46f4e60-aba2-4340-a6a5-0c7304d40ba1",
"displayName": "IncomingQ",
"identifier": "5001",
"destinationExtension": "5001",
"destinationContext": "from-internal",
"enabled": false,
"permissionDisplayName": "IncomingQ <5001>",
"permissionId": "c46f4e60-aba2-4340-a6a5-0c7304d40ba1"
}
| | |
---|
| | Configuration id of the queue. |
| | The display name of the queue. |
| | The Asterisk identifier of the queue. |
| | The extension used to call the queue from the panel. |
| | The context used to call the queue from the panel. |
| | Flag specifying if the queue is enabled or not. |
| | Display name of the queue in the permission system. |
| | Permission id of the queue. |
communication_manager/rest/config/asterisk/{coreServerId}/queues |
---|
| Accesses all the queues in the core server. |
| Gets all the configuration for all the queues in the system. |
| Adds a queue to the configuration. Errors: - 409 'A queue with the given id already exists.': Returned if a queue with the given id already exists.
- 409 'A queue with the given identifier already exists.': Returned if a queue with the given identifier already exists.
- 412 'No identifier provided.': Returned if no identifier was provided.
- 412 'No displayName provided.': Returned if no display name was provided.
- 412 'No destinationContext provided.': Returned if no destination context was provided.
- 412 'No destinationExtension provided.': Returned if no destination extension was provided.
|
|
communication_manager/rest/config/asterisk/{coreServerId}/queues/{queueId} |
---|
| Accesses the configuration of a specific queue. Parameters: - queueId: The configuration id of the queue.
|
| Gets the configuration of the specified queue. Errors: - 404 'A queue with the given id does not exist': Returned if no queue exists with the given id.
|
| Updates the specified queue configuration. Errors: - 404 'A queue with the given id does not exist': Returned if no queue exists with the given id.
- 409 'A queue with the given identifier already exists.': Returned if a queue with the given identifier already exists.
- 412 'No identifier provided.': Returned if no identifier was provided.
- 412 'No displayName provided.': Returned if no display name was provided.
- 412 'No destinationContext provided.': Returned if no destination context was provided.
- 412 'No destinationExtension provided.': Returned if no destination extension was provided.
|
| Deletes the specified queue. Errors: - 404 'A queue with the given id does not exist': Returned if no queue exists with the given id.
|
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/conferenceRooms
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/conferenceRooms/56cf70a3-1ee0-4b09-8f40-297430eeeddf
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"id":"066a6359-0ff1-49e5-83aa-52083dfbbddb","name":"Main","identifier":"650","destinationExtension":"650","destinationContext":"from-internal"}' http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/conferenceRooms
curl --user manager:manag3rpa55word -k -i -X DELETE http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/conferenceRooms/56cf70a3-1ee0-4b09-8f40-297430eeeddf
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X PUT -d '{"id":"066a6359-0ff1-49e5-83aa-52083dfbbddb","name":"Main New","identifier":"650","destinationExtension":"650","destinationContext":"from-internal"}' http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/conferenceRooms/56cf70a3-1ee0-4b09-8f40-297430eeeddf