Charles Burgoyne kirjoittaa maanantaina, 22. heinäkuuta 2002, kello 
19:43:Hi,
>
> If any kind person out there could put me out of my misery then I would 
> be
> most grateful (I'm probably being an idiot here).
>
> I have setup kannel to perform as a WAP gateway as well as a SMS 
> gateway.
> PAP works fine as I have been able to send both si, as well as sl 
> documents.
> I am now trying to send a MMS (just the header) to a phone. This is 
> where
> I'm running in to problems. Now I know kannel does not fully support 
> MMS,
> however from reading the devel list it appears people have had success 
> at
> sending MMS Notification messages.
>
> I am currently using:
> kannel 1.2.0
> libxml 2.4.23
>
> Now I have tried to use test_ppg to send a text version of the MMS 
> header
> (below):
>
> Content-Type: application/vnd.wap.message
> X-MMS-Message-Type: m-notification-ind
> X-MMS-Transaction-Id: 125
> X-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://tribe.hn.org/test.php3
> Subject: MMS message
>
> However when that failed, I assumed that test_ppg does not support the
> encoding of MMS messages, is that correct?

Yes. MMSC does tokenization of MMS headers.

> After that I swiped the raw message block from:
>
> http://www.mail-archive.com/devel@kannel.3glab.org/msg04208.html
>
> Which is:
>
> 84bc
> 8c82
> 9831323500
> 8d90
> 8a80
> 8e0164
> 880481020100
> 83"yout URI"00

Absolute expiry time, set in future, worked for (when I send a binary
SM to the phone). Kannel should support this, too.

>
> and have tried to send that to a phone with no success either. I have 
> also
> tried playing with the content and application settings on test_ppg to 
> no
> avail. If anybody could help and tell me what is wrong, possibly with
> correct document and command line options that I can throw at test_ppg I
> would be eternally grateful, thanks in advance.

HTTP headers Content-Type and X-WAP-Application-Id are indeed required
here.

A


Reply via email to