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

Asterisk Dialplan Commands

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

Here is a list of all the commands that you can use in your Dialplan (extensions.conf). You can obtain your Asterisk””s list of available applications at the CLI by typing “show applications” and “show application “.

Notes:

* An … Read more

Asterisk config extensions.conf

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

  • extensions.conf – This is your Dialplan

The configuration file “extensions.conf” contains the “dial plan” of Asterisk, the master plan of control or execution flow for all of its operations. It controls how incoming and outgoing calls are handled and … 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