Hello, users.

   Plz help me.
   I succeserfuly setted up Kannel and connect it with SMSC. I am able
to send simple SMS. And receive it with my Mobile.
   But I have to send OTA SMS with GPRS Settings.
   First of all I tries to send it using Kannel itself:
http://127.0.0.1:13013/sendota.cgi?otaid=main_ota&username=passport&password=123&to=%2B79161111111
My phone receive it (but it receive 2 messages!) - and it told me that it's 
unable to parse SMS =(
Here is the part for main_ota from kannel.conf
#OTA-SETTING
group = ota-setting
ota-id = main_ota
location = http://pda.yandex.ru
service = "Yandex Serviceses"
ipaddress = 213.180.193.38
phonenumber = +2214658305
bearer = data
calltype = analog
connection = cont
pppsecurity = off
authentication = normal
login = tester
secret = foobar



After that I tried to send XML manualy. I converted XML to WBXML and
tries to send SMS
http://127.0.0.1:13013/sendota.cgi?username=passport&password=123&to=%2B79161111111&type=settings&text=%03%01j%00E%C6%06%01%87%12I%01%87%13%11%03123.45.6.7%00%01%87%1C%11%03sonofon.com%00%01%87%22p%01%01%86%07%11%03+http%3A%2F%2Fwap.dk+%00%01%C6%08%01%87%15%11%03ABC%00%01%01%C6%7F%01%87%15%11%03Wap%00%01%87%17%11%03+http%3A%2F%2Fwap.dk+%00%01%01%01
but SMS box told me something like this:
2007-07-27 16:58:46 [5088] [3] INFO: sendsms used by <passport>
2007-07-27 16:58:46 [5088] [3] DEBUG: OTA service with XML document
Entity: line 1: parser error : Start tag expected, '<' not found
j
^
2007-07-27 16:58:46 [5088] [3] ERROR: OTA: No document to parse. Probably an 
error in OTA source
2007-07-27 16:58:46 [5088] [3] DEBUG: Status: 400 Answer: <Erroneous ota 
source, cannot compile
>



After that I tried to send XML without converting to WBXML - it sent
it in proper way, but it split it with several chunks and my phone
received 5!!! messages and for all of them it told that it's unable to
parse SMS
but sending 5 messages is too much...



plz Explain - how I can send WBXML messages throught Kannel?
Also there is the part for smsuser from kannel.conf

# SEND-SMS USERS
group = sendsms-user
username = passport
password = 123
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
max-messages = 5
concatenation = 1
default-smsc = "megafon"




-- 
Best regards,
 Viatcheslav                          mailto:[EMAIL PROTECTED]


Reply via email to