function doSendSMS() { $args = func_get_args(); if ($args[2]) { CellPhone::openSerialPort(); // CellPhone::sendSMS($args[1],$args[2]); CellPhone::sendPDUSms($args[1], $args[2]); CellPhone::closeSerialPort(); } return ""; }