You are here

function sms_track_sms_receipt in SMS Framework 7

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

Implements hook_sms_receipt().

Parameters

string $op: Operation string.

string $number: MSISDN (number) of recipient.

string $reference: Reference code of the message.

string $status: Message status code. See sms constants.

array $options: Additional options array.

File

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

Code

function sms_track_sms_receipt($op, $number, $reference, $status, $options) {
  if ($op == 'pre process') {

    // Tracking.
    sms_track_update_message($reference, $status);
  }
}