Displaying 2 results from an estimated 2 matches for "optemp".
Did you mean:
poptemp
2003 Nov 27
1
AGI (IF/ELSE)
I need some help with some statements.....
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $callerid = $input{'callerid'};
if ($optemp != 1) {
my $empid = $AGI->get_data('employee',-1,5);
$AGI->stream_file(entered);
$AGI->say_digits($empid);
my $optemp = $AGI->get_data('correct',-1,1);
}else{
my $strid = $AGI->get_data('store',-1,5);
$AGI-&g...
2003 Dec 31
1
AGI - IVR - Time Clock
...I->ReadParse();
my $callerid = $input{'callerid'};
############# Time Clock Questions ################
my $empid = $AGI->get_data('employee',-1,5); # Asks for Employee ID
$AGI->stream_file(entered);
$AGI->say_digits($empid);
my $optemp = $AGI->get_data('correct',-1,1); # Asks if what was
entered is correct otherwise ask question again
if ($optemp != 1) {
employeeid ();
}
my $strid = $AGI->get_data('store',-1,5); # Asks for Store ID
$AGI->stream_file(entered);...