Send SMS via UDH API
Introduction
If you require the ability to specify SMS headers for sending concatenated messages or vCards for example, you can make use of our UDH gateway. This gateway is accessible via HTTP Post only at the following address:
http://gw.aql.com/sms/gw-udh.php (or https)
| Variable | Required | Description |
|---|---|---|
| Variable: username | Required: Yes | Description: aql username |
| Variable: password | Required: Yes | Description: aql password |
| Variable: destination | Required: Yes | Description: destination number (i.e. 447740...) |
| Variable: udh | Required: No | Description: User Data Header in hex format (no plain text allowed) |
| Variable: data | Required: Yes | Description: User Data Portion in hex format (no plain text allowed) |
| Variable: originator | Required: No | Description: will use account default if not specified |
| Variable: encoding | Required: No | Description: possible values are 7, 8 or 16 (default is 8) |
The gateway only accepts single SMS messages, so larger messages must be split and contain the appropriate UDH headers before they reach our gateway.
Example header/data set:
["udh"]-> string(21) "0605040B8423F0"
["data"]-> string(195) "01060403AE81EA02056A0045C60b03687474703a2f2f7777772e612d712e636f2e756b2f0011033240736d7332656d61696c000801035465737450757368000101"