smpp_fail_ec_message

March 26, 2020 Contributors

Name

smpp_fail_ec_message — Fail an SMPP message

Synopsis

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

| void **smpp_fail_ec_message** ( | conn, |   |
|   | m, |   |
|   | error); |   |

smpp_conn * <var class="pdparam">conn</var>;
ec_message * <var class="pdparam">m</var>;
const char * <var class="pdparam">error</var>;

Description

Fail an SMPP message with the specified error.

Parameters

conn

The smpp_conn.

m

The message to fail.

error

The error code will be set to 550. This parameter determines the error string that will be associated with the message. See ec_message_set_code.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

SMPP Functions and smpp_async_fail_ec_message