Hi,

Thanks for the reply, but it turned out that the sim card wasn't the issue. 
I found that you need to add a smsbox-route box, so something like the
following:

group = smsc
...
smsc-id = mysmsc
...

group = smsbox-route
smsbox-id = mysmsbox
smsc-id = mysmsc

group = smsbox
...
smsbox-id = mysmsbox
...

Why this does the job I don't know, but I guess it adds an extra layer of
indirection, so that route box is in charge of concatenating the strings.
My guess is that this is not only a problem for Siemens MC35i, but for all
AT connected SMSCs? So maybe it should be added to the documentation?

For future references this is my working configuration:

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
smsc-id = mysmsc
modemtype = siemensmc35i
device = /dev/ttyS0
speed = 19200
pin = 2412

group = modems
id = siemensmc35i
name = siemensmc35i
detect-string = "SIEMENS"
detect-string2 = "MC35"
init-string = "AT+CNMI=3,2,0,1,1"
enable-hwhs="AT\Q3"

#For some strange reason I need this in the configuration
#file to support inbound large text messages
group = smsbox-route
smsbox-id = mysmsbox
smsc-id = mysmsc

group = smsbox
smsbox-id = mysmsbox
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"
log-level = 0
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&udh=%u

Thanks for all the pointers.

Best regards

> -----Original Message-----
> From: Nikos Balkanas [mailto:[email protected]]
> Sent: 2. marts 2010 18:25
> To: Jakob Thomsen; 'Alvaro Cornejo'
> Cc: [email protected]
> Subject: Re: sms-combine-concatenated-mo problem/not working
> 
> Hi,
> 
> Try with a different SIM from another provider. Kannel supports udh for
> concatenation, but a few providers use sar, which kannel doesn't
> support. I
> have seen that in SMPP, I am not sure if the same holds for modems.
> 
> BR,
> Nikos
> ----- Original Message -----
> From: "Jakob Thomsen" <[email protected]>
> To: "'Alvaro Cornejo'" <[email protected]>
> Cc: <[email protected]>
> Sent: Tuesday, March 02, 2010 7:01 PM
> Subject: RE: sms-combine-concatenated-mo problem/not working
> 
> 
> Thanks for your reply.
> 
> I tried as you said, by changing AT+CNMI, so that the GSM Modem (it is
> a
> Siemens MC35i) stores the messages on the modem and then let Kannel
> fetch
> the messages. From the log I can see that Kannel fetches the messages,
> but
> they are still split in parts.
> 
> I've looked a bit in the AT command reference for the modem, but I'm
> not a
> AT commands professional, so do you have any good ideas for it?
> 
> Jakob
> > -----Original Message-----
> > From: Alvaro Cornejo [mailto:[email protected]]
> > Sent: 1. marts 2010 22:10
> > To: Jakob Thomsen
> > Cc: Marcelo Olivas; Alejandro Guerrieri; [email protected]
> > Subject: Re: sms-combine-concatenated-mo problem/not working
> >
> > The AT commands are because you are using a modem/phone to act as an
> > smsc. Marcelo thought you were using another type of smsc.
> >
> > The problem might come from the phone you send the message from. It
> > might be that it does not send message over 160chars with the
> > concatenation information but send the messages as 2 separate sms.
> >
> > You can see that there is no indication from the modem/phone that the
> > message is a splitted one, thus kannel did not try to reassemble it.
> >
> > Check the config of your modem, maybe there is a parameter you can
> > adjust to do that (CNMI??).
> >
> > Also you can test if having kannel look for the message (check
> > sim-buffering parameter) instead of having the modem send the message
> > to kannel (AT+CNMI) makes any difference.
> >
> > Hope helps
> >
> > Alvaro
> >
> > |--------------------------------------------------------------------
> --
> > -------------------------------------------|
> > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde
> cualquier
> > celular y Nextel
> > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias
> via
> > SMS y GPRS online
> >               Visitenos en www.perusms.NET www.smsglobal.com.mx y
> > www.pravcom.com
> >
> >
> >
> > On Mon, Mar 1, 2010 at 2:04 PM, Jakob Thomsen <[email protected]>
> wrote:
> > > Hmm, strange. The only thing I get in my log is a bunch of AT
> > commands like
> > > the following:
> > >
> > >
> > >
> > > 2010-03-01 19:47:24 [11108] [6] INFO: AT2[/dev/ttyS0]: opening
> device
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: device
> > opened.
> > > Telnet mode = 0
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: device
> opened
> > >
> > > 2010-03-01 19:47:24 [11108] [6] INFO: AT2[/dev/ttyS0]: Logging in
> > >
> > > 2010-03-01 19:47:24 [11108] [6] INFO: AT2[/dev/ttyS0]: init device
> > >
> > > 2010-03-01 19:47:24 [11108] [6] INFO: AT2[/dev/ttyS0]: speed set to
> > 19200
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> ATZ^M
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT&F
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:24 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- ATE0
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> AT\Q3^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > AT+CPIN?^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN:
> > READY
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > AT+CMGF=0^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > AT+CSMS=?^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS:
> > (0,1)
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] INFO: AT2[/dev/ttyS0]: Phase 2+ is
> > supported
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > AT+CSMS=1^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS:
> > 1,1,1
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > > AT+CNMI=3,2,0,1,1^M
> > >
> > > 2010-03-01 19:47:25 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:25 [11108] [6] INFO: AT2[/dev/ttyS0]: AT SMSC
> > successfully
> > > opened.
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMT:
> > ,158
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <--
> > >
> >
> 06915482810700440A915416174929000001301091741440A00500034C020188D434685
> >
> E8797E520721D5E9683DAE57318347EBFD92E10B2AC0629C3EBB71874748514C43A081D
> >
> 9683CA6EB2BB0E4AAFD765D0DC1E9697E920F803F46E83C875D0FADD6E97E5207A9A0D6
> >
> 2A6E76275597E06198720542C056A8188C729286904915D2098ED059BB564B0180CB466
> > BB40319A0E06FBB940D334794E2F83CCF2F49C0E32BFE5
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: received
> > message
> > > from SMSC: +45yyyyyyyy
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Numeric
> > sender
> > > (international) <+45xxxxxxxx>
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: User data
> > length
> > > read as (160)
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Udh
> decoding
> > done
> > > len=154 udhi=1 udhlen=5 udh='_'
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CNMA^M
> > >
> > > 2010-03-01 19:47:46 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:49 [11108] [6] DEBUG: AT2[/dev/ttyS0]: TP-
> Validity-
> > Period:
> > > 24.0 hours
> > >
> > > 2010-03-01 19:47:49 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > AT+CMGS=54^M
> > >
> > > 2010-03-01 19:47:49 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
> > >
> > > 2010-03-01 19:47:49 [11108] [6] DEBUG: AT2[/dev/ttyS0]: send
> command
> > status:
> > > 1
> > >
> > > 2010-03-01 19:47:49 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > >
> >
> 0011000881161749290000A72FD4F01A647ECB41E4B41BB47EB7DB65373D2C77818875D
> > 03AEC06CDCBA076595E06C11F2097CBE5728100
> > >
> > > 2010-03-01 19:47:49 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS:
> > 122
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: send
> command
> > status:
> > > 0
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMT:
> > ,148
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <--
> > >
> >
> 06915482810700440A915416174929000001301091742440940500034C020240F434BB5
> >
> D6693D3EE33A82C07BDDD7372F80C22BB40B0D90B3603ADD92E906CA6ABE55C8A293CCD
> >
> 6697E720F803B40CD3E5697759AC2ECBCFF3F59B5D76BB40D634A8CD2097E7A035DB058
> >
> AD17430980B34B587E5207518047F80C865B7BB0C1297E7EB321984B6A7E720721D7466
> > C8592077590D2AB3D965F9DC05
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: received
> > message
> > > from SMSC: +45 yyyyyyyy
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Numeric
> > sender
> > > (international) <+45xxxxxxxx>
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: User data
> > length
> > > read as (148)
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Udh
> decoding
> > done
> > > len=142 udhi=1 udhlen=5 udh='_'
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CNMA^M
> > >
> > > 2010-03-01 19:47:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMT:
> > ,158
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <--
> > >
> >
> 06915482810700440A915416174929000001301091450540A00500034D020188D434685
> >
> E8797E520721D5E9683DAE57318347EBFD92E10B2AC0629C3EBB71874748514C43A081D
> >
> 9683CA6EB2BB0E4AAFD765D0DC1E9697E920F803F46E83C875D0FADD6E97E5207A9A0D6
> >
> 2A6E76275597E06198720542C056A8188C729286904915D2098ED059BB564B0180CB466
> > BB40319A0E06FBB940D334794E2F83CCF2F49C0E32BFE5
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: received
> > message
> > > from SMSC: +45yyyyyyyy
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Numeric
> > sender
> > > (international) <+45xxxxxxxx>
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: User data
> > length
> > > read as (160)
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Udh
> decoding
> > done
> > > len=154 udhi=1 udhlen=5 udh='_'
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CNMA^M
> > >
> > > 2010-03-01 19:54:54 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:54:56 [11108] [6] DEBUG: AT2[/dev/ttyS0]: TP-
> Validity-
> > Period:
> > > 24.0 hours
> > >
> > > 2010-03-01 19:54:56 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > AT+CMGS=54^M
> > >
> > > 2010-03-01 19:54:56 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
> > >
> > > 2010-03-01 19:54:56 [11108] [6] DEBUG: AT2[/dev/ttyS0]: send
> command
> > status:
> > > 1
> > >
> > > 2010-03-01 19:54:56 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> > >
> >
> 0011000881161749290000A72FD4F01A647ECB41E4B41BB47EB7DB65373D2C77818875D
> > 03AEC06CDCBA076595E06C11F2097CBE5728100
> > >
> > > 2010-03-01 19:54:56 [11108] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
> > >
> > > 2010-03-01 19:54:59 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
> > >
> > > 2010-03-01 19:54:59 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS:
> > 123
> > >
> > > 2010-03-01 19:54:59 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > > 2010-03-01 19:54:59 [11108] [6] DEBUG: AT2[/dev/ttyS0]: send
> command
> > status:
> > > 0
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMT:
> > ,148
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <--
> > >
> >
> 06915482810700440A915416174929000001301091451540940500034D020240F434BB5
> >
> D6693D3EE33A82C07BDDD7372F80C22BB40B0D90B3603ADD92E906CA6ABE55C8A293CCD
> >
> 6697E720F803B40CD3E5697759AC2ECBCFF3F59B5D76BB40D634A8CD2097E7A035DB058
> >
> AD17430980B34B587E5207518047F80C865B7BB0C1297E7EB321984B6A7E720721D7466
> > C8592077590D2AB3D965F9DC05
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: received
> > message
> > > from SMSC: +45yyyyyyyy
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Numeric
> > sender
> > > (international) <+45xxxxxxxx>
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: User data
> > length
> > > read as (148)
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: Udh
> decoding
> > done
> > > len=142 udhi=1 udhlen=5 udh='_'
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CNMA^M
> > >
> > > 2010-03-01 19:55:18 [11108] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> > >
> > >
> > >
> > > Where xxxxxxxx is my own cellphone number and yyyyyyyy is the
> number
> > of the
> > > sim card in the Siemens MC35i modem
> > >
> > >
> > >
> > > My setup is using a GSM modem to send out the text messages and it
> > seems
> > > that SMPP is something else or am I wrong?
> > >
> > >
> > >
> > > Best regards
> > >
> > >
> > >
> > > Jakob
> > >
> > >
> > >
> > > From: Marcelo Olivas [mailto:[email protected]]
> > > Sent: 1. marts 2010 19:50
> > > To: Alejandro Guerrieri
> > > Cc: Jakob Thomsen; [email protected]
> > >
> > > Subject: Re: sms-combine-concatenated-mo problem/not working
> > >
> > >
> > >
> > > Yup, listen to Alejandro then look at the
> > /var/log/kannel/bearerbox.log
> > > let us know!
> > >
> > > Marcelo
> > >
> > > On Mar 1, 2010, at 1:40 PM, Alejandro Guerrieri wrote:
> > >
> > > You need to set the log-level to 0 and look on the smsc's log
> > afterwards.
> > >
> > >
> > >
> > > Regards,
> > >
> > >
> > >
> > > Alex
> > >
> > > On Mon, Mar 1, 2010 at 7:25 PM, Jakob Thomsen <[email protected]>
> > wrote:
> > >
> > > Hi Marcelo,
> > >
> > >
> > >
> > > Thanks for your quick reply. I am probably looking in the wrong
> > places but I
> > > haven't been able to find the PDU in either the bearerbox or smsbox
> > log.
> > > Where can I find it?
> > >
> > >
> > >
> > > Regards
> > >
> > >
> > >
> > > Jakob
> > >
> > >
> > >
> > >
> > >
> > > From: Marcelo Olivas [mailto:[email protected]]
> > > Sent: 1. marts 2010 19:04
> > > To: Jakob Thomsen
> > > Cc: [email protected]
> > > Subject: Re: sms-combine-concatenated-mo problem/not working
> > >
> > >
> > >
> > > Jakob, can you please provide the PDU for the MO that the SMSC is
> > sending?
> > > If I'm not mistaking you need the esm_class parameter being set.
> > For
> > > example, the following PDU doesn't have the esm_class set and
> > therefore,
> > > Kannel doesn't know if it should concatenate the message:
> > >
> > >
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: SMPP PDU 0xade203a0 dump:
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: type_name: deliver_sm
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: command_id: 5 = 0x00000005
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: command_status: 0 =
> > 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: sequence_number: 12109 =
> > 0x00002f4d
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: service_type: NULL
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: source_addr_ton: 2 =
> > 0x00000002
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: source_addr_npi: 1 =
> > 0x00000001
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: source_addr: "4444199558"
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: dest_addr_ton: 4 =
> > 0x00000004
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: dest_addr_npi: 9 =
> > 0x00000009
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: destination_addr: "55220"
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: esm_class: 0 = 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: protocol_id: 0 = 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: priority_flag: 0 =
> > 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: schedule_delivery_time: NULL
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: validity_period: NULL
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: registered_delivery: 0 =
> > 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: replace_if_present_flag: 0 =
> > > 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: data_coding: 0 = 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: sm_default_msg_id: 0 =
> > 0x00000000
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: sm_length: 38 = 0x00000026
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: short_message:
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: Octet string at 0xade13e48:
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: len: 38
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: size: 39
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: immutable: 0
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: data: 4d 65 72 61 20 65
> > 69 6b 61
> > > 20 65 6c 69 73 61 20 Mera eika elisa
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: data: 67 6f 6e 7a 61 6c
> > 65 7a 20
> > > 62 61 72 61 6a 61 73 gonzalez barajas
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: data: 20 63 6f 6d 70 75
> > > compu
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: Octet string dump ends.
> > >
> > > 2010-02-26 13:46:48 [9936] [13] DEBUG: SMPP PDU dump ends.
> > >
> > >
> > >
> > > Regards,
> > >
> > > Marcelo
> > >
> > > On Mar 1, 2010, at 12:49 PM, Jakob Thomsen wrote:
> > >
> > >
> > >
> > > 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