Hello!

Cann't solve data coding problem when sending sms in national translation.

The first variant is when i sending sms trought http

config:
group = smsbox

bearerbox-host = localhost

sendsms-port = 13013

mo-recode = true


url:
lynx -dump "http://localhost:13013/cgi-bin/sendsms?
username=xxx&password=xxx&to=xxx&
from=xxx&text=text&coding=2&charset=koi8-r"

tcpdump grabs:
data coding=8, DCS Character set: UCS-2

That's right,works fine.

The second variant trought get-url while i send request trought fake-smsc:

config:

group = sms-service

keyword = default

allowed-receiver-prefix=xxx
get-url = "http://xxx/xml2.xml";
concatenation = true

max-messages = 3


xml2.xml:

<?xml version="1.0"?>
<message>
        <submit>

                <ud>text(utf-8)</ud>
                <dcs>

                        <coding>2</coding>
                </dcs>
        </submit>
</message>

Data coding: 0x00
DCS Character set: GSM 7-bit default alphabet (0x00)

This wrong. Why kannel doesn't set coding field in UCS-2?

-- 

Reply via email to