/** * internal Action - "http://SERVER/Provider/internal" * * Gets params from GET and puts them in a new Request Model Object . * then calls executeRequest() to send the message to internal. * * @package ApplicationController * @subpackage ProviderController */ public function internalAction() { $params = Application_Model_General::getParamsArray($this->getRequest()->getParams()); if (isset($params['SLEEP'])) { sleep((int) $params['SLEEP']); } if (isset($params['NUMBER'])) { $params['PHONE_NUMBER'] = $params['NUMBER']; } // error_log(print_R($params, 1)); $reqModel = new Application_Model_Request($params); $manual = isset($params['MANUAL']) && $params['MANUAL']; $reqModel->ExecuteRequest($manual); }