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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Azher Amin
Sent: Wednesday, October 29, 2003 8:10 PM
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

Reply via email to