smpp_read_msg_text_blob

March 26, 2020 Contributors

Name

smpp_read_msg_text_blob — Retrieve text blob context variable from an ec_message

Synopsis

#include "modules/mobility/smpp/smpp_util.h"

| string * **smpp_read_msg_text_blob** ( | m, |   |
|   | key); |   |

ec_message * <var class="pdparam">m</var>;
const char * <var class="pdparam">key</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.2.

Retrieve text blob context variable from an ec_message. Valid keys are: BLOB_KEY_SMS_TEXT, BLOB_KEY_MO_EMAIL_TEXT.

Parameters

m

The ec_message. For a description of this data type see “ec_message”.

key

The text blob context key.

Return Values

The string value of the text blob key.

Threading

It is legal to call this function in any thread.

See Also

SMPP Functions