Answer the question
In order to leave comments, you need to log in
Is it possible to call the AddQueueMember command through Rest Asterisk?
Faced with the task of sending a list of employees to the call queue on the Asterisk side.
ari itself is configured and launched according to this instruction: https://asterisk-pbx.ru/wiki/asterisk/ari/ari_start
Successfully tested both curl and the Asterisk developer resource:
ari.asterisk.org
Basic asterisk commands to understand how it is possible to implement did not lead
Asterisk
Bridges
Channels
Endpoints
Device states
Events
Mailboxes
Playbacks
Recordings
Sounds
ARI does not have access to any objects, only those it controls. This means you can't reply to a channel that isn't logged into the Stasis app. However, the channel list will return all active channels, not just those logged into Stasis
. Only those operations are available that are defined on the Asterisk side (which is understandable, since Asterisk defines all REST operations).
The Stasis app is only available when a client connection is established. If there is no connection on a WebSocket with the name of this application, Stasis will throw an error and move on through the dialplan.
Answer the question
In order to leave comments, you need to log in
No. But you can solve this problem using Asterisk Manager Interface (AMI):
QueueAdd
I solved the problem by connecting the PAMI library:
https://github.com/marcelog/PAMI
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question