[asterisk-users] Async AGI
psiderov at cst-bg.net
Mon Sep 10 03:57:24 CDT 2012
I am running it asynchronously because adhearsion needs it.
Date: Wed, 5 Sep 2012 11:28:46 -0500
From: "Danny Nicholas" <danny at debsinc.com>
Subject: Re: [asterisk-users] Async AGI
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users at lists.digium.com>
Content-Type: text/plain; charset="us-ascii"
As I understand it, when the AGI is asynchronous, you lose the control of
checking for completion, etc. Since you are running prior to answer(), why
run it asynchronously.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pavel Siderov
Sent: Wednesday, September 05, 2012 11:26 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Async AGI
Is there a way to execute next priority in the dialplan if you have called
agi:async? I want to play warning message if adhearsion is down. Currently I
wasn't able to make it work. The dialplan execution ends after the first
exten => _X.,1,AGI(agi:async)
exten => _X.,2,Answer
exten => _X.,3,Playback(some-message)
exten => _X.,4,Hangup
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users