N
N
nooze2015-11-09 12:59:56
Asterisk
nooze, 2015-11-09 12:59:56

How to make in asterisk originate to several numbers at the same time (AMI)?

A question. Through AMI, I do originate to the asterisk and pass the SIP number as a channel, everything is ok (I do it through php + PAMI) - calls go without problems.
But now I need to do originate on several numbers at the same time. The easiest way to do this would be through the Ring Group (and Local /), but the problem is that I don’t know the list of numbers to dial in advance and I want to transfer it dynamically.
This is how it works (with one number):

action: Originate
channel: SIP/7926ххххххх@192.168.25.11

I tried to pass in the format of the DIal command:
action: Originate
channel: SIP/7926ххххх&SIP/7917ххххх@192.168.25.11

or
action: Originate
channel: SIP/7926ххххххх@192.168.25.11&SIP/7917ххххххх@192.168.25.11

but nothing is calling "Unable to request channel"
What's wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Baidin, 2015-11-09
@zeronice

try through local
, that is, connect to the extension in the dialplan, followed by Dial in several directions

A
alegzz, 2015-11-09
@alegzz

asterisk.ru/knowledgebase/Asterisk+Realtime+Extensions
or AGI/FastAGI. well, respectively, through Local

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question