Displaying 1 result from an estimated 1 matches for "dbh3".
Did you mean:
dbh
2006 Feb 08
1
Possible AGI Bug in Asterisk?
...dule Shad Mortazavi December 15, 2005
use Asterisk::AGI;
use DBI;
#Create a DB-DNS
my $dbh = DBI
->connect('DBI:mysql:CCVR;192.168.6.56','CCVR_User','****');
my $dbh1 = DBI
->connect('DBI:mysql:CCVR_ADMIN;192.168.6.56','CCVR_User','****');
my $dbh3 = DBI ->connect('DBI:mysql:CCVR;172.16.1.233','user1','****');
#Create AGI
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
# Capture the extension dialed
my $extn = $input {'extension'};
#Answer the Call
$AGI->answer();
#generate a file name b...