You are here

function sms_receive_parse in SMS Framework 5

Hook for gateways to define how incoming messages are parsed

1 call to sms_receive_parse()
sms_receive_receive in modules/sms_receive/sms_receive.module

File

modules/sms_receive/sms_receive.module, line 122

Code

function sms_receive_parse() {
  $gateway = variable_get('sms_default_gateway', 0);
  $function = 'sms_' . $gateway . '_receive_parse';
  if (function_exists($function)) {
    $sms_message = $function();
  }
  return $sms_message;
}