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? Does the DTD file *have* to be
available? (it isn't here). 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>

Actual data transmitted:
------------------------------------------------
19:45:54 SmsManagerServlet.java::getToServer() Params:
user=foo&pass=bar&phonenu
mber=07779350756&text=%3C%3Fxml+version%3D%221.0%22%3F%3E%3C%21DOCTYPE+CHARACTER
ISTIC_LIST+SYSTEM+%22file%3A%2F%2Fgw%2Fsettings.dtd%22%3E%3CCHARACTERISTIC-LIST%
3E%3CCHARACTERISTIC+TYPE%3D%22BOOKMARK%22%3E%3CPARM+NAME%3D%22NAME%22+VALUE%3D%2
2Kannel%22%2F%3E%3CPARM+NAME%3D%22URL%22+VALUE%3D%22http%3A%2F%2Fkannel.3glab.or
g%22%2F%3E%3C%2FCHARACTERISTIC%3E%3C%2FCHARACTERISTIC-LIST%3E&type=bookmark

------------------------------------------------
smsbox log:
2002-07-06 18:45:55 [1] INFO: smsbox: Got HTTP request
</cgi-bin/sendota> from <
127.0.0.1>
2002-07-06 18:45:55 [1] DEBUG: Octet string at 0x10014c10:
2002-07-06 18:45:55 [1] DEBUG:   len:  31
2002-07-06 18:45:55 [1] DEBUG:   size: 32
2002-07-06 18:45:55 [1] DEBUG:   immutable: 0
2002-07-06 18:45:55 [1] DEBUG:   data: 01 06 04 03 94 81 ea 00
........
2002-07-06 18:45:55 [1] DEBUG:   data: 01 45 c6 06 01 87 14 61
.E.....a
2002-07-06 18:45:55 [1] DEBUG:   data: 01 87 22 70 01 87 29 6b
.."p..)k
2002-07-06 18:45:55 [1] DEBUG:   data: 01 01 c6 08 01 01 01
.......
2002-07-06 18:45:55 [1] DEBUG: Octet string dump ends.
2002-07-06 18:45:55 [1] INFO: /cgi-bin/sendota <07779350756>
2002-07-06 18:45:55 [1] INFO: Message sent to <07779350756>
2002-07-06 18:45:55 [1] DEBUG: message sent

2002-07-06 18:45:55 [1] DEBUG: Answer: <Sent.>
2002-07-06 18:45:55 [1] DEBUG: HTTP: Closing socket <127.0.0.1:0>
2002-07-06 18:45:55 [1] DEBUG: Thread 1
(gw/smsbox.c:http_request_thread) termin
ates.

That hex dump looks far too short to me, I'd at least expect to see
the bookmart text in there.

Thanks for any help!



<*> Windows XP: How many total strangers do you want poking around in your PC today? 
<*>

Reply via email to