[Asterisk-Users] AGI question or something

Eric Wieling eric at fnords.org
Wed Oct 29 23:08:06 MST 2003


A *bunch* of Asterisk resources, including AGI stuff is at
http://bugs.digium.com/bug_view_page.php?bug_id=0000434  If you know of
any resources not listed there, add them.  I'm hoping Digium will put
these links on their web site under some kind of "external or 3rd party
Asterisk resources" page

On Wed, 2003-10-29 at 22:42, Nate Clifford wrote:
> 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 Spears
-- 
Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/

BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643




More information about the asterisk-users mailing list