Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Description

data_coding (int)

This field defines the encoding scheme of the short message user data, (3) Latin-1 (ISO-8859-1), or (8), USC2 (UTF-16BE).

Note
titleNote!

Even though there are several other encoding schemes defined, the mentioned schemes are the only ones currently supported by the the Image Added SMPP agents.


dest_addr_npi (int)This field indicates the NPI (Numbering Plan Indicator) of the destination address.
dest_addr_ton (int)This field indicates the TON (Type Of Number) of the destination address.
destination_addr (string)This field contains the destination address.
esm_class (int)

This field is used for indicating special message attributes associated with the short message.

Note
titleNote!

Currently only the messaging mode Store and Forward is supported.


priority_flag (int)This field designates the priority level of the message.
protocol_id (int)This field contains the Protocol Identifier. This is a network-specific field.
registered_delivery (int)This field indicates whether an SMSC delivery receipt or an SME acknowledgement is required or not.
replace_if_present_flag (int)This field indicates whether a submitted message should replace an existing message or not.
schedule_delivery_time (string)This field defines when the short message is to be scheduled by the SMSC for delivery. Set to NULL for immediate message delivery.
sequence_number (int)This field is used for correlating responses with requests.

The allowed sequence_number range is from 0x00000001 to 0x7FFFFFFF.

service_type (string)This field can be used to indicate the SMS Application service associated with the message. Set to NULL for default SMSC settings.
short_message (bytearray)

This field contains the actual SM (Short Message) which can consist of up to 254 octets of user data.

Note
titleNote!

Long messages are not supported.


sm_default_msg_id (int)If the SM is to be sent from a list of pre-defined ("canned") SMs stored for the SMSC, this field indicates the ID of the SM. If you are not using an SMSC canned message, set to NULL.
source_addr (string)This field contains the source address.
source_addr_npi (int)This field indicates the NPI (Numbering Plan Indicator) of the source address.
source_addr_ton (int)This field indicates the TON (Type Of Number) of the source address.
validity_period (string)This field indicates the validity period of this message. Set to NULL to request the SMSC default validity period.
OriginalData (bytearray)This field contains the original data in bytearray format.

...