Displaying 1 result from an estimated 1 matches for "nortel_db".
2005 Jul 19
0
Timing out issue whenusing AGI
...";
while (<IN>) {
chomp;
$ext = $_;
# print STDERR "$ext\n";
if ($ext == $val) {
$AGI->exec('Dial',"SIP/$ext".'@cme-pbx');
close(IN);
goto EXIT;
}
} # end while loop
close(IN);
open(IN, "/var/lib/asterisk/agi-bin/nortel_db") or die "$!";
while (<IN>) {
chomp;
$ext = $_;
# print STDERR "$ext\n";
if ($ext == $val) {
$AGI->exec('Dial',"SIP/1555123$ext".'@nortel');
close(IN);
goto EXIT;
}
} # end while loop
close(IN);
$rc = $AGI-...