$Number' was called
\n";
$fp = fopen( $ModemDev, "w");
sleep(1);
fwrite( $fp, "+++");
sleep(1);
fwrite( $fp, "ATZ\n");
sleep(1);
fwrite( $fp, "ATX1\n");
sleep(1);
fwrite( $fp, "ATD $Number \n");
sleep(8);
fclose($fp);
sleep(1);
}
else
echo "Modem is Disable, number: '$Number' was not called
\n";
}
function SetWackeup( $Number, $TimeH, $TimeM)
{
global $WakeupNumber;
DialNumber( "$WakeupNumber$TimeH$TimeM$Number");
}
?>