On 18.3.2004, at 09:36, chandra sekhar wrote:
I have read the WAP-167-ServiceInd-20010731-a.pdf from wap forum and tried push SI as shown below but it never comes on to either of my mobiles (nokia 6100 and P800). Is there any need to configure SMSC settings for this. Please let me know if anything is wrong in my url-message. Or if anyone has succeeded in PUSH si using SMS pls let me know.
links "http://localhost:13013/cgi-bin/sendsms? username=tester&password=foobar&to=%2Bmobilenumber&text=%01%06%04%03%AE %81%EA%02%05%6A%00%45%C6%0D%03abcd%00%85%03Angel.pdf%00%08%0A%C3%07%20% 03%08%22%15%30%10%C3%04%20%04%03%20%01%03TestPdf%00%01%01&udh=%06%05%04 %0B%84%23%F0&dlrmask=24
Start of the &text looks strange. It should contain only WSP headers + content (it is, the so document). Like:
01 06 01 AE + content.
Dlrmask i receive is 8 (which means successfully submitted to SMSC).
UDH:06 05 04 0B 84 23 F0 origin port no
02 Transaction ID (Push ID)
06 PDU type (Push PDU)
01 Header Length
AE Content Type=application/vnd.wap.sic (0x80 | 0x2E) [This i tried AE & 2E]
02 <version>
05 <si>
6A <charset=utf-8>
00 <string>
45 <si>
C6 <indication>
0D http://www.
03 (next is an ASCII string for the URL, terminate with 00)
abcd%00%85%03Angel.pdf which means = abcd.com/Angel.pdf
00 terminate string with 00 08 <si - action high> 0A <created> C3 <OPAQUE data flows> 07 <length 7bytes> 20 03 08 22 15 30 15 <created date 2003/08/22 15:30:15> 10 <si-expires> C3 04 <length 4 bytes> 20 04 03 20 <expiry date 2004/03/20 > 01 <END of indication attribute list> 03 (next is an ASCII string for title, terminate with 00)
TestPdf
00 terminate string with 00 01 <End of indication> 01 <End of si>
This is ok, but the text of your link is not like this !
Aarno