SMS WAP

From Triangle Wiki

Jump to: navigation, search

Contents

Introduction

This page documents the steps to send a WAP Push through mBlox and other gateway companies that do not provide an easy interface to this.

WAP Pushes need to be binary encoded messages and have set parameters that need to be included for the handset to interpret the message correctly.

WAP Pushes come in tow forms Service Indication (SI) and Service Loading (SL)

Usage

  • Firstly upload an image through the media manager.
  • When creating an action select the image you want to use.
  • This will create the path
  • Add in a message of no more than 20 chars.
  • The system will automatically create a WAP push message from these elements.

Service Indication (SI)

Tag Tokens

  • si = 05
  • indication = 06
  • info = 07
  • item = 08

Attribute Start Tokens

  • action - signal-none = 05
  • action - signal-low = 06
  • action - signal-medium = 07
  • action - signal-high = 08
  • action - delete = 09
  • created = 0A
  • href = 0B
  • href - http:// = 0C
  • href - http://www. = 0D
  • href - https:// = 0E
  • href - https://www. = 0F
  • si-expires = 10
  • si-id = 11
  • class = 12

Attribute Value Tokens

  • .com/ = 85
  • .edu/ = 86
  • .net/ = 87
  • .org/ = 88

Handset Port Descriptors

WAP SI UDH = :06:05:04:0B:84:23:F0
RINGTONE UDH = :06:05:04:15:81:15:81
GROUP ICON UDH = :06:05:04:15:83:15:83
OPERATOR LOGO UDH = :06:05:04:15:82:15:82

Example

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
  "http://www.wapforum.org/DTD/SI.dtd">
<si>
 <indication href="http://wap.80508.com/wap.php?ei=1"
             created="2006-10-25T15:23:15Z"
             si-expires="2006-10-26T00:00:00Z"
             si-id="1234">
  This is an SI test
 </indication>
</si>

Example Breakdown

06:05:04:0B:84:23:F0
03:06:03:AE
81:EA:03:05:6A:00:45:C6:0C
03:77:61:70:2E:38:30:35:30:38:00:85
03:77:61:70:2E:70:68:70:3F:65:69:3D:31:00
01
03:54:68:69:73:20:69:73:20:61:6E:20:53:49:20:74:65:73:74:00:01:01
06:05:04:0B:84 - Destination Port
23:F0 - Origin port
03 - Transaction ID (push ID)
06 - PDU type (push PDU)
03 - Header Length
AE - Content Type: application/vnd.wap.sic
02 - Version number - WBXML version 1.2
05 - SI 1.0 Public Identifier
6A - Charset=UTF-8 (MIBEnum 106)
00 - String table length
45 - si, with content
C6 - indication, with content and attributes
0C - http://
03 - Inline string follows
77:61:70:2E:38:30:35:30:38 (wap.80508)
00 - Terminating 00
85 - .com/
03 - Inline string follows
77:61:70:2E:70:68:70:3F:65:69:3D:31 (wap.php?ei=1)
00 - Terminating 00
0A - Created=
C3 - OPAQUE Data Follows
07 - Length Field (7 Bytes)
20:06:10:25:15:23:15 (2006-10-25T15:23:15Z)
10 - si-expires=
C3 - OPAQUE Data Follows
04 - Length Field (4 Bytes)
20:06:10:26 (2006-10-26T00:00:00Z)
01 - End Of indication attribute list
03 - Inline string follows
54:68:69:73:20:69:73:20:61:6E:20:53:49:20:74:65:73:74 - (This is an SI test)
00 - Terminating 00
01 - End Of indication element
01 - End of si element

External Links

Personal tools