Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

MMS example Contents | SearchMultiple recipients

Home > Product Manual > Developers Guide > HTTP SMS API > Examples > SMS Message types > Binary SMS example

 


Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

How to send a binary sms message

To send a binary SMS message we recommend you to use the SMS:BINARY:XML message format. This message format allows you to define the DCS, PID, UDH and UD values of the message.

To send the message you should use the following message type:

Message type: SMS:BINARY:XML

To send the message you should use the XML format defined in the MMS XML section of the Ozeki Mobile Message Type Specification.


Message data:
<sms>
    <pid>00</pid>
    <dcs>F5</dcs>
    <udh>0605040B8423F0</udh>
    <ud>EA0601AE02056A0045C60C037761702E6F7A656B692E6875000801034F7A656B69000101</ud>
</sms>

To send this message in an HTTP request, you should urlencode the message data and use the following HTTP URL:

http://127.0.0.1:9501/api?action=sendmessage&username=httpserverusr1&password=pass1&
recipient=06203105366&messagetype=SMS:BINARY:XML&messagedata=%3Csms%3E%0D%0A++++%3Cpid%3E00%3C%2Fpid%3E%0D%0
A++++%3Cdcs%3EF5%3C%2Fdcs%3E%0D%0A++++%3Cudh%3E0605040B8423F0%3C%2Fudh%3E%0D%0A++++%3
Cud%3EEA0601AE02056A0045C60C037761702E6F7A656B692E6875000801034F7A656B69000101%3C%2Fud%3E%0D%0A%3C%2Fsms%3E

More information





Next page: Multiple recipients
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > Developers Guide > HTTP SMS API > Examples > SMS Message types > Binary SMS example
Legal | Privacy | Terms of use | 2518
35.170.78.142 | 87.229.102.173 | Login