Hi,
I will work on a fix for the quotes and advise.
On the content adaptation, for images we first tried with netpbm, but it doesn't support that many graphics formats, so we dropped it. I think that whatever you do, the content adaptation part is going to require a lot of extra machinery. You have to deal with images of all kinds (png, gif, jpeg), audio of all kinds and (eventually) video of all kinds. One could write code into mbuni to deal with the different formats, but this would be crazy.
On the audio, if you look in the code, you will see that for WAVs we generally generate header-less WAV files (as intermediate), so we manage to get away from writing a lot of temporary files.
On the Nokia 6230 TCP/IP stack issue, I think we need to look at some options and see which one works best. I notice that such phones still seem to require a 'gateway', which is used as an HTTP proxy. One idea would be to make the proxy insert the MSISDN header...
On Feb 08, 2005, at 13:36, David Chkhartishvili wrote:
Hi Dziugas,
about wap gateway, it is needed to provide MSISDN to mbuni. Users can choose
which gateway to use (you can figure msisdn header parameter in config file,
to handle different wap gateways). For example me, I'm not using kannel wapgw
or mbuni's patched kannel wap gateway.
On Tuesday 08 February 2005 13:00, Dziugas Baltrunas wrote:Hi list,
after my first steps trying to make mbuni work, I noticed that at least my Nokia sends x-wap-profile URL double quoted, although mbuni does not like it:
2005-02-08 11:09:57 [91290] [5] ERROR: URL <"http://nds1.nds.nokia.com/uaprof/N6230r200.xml"> doesn't start with `http://' nor `https://' 2005-02-08 11:09:57 [91290] [5] ERROR: Couldn't send request to <"http://nds1.nds.nokia.com/uaprof/N6230r200.xml">
I'm not sure if some other manufacturers behave like this, but I think it would be reasonable to test it with strchr() or similar function.
Another issue I think needs clarification is WAP gateway. Current mbuni states, that user "must HAVE" WAP gateway, but is it really necessary? If phone goes through external WAP gateway (like Kannel), mmsproxy would still receive requests, right? Another case is when phone connects directly to mmsproxy thus has it's own TCP/IP stack (like my Nokia 6230) and WAP gateway is not playing in the game at all.
Could somebody please demistify this? :)
And some thoughts about content adaptation. ImageMagick is cool, but it's huge and it requires (at least by default) so many external libraries (ghostscript, wwf, etc. and even X11 libs if not stated otherwise), so I'd like to ask if you have make some investigation if format/scale/depth operations can't be done with some other tool or library (like gd).
Another matter is from my experience when generating WAV files from MP3 with sox/mpg123 on demand. The problem is that pipes do not work here because WAV header is written at the end of operation and since pipes (as with stdin and stdout) are not seekable streams, temporary files become necessary here. Did you experience similar problems (haven't tested this with mbuni yet)?
_______________________________________________ Devel mailing list [email protected] http://mbuni.org/mailman/listinfo/devel_mbuni.org
_______________________________________________ Devel mailing list [email protected] http://mbuni.org/mailman/listinfo/devel_mbuni.org
