You are here

function sms_muse_receive_parse in SMS Framework 5

Implementation of sms_$gateway_receive_parse() Tells sms_receive how to parse incoming messages

File

modules/sms_muse/sms_muse.module, line 266

Code

function sms_muse_receive_parse() {

  // hook for for sms_receive.module
  $result = array();
  $result['type'] = check_plain($_GET['Type']);

  // will be 'sms' unless with media
  $result['from'] = check_plain($_GET['From']);
  $result['text'] = check_plain($_GET['Text']);
  return $result;
}