[Asterisk-Users] AGI question or something
Nate Clifford
asterisknews at devminer.com
Wed Oct 29 21:42:42 MST 2003
Do you have any good web references on AGI or getting to that ACD type
point with the switch?
Perl is no problem finding that ref material but I'm new to the Asterisk
and AGI side of things.
Thanks for the response BTW.
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Azher Amin
Sent: Wednesday, October 29, 2003 8:10 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] AGI question or something
yeah it works, we had the same requirements in our agi applications:
#!/usr/bin/perl -w
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->setcallback(\&mycallback);
$AGI->stream_file('beep');
$AGI->set_extension('6');
$AGI->set_priority(1);
Azher
Nate Clifford <asterisknews at devminer.com> wrote:
Sorry for asking this question again but
before I blow 100 dollars on a X100P I need to know this info:
So does "SET EXTENSION " allow for you to set which
extension the rest of the call will occur over?
So if a call comes into the switch and I could make the AGI script check
the DID or DNIS which is really in the variable agi_dnid?
After that I can do a database lookup from the script and then issue the
"SET EXTENSION" command to asterisk to allocate the call to the right
extension if available?
I had to go to http://home.cogeco.ca /~camstuff/agi.html
For the AGI command descriptions. Is there a better/more up to date
site?
Please any info would be great..
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
_____
Do you Yahoo!?
Exclusive Video Premiere - Britney
<http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.y
ahoo.com/promos/britneyspears/> Spears
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031029/8dde22b5/attachment.htm
More information about the asterisk-users
mailing list