Menu

Expand

SMS-MT Example of Sending Message on Specified Port

This feature facilitates to send messages to specified port number of mobile phone device of recipients

The mentioned example code consists of UDH parameter that stores port number in typical Hexadecimal format

Following table describes the usage of attributes and their values used in the above code:

Tag NameDescription
UDHThe UDH attribute must contain hexadecimal string as value. The length of hexadecimal string must be 14 or 24 alphanumeric characters long that also store the port number of mobile phone device and where message is to be delivered.
CodingFor port based messaging, “coding” attribute must store the value 3.
TextThis attribute contains message content in the Hex or simple textual format.

SMS-MT Example of Sending Text Messages

SMS-MT Example of Response

Additional Parameters

SMS-MT Example of Sending Picture Messages

SMS-MT Example for Sending WAP Push

SMS-MT Example of Sending Unicode Text Messages

SMS-MT Example of Sending Message on Specified Port

        
        
              
              

              Thank you for your feedback!

              We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              Refer us and get $10 in 3 simple steps!

              Step 1

              Get link

              Get a free personal referral link here

              Step 2

              Give $10

              Your user signs up and upgrade using link

              Step 3

              Get $10

              1,250 free SMSes
              OR 1,000 free voice mins
              OR 12,000 chats
              OR more