Eric Carlson kirjoittaa lauantaina, 6. hein�kuuta 2002, kello 21:57:Hi,
>
> I'm running on W2000 with Kannel 1.0.3, the Win32 binary download from
> the kannel site. I can send SMS ok and do get something through with
> sendota but its garbage :-( It seems to ignore the XML I URLEncode,
> i.e. if I deliberately edit the XML to be incorrect I get the same
> results. When it hits my Ericsson R380 I get "Message type not
> supported". What am I missing please?

You should use 1.2.0 for this. 1.0.3 does not support sending OTA as XML 
document.
This version will send rigth type of error message, I think, too.

> Does the DTD file *have* to be
> available? (it isn't here).

Yes it must. Otherwise Kannel does not know, say, what keywords to 
expect. (And in
a file, because you cannot get this DTD over HTTP).

> Here are the relevant logs:
>
> ------------------------------------------------
> Doc I'm trying to send (from the Kannel docs):
>
> 19:45:54 SmsManagerServlet.java::transmit() OBook:
> http://localhost:13013/cgi-bi
> n/sendota?user=foo&pass=bar&phonenumber=07779350756&text=
> <?xml version="1.0"?>
> <!DOCTYPE CHARACTERISTIC_LIST SYSTEM "file://gw/settings.dtd">
> <CHARACTERISTIC-LIST>
> <CHARACTERISTIC TYPE="BOOKMARK">
> <PARM NAME="NAME" VALUE="Kannel"/>
> <PARM NAME="URL" VALUE="http://kannel.3glab.org"/>
> </CHARACTERISTIC>
> </CHARACTERISTIC-LIST>

Note that all phones does not accept bookmarks. All of them accept 
settings, though.

Aarno


Reply via email to