Charles Burgoyne kirjoittaa tiistaina, 23. hein�kuuta 2002, kello 
13:06:Thanks to everyone who has replied so far!
>
> Just to clarify some points. The files that I'm using are:
>
> ---pap.txt---
> <?xml version="1.0"?>
> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
> "http://www.wapforum.org/DTD/pap_1.0.dtd";>
> <pap>
> <push-message push-id="[EMAIL PROTECTED]" source-reference="ents24">
> <address address-
> value="[EMAIL PROTECTED]" />
> <quality-of-service priority="high" delivery-method="unconfirmed"/>
> </push-message>
> </pap>
> ---pap.txt---
>
> ---mms.txt---
> X-MMS-Message-Type: m-notification-ind
> X-MMS-Transaction-ID: 125
> X-MMS-MMS-Version: 1.0
> X-MMS-Message-Class: personal
> X-MMS-Message-Size: 100
> X-MMS-Expiry: 256; type=relative
> X-MMS-Content-Location: http://styx.ents24.com/test.php3
> Subject: hello
> ---mms.txt---
>
> Executing test_ppg thus:
> ./test_ppg http://localhost:13007/wappush?username=****&password=**** -a
> mms -c mms mms.txt pap.txt

I will try this myself in a few days. I am going to use Kannel for 
sending notifica-
tions.

> The pap file is one that I have successfully used to send si/sl 
> documents to
> a phone. In mms.txt I have used not only X-MMS-MMS-Version, but also
> X-MMS-Version (there seems to be some confusion about that).

Wait. The text version is only for human readers. You should not send it 
to the
phone. The MMS content to be send to the phone is tokenized.

> If I try to send this message, test_ppg comes back with a "bad message
> response code=2000" which seems to be related to the Content-Location 
> line.

Can you send wapbox logs. I would like to know what ppg believes it is 
doing.

> Content-Type: application/vnd.wap.messsage

This should be application/vnd.wap.mms-message. (Use this as a content 
type
for push multipart content part.)

>
> For the MMS type. This seems to work, I get another 1001 response code, 
> but
> still no MMS notification at the phone. Any ideas?

In addition, it is probably better to use absolute expiry time. Problem 
with
relative is that to which it is relative.

A


Reply via email to