[asterisk-users] Run AGI while agent ringing instead of only when connected
Satish Barot
satish4asterisk at gmail.com
Wed Apr 11 04:11:44 CDT 2012
Yes of course you can use local channel with AddQueueMember().
--Satish Barot
On Wed, Apr 11, 2012 at 1:22 PM, Olivier <oza_4h07 at yahoo.fr> wrote:
> 2012/4/11, Satish Barot <satish4asterisk at gmail.com>:
> > I would implement it in a different way.
> > As you seem to be a seasoned player just a hint here.
> > How about adding local channels as queue members and executing agi in
> local
> > channel context before actual dial()?
>
> Just a thought: does this comply with dynamic agents feature ?
>
> > Only limitation is, AGI will get executed for each dial irrespective of
> > whether an extension rings or not. But at least you can identify which
> > extension is being dialed.
> > See 'Using Local Channels' on
> > http://ofps.oreilly.com/titles/9780596517342/asterisk-ACD.html
> >
> > --Satish Barot
> >
> > On Wed, Apr 11, 2012 at 2:45 AM, Todd Routhier <fonemasta at gmail.com>
> wrote:
> >
> >> Thanks again Danny, Perl was the first thing I tinkered with back in the
> >> 90's but haven't messed with it for years.
> >>
> >> Looking over what you sent, I get about 90% of what's going on there.
> With
> >> a little searching and brushing up on my Perl, I think I will be able to
> >> make this work.
> >>
> >> This is a good solution and, if I can get this to work, I won't even
> need
> >> the AGI. I can basically just hit what I need using CURL within the Perl
> >> script (I think).
> >>
> >> All the AGI was going to do for me is hit a URL with some parameters out
> >> on the Internet. So, pretty sure I can do all that within the Perl
> Script
> >> and leave AGI out of it completely.
> >>
> >> --Todd
> >>
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120411/9340ff3a/attachment-0001.htm>
More information about the asterisk-users
mailing list