If you are working on telephone solutions, please check
out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software. |
|
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%0A++++%3Cdcs%3EF5%3C%2Fdcs%3E%0D%0A++++%3Cudh%3E0605040B8423F0%3C%2Fudh%3E%0D%0A++++%3Cud%3EEA0601AE02056A0045C60C037761702E6F7A656B692E6875000801034F7A656B69000101%3C%2Fud%3E%0D%0A%3C%2Fsms%3E
Next page:
Multiple recipients
|