Because a thing seems difficult for you, do not think it impossible for anyone to accomplish. – Marcus Aurelius
Header

Asterisk perl agi

November 28th, 2011 | Posted by CcR in Asterisk - (0 Comments)


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 CcR 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 =&gt; "localhost",
username =&gt; "username",
password =&gt; "password",
database =&gt; "asteriskdb"
);

$dbh = DBI-&gt;connect("dbi:mysql:$MYSQL{database}:$MYSQL{hostname}","$MYSQL{username}","$MYSQL{password}")
… Read more

Perl CPAN and Asterisk

November 28th, 2011 | Posted by CcR in Asterisk - (0 Comments)


asterisk::AGI - Simple Asterisk Gateway Interface Class

SYNOPSIS ^

use Asterisk::AGI;

$AGI = new Asterisk::AGI;

# pull AGI variables into %input

%input = $AGI-&gt;ReadParse();

# say the number 1984

$AGI-&gt;say_number(1984);

DESCRIPTION ^

This module should make it easier to … Read more