Hi all,

 

Now I have starred at my Kannel configuration file for hours and I still
can't figure out, why text messages longer than 160 characters are not
concatenated by kannel and then sent to my web application. It sends of the
text message in bits of 160 characters.

I guess it is a misconfiguration, so I hope someone out there can spot the
problem.

My configuration file looks like this

 

group = core

admin-port = 13000

smsbox-port = 13005

admin-password = bar

log-file = "/var/log/kannel/bearerbox.log"

log-level = 0

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

access-log = "/var/log/kannel/access.log"

sms-combine-concatenated-mo = true

sms-combine-concatenated-mo-timeout = "1800"

dlr-storage = internal

sms-resend-retry = 10

sms-resend-freq = 2

 

group = smsc

smsc = at

modemtype = siemensmc35i

device = /dev/ttyS0

speed = 19200

pin = 2412

 

group = modems

id = siemensmc35i

name = siemensmc35i

detect-string = "Siemens MC35i"

init-string = "AT+CNMI=3,2,0,1,1"

enable-hwhs="AT\Q3"

 

group = smsbox

bearerbox-host = 127.0.0.1

global-sender = 0

mo-recode = true

sendsms-port = 13013

sendsms-chars = "0123456789 +-"

log-file = "/var/log/kannel/smsbox.log"

access-log = "/var/log/kannel/smsboxAccess.log"

 

group = sendsms-user

username = tester

password = foobar

concatenation = true

max-messages= 10

 

group = sms-service

name = receiveMessages

keyword = default

max-messages = 0

concatenation = true

get-url = http://localhost:8080/receiveSMS?sender=%p&text=%a

 

The output from status is:

Kannel bearerbox version `1.4.3'.

Build `Mar  1 2010 16:43:22', compiler `4.3.2'.

System Linux, release 2.6.27-16-generic, version #1 SMP Tue Dec 1 17:56:54
UTC 2                                                009, machine i686.

Hostname largo, IP 127.0.1.1.

Libxml version 2.6.32.

Using native malloc.

 

Status: running, uptime 0d 0h 7m 46s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 2 (0 queued), sent 0 (0 queued), store size -1

SMS: inbound (0.03,0.01,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: 0 queued, using internal storage

Box connections:

    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 7m 32s)

SMSC connections:

    unknown    AT2[/dev/ttyS0] (online 464s, rcvd 2, sent 0, failed 0,
queued 0                                                 msgs)

 

Best regards 

 

Jakob G. Thomsen

Reply via email to