You are here

function sms_track_sms_send in SMS Framework 6

Same name and namespace in other branches
  1. 6.2 modules/sms_track/sms_track.module \sms_track_sms_send()
  2. 7 modules/sms_track/sms_track.module \sms_track_sms_send()

Implement hook_sms_send()

File

modules/sms_track/sms_track.module, line 107
Message tracking feature module for Drupal SMS Framework.

Code

function sms_track_sms_send($number, $message, &$options, $gateway) {

  // Tracking
  // Place a tracking reference on a sent message if we need to
  if (!array_key_exists('reference', $options)) {
    $options['reference'] = md5($number . $message);
  }
}