[asterisk-users] AMI mulitple calls quickly
cursor at telecomab.mx
Tue Mar 12 12:17:17 CDT 2019
On 3/12/19 11:03 AM, Steve Edwards wrote:
> On Mon, 11 Mar 2019, Jerry Geis wrote:
>> If I use the AMI interface to originate a call, close the connection,
>> open another connection etc...This works. but is slow...
> Would opening multiple AMI connections be an option?
You should be able to send multiple originate commands without
having to wait as long as you are using the "Async" option in your
originate action. That way you just send all your calls and then wait
for an "OriginateResponse" event to know the result of each of your
calls. Just remember to also use an "ActionID" to identify each call so
you can match the response event.
Telecomunicaciones Abiertas de México S.A. de C.V.
More information about the asterisk-users