/** * Sends warning sms to the recipients * @param string $msg * @return array */ protected function sendSmsOnFailure($msg) { $recipients = Billrun_Factory::config()->getConfigValue('smsAlerts.processing.recipients', array()); return Billrun_Util::sendSms($msg, $recipients); }