Asterisk::AGI perl module documentation NAME Asterisk::AGI - Simple Asterisk Gateway Interface Class SYNOPSIS use Asterisk::AGI; $AGI = new Asterisk::AGI; # pull AGI variables into %input %input = $AGI->ReadParse(); # say the number 1984 $AGI->say_number(1984); DESCRIPTION This module should make … Read more
PrePaid CallingCard IVR Sample Application
November 28th, 2011 | Posted by in Asterisk - (0 Comments)
#!/usr/bin/perl
#
# PrePaid CallingCard IVR <a id="_GPLITA_0" title="Powered by Text-Enhance" href="http://shishir.com.np/blog/?q=node/11#">Application</a> for Asterisk PBX
use Asterisk::AGI;
use DBI;
# Config options
%MYSQL = (
hostname => "localhost",
username => "username",
password => "password",
database => "asteriskdb"
);
$dbh = DBI->connect("dbi:mysql:$MYSQL{database}:$MYSQL{hostname}","$MYSQL{username}","$MYSQL{password}")
… Read more
asterisk::AGI - Simple Asterisk Gateway Interface Class SYNOPSIS ^ use Asterisk::AGI; $AGI = new Asterisk::AGI; # pull AGI variables into %input %input = $AGI->ReadParse(); # say the number 1984 $AGI->say_number(1984); DESCRIPTION ^ This module should make it easier to … Read more
![शिशिर [Shishir] पोखरेल](http://www.shishir.com.np/home/wp-content/uploads/2011/12/test.png)