I am trying to get started writing scalable, telecom-grade applications with Asterisk and Ruby. I had originally intended to use the Adhearsion framework for this, but it does not have the required maturity and its documentation is severely lacking. AsteriskRuby seems to be a good alternative, as it's well documented and appears to be ...
Hello,
I'm new to Asterisk AGI programming. Im trying to create a simple IVR, using asterisk-perl, where a user can enter any extension from 1 to 4. Here is my code so far:
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
for($i = 0 ; $i < 2 ; $i++)
{
$AGI->exec('Playback','welcome');
$AGI->exec('WaitExten','5|m');
}
Now, I ...
hello everyone,
I am writing an Perl AGI script where I convert a text into an audio file and play back this audio file using the following:
$AGI->exec("Background", "$filename");
I want the user to be able to press 0 to hang up the call. That is, I need to make the AGI listen for digits entered by the user and act accordingly. A kin...
Hi,
I'm facing a strange problem while using XML::Simple module of Perl.
I am writing an Asterisk AGI script in Perl where I am calling a function someSub() which uses curl to fetch XML from a CGI page into a variable $xmlstream.
I then use XMLin on $xmlstream. The code is something as shown below:
$xmlstream = someSub() ; #uses curl...
I am trying to download an MP3 file from an AGI script written in Perl, however the file does not get downloaded. The strange thing is that if I try to download the same file from a plain Perl script it gets downloaded.
Here's my AGI code:
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->answer();
s...
Please tell me related websites for that code.
...
Hi!
I am trying to do an IVR using FAstAGI to say information from my database to my clients. I done AGI doing this but I need now run this from another server, windows server, but I dont know how can I do this.
I checked the Asterisk::fastagi module but it is so confused and I dont understand anything. I did a few AGI perl scripts with...
I am new to Asterisk (VoIP) and am rather new to UNIX/Perl. I'm taking this over from a co-worker that left the company, so I didn't set this up in the first place, I just need to make some changes.
I'm having a problem where I use get_data() to get the user's keypad entry, but the keys are just ignored and the get_data() function just ...
I have done some AGI development in the past with PERL and PHP, but my current project is using Python. I have found the frameworks listed here: http://www.voip-info.org/wiki/view/Asterisk+AGI , but they are all pretty old and do not seem kept up to date. I'd like to know if there are any others out there specifically for asterisk 1.6....