>        It is very irritating to add each and every phone
>        model in the cocoon.properties and then restart
>        Apache each time. So I decided to install Kannel
>        which is supposedly a WAP gateway. My plan is to
>        write one line in the cocoon.properties file
>
>        browser.1 = wap=kannel
>
>        and then tell all my clients to connect to
>        my site using the Kannel gateway.

(snip)

>        But what is the name by which kannel
>        makes its WAP request? Is it the bearerbox-
>        hostname (as in bearerbox-host variable
>        in kannel.conf) or what?

Kannel will send the headers X-WAP-Gateway to identify itself (e.g.
Kannel/1.1.5) and User-Agent to identify the WAP device (e.g. Nokia6210/1.0
(03.01) ), so you should get Apache to capture these for a start. But I
think you'll still have to identify individual devices if you intend Cocoon
to return the 'optimised' WML, otherwise you could identify the major
browsers and send back lowest common denominator WML for the rest.

HTH
Ian


Reply via email to