Versions Compared

Key

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

...

By default, SMPP endpoints expect (and generate) the content of the message in XML format. The XML message looks like:

Code Block
langxml

<message>
  <source>SOURCE_PHONE_NUMBER</source>
  <destination>DESTINATION_PHONE_NUMBER</destination>
  <text>MESSAGE_CONTENT</text>
  <npi>NATIONAL_PREFIX_INDICATOR</npi>
  <ton>TYPE_OF_NUMBER</ton>
</message>

If you want to manipulate different format, you need to define your own marshaler.

...