SMS concatenation with AT2 SMSC..

Rickard Dahlstrand <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

First of all thanks for all the great work with Kannel, it's really a
great system.

Concatenation didn't work as expected in a November snapshot so I
upgraded to the cvs-20070123 snapshot. After some patching with 
http://www.kannel.org/pipermail/devel/2007-January/000734.html and
http://www.kannel.org/pipermail/devel/2007-January/000795.html it
starting at least, but still doesn't do concatenation. Can anyone help
me out here.

Logs and configuration below.

Rickard.

group = core
admin-port = 13123
smsbox-port = 13433
admin-password = sms
status-password = sms
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#log-file = "/var/log/kannel.log"
#log-level = 2
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "+467,07"
#access-log = "access.log"
store-file = "/var/kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = internal

group = modems
id = mc35
no-pin = true
name = mc35
detect-string = SIEMENS
detect-string2 = MC35
init-string = "AT+CNMI=3,2,0,1,1"
speed = autodetect

group = smsc
smsc = at
smsc-id = MC35
modemtype = mc35
speed = 0   # 0 = automatic
device = /dev/cua04
pin = 0000
preferred-smsc-id = MC35
keepalive = 60

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 11111
global-sender = +23454556564
#sendsms-chars = "0123456789 +-"
log-file = "/var/log/smsbox.log"
log-level = 2
access-log = "/var/log/smsaccess.log"


# SEND-SMS USERS

group = sendsms-user
username = sms
password = sendsms
forced-smsc = eri
max-messages = 10
concatenation = false
#user-deny-ip = ""
#user-allow-ip = ""
#dlr-url =
"http://127.0.0.1/record-dlr.php?recept=%p&amp;sender=%P&amp;smsc=%i&amp;dlr-type=%d"



# tail -f
/var/log/bearerbox.log                                                                                                                                                          
 
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: -->
0051000B916407123020F00000A76705000300020266B49AED868BDD62B219AD66BBE162B8986C46ABD96EB8582E269BD16AB61B4E068BC966B49AED8693C562B219AD66BBE164B2986C46ABD96E38D92C269BD16AB61B4E468BC966B49AED8693D562B219AD66BBE1
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: --> ^Z
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: <-- ERROR
2007-01-26 13:56:56 [27672] [6] ERROR: AT2[MC35]: Generic error: ERROR
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: send command status: -1
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: --> AT+CMGS=104^M
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: send command status: 1
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: -->
0051000B916407123020F00000A76705000300020266B49AED868BDD62B219AD66BBE162B8986C46ABD96EB8582E269BD16AB61B4E068BC966B49AED8693C562B219AD66BBE164B2986C46ABD96E38D92C269BD16AB61B4E468BC966B49AED8693D562B219AD66BBE1
2007-01-26 13:56:56 [27672] [6] DEBUG: AT2[MC35]: --> ^Z
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: <-- ERROR
2007-01-26 13:56:57 [27672] [6] ERROR: AT2[MC35]: Generic error: ERROR
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: send command status: -1
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: --> AT+CMGS=104^M
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: send command status: 1
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: -->
0051000B916407123020F00000A76705000300020266B49AED868BDD62B219AD66BBE162B8986C46ABD96EB8582E269BD16AB61B4E068BC966B49AED8693C562B219AD66BBE164B2986C46ABD96E38D92C269BD16AB61B4E468BC966B49AED8693D562B219AD66BBE1
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: --> ^Z
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: <-- ERROR
2007-01-26 13:56:57 [27672] [6] ERROR: AT2[MC35]: Generic error: ERROR
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: send command status: -1
2007-01-26 13:56:57 [27672] [6] DEBUG: Set split msg status to 3
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: TP-Validity-Period:
24.0 hours
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: --> AT+CMGS=154^M
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: send command status: 1
2007-01-26 13:56:57 [27672] [6] DEBUG: AT2[MC35]: -->
0051000B916407123020F00000A7A005000300020160B1986C46ABD96E38982C269BD16AB61B0E368BC966B49AED8683D162B219AD66BBE160B5986C46ABD96E38982D269BD16AB61B0E768BC966B49AED8683E162B219AD66BBE160B9986C46ABD96EB8182C269BD16AB61B2E168BC966B49AED868BC962B219AD66BBE162B3986C46ABD96EB8182D269BD16AB61B2E568BC966B49AED868BD962
2007-01-26 13:56:58 [27672] [6] DEBUG: AT2[MC35]: --> ^Z
2007-01-26 13:57:02 [27672] [6] DEBUG: AT2[MC35]: <-- >
2007-01-26 13:57:02 [27672] [6] DEBUG: AT2[MC35]: <-- +CMGS: 210
2007-01-26 13:57:03 [27672] [6] DEBUG: AT2[MC35]: <-- OK
2007-01-26 13:57:03 [27672] [6] DEBUG: AT2[MC35]: send command status: 0
2007-01-26 13:57:03 [27672] [6] DEBUG: Parts of concatenated message failed.
2007-01-26 13:57:11 [27672] [8] DEBUG: Dumping 0 messages to store
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.