RE: MMS client
"Marcel Jansen" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Stipe
oh good, somebody's interested :)
> this is great. I have finished Kannel's MMSC now, but hadn't the time
> for a sample client.
>
> So obviously *yes* please provide us the code in a sensible way and it
> will be included/addopted.
I can put it somewhere public tomorrow, it will probably be as crude as
a tarball of my source; 'configure' and 'make' should work as normal.
Since I wasn't familiar enough with the kannel setup to design with
integration in mind I decided to just change and remove things to suit
the MMS client. The biggest difference is that bearerbox, wapbox and
smsbox have been collapsed into one executable, appropriate for a client
in my opinion.
>
> > This is by no means a finished product but it does currently actually
> > download MMS messages.
>
> I'm interested how you did the MMS decoding. ;)
It's not interpreting the MMS contents. If you are refering to the
PDUs: similar to WSP and WDP and those lovely preprocessor tricks
that confused the hell out of my debugger.
MMS messages are currently written to a file in XML format (although
this can be easily changed), here's an example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mms>
<x_mms_message_type>132</x_mms_message_type>
<x_mms_mms_version>1.0</x_mms_mms_version>
<date>1051305903</date>
<subject_charset>128</subject_charset>
<subject>mms message subject 2</subject>
<content_type>application/vnd.wap.multipart.mixed</content_type>
<data
encoding="base64">ASAig8AiPDNFQTk0MDFGLnR4dD4AjjNFQTk0MDFGLnR4dABUaGlzIGlzIH
RoZSB0ZXh0DQpJdCBk ZWZpbmF0ZWx5IGlz </data>
</mms>
===================================================
Marcel Jansen
Tel: +44 117 903 1146 Mobile: +44 797 078 5217
The Appliance Studio Ltd, University Gate East, Park Row, Bristol BS1 5UB
http://www.appliancestudio.com