Hi.

I have problems with Nokia 30 terminals.

I'm using kannel 1.4.1

i found some configurations on the web but all worked less good than the 
nokiaphone from modems.conf.

The main problem with the nokiaphone configuration is that on higher load i 
lose some DLR's and there are many errors logged from bearerbox:
2008-06-09 14:32:18 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:18 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:32:26 [6078] [6] ERROR: AT2[1]: CMS ERROR: +CMS ERROR: 321
2008-06-09 14:32:26 [6078] [6] ERROR: AT2[1]: CMS ERROR: Invalid memory index 
-> don't worry, just memory fragmentation. (321)
2008-06-09 14:32:26 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:26 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:32:32 [6078] [6] ERROR: AT2[1]: CMS ERROR: +CMS ERROR: 321
2008-06-09 14:32:32 [6078] [6] ERROR: AT2[1]: CMS ERROR: Invalid memory index 
-> don't worry, just memory fragmentation. (321)
2008-06-09 14:32:32 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:32 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:32:38 [6078] [6] ERROR: AT2[1]: CMS ERROR: +CMS ERROR: 321
2008-06-09 14:32:38 [6078] [6] ERROR: AT2[1]: CMS ERROR: Invalid memory index 
-> don't worry, just memory fragmentation. (321)
2008-06-09 14:32:38 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:38 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:32:45 [6078] [6] ERROR: AT2[1]: CMS ERROR: +CMS ERROR: 321
2008-06-09 14:32:45 [6078] [6] ERROR: AT2[1]: CMS ERROR: Invalid memory index 
-> don't worry, just memory fragmentation. (321)
2008-06-09 14:32:45 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:45 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:32:53 [6078] [6] ERROR: AT2[1]: CMS ERROR: +CMS ERROR: 321
2008-06-09 14:32:53 [6078] [6] ERROR: AT2[1]: CMS ERROR: Invalid memory index 
-> don't worry, just memory fragmentation. (321)
2008-06-09 14:32:53 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:53 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:32:59 [6078] [6] ERROR: AT2[1]: CMS ERROR: +CMS ERROR: 321
2008-06-09 14:32:59 [6078] [6] ERROR: AT2[1]: CMS ERROR: Invalid memory index 
-> don't worry, just memory fragmentation. (321)
2008-06-09 14:32:59 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:32:59 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:47:06 [6078] [6] WARNING: DLR[internal]: DLR for DST<0726333096> 
not found.
2008-06-09 14:47:06 [6078] [6] ERROR: AT2[1]: could not decode PDU to a message.
2008-06-09 14:47:14 [6078] [6] WARNING: DLR[internal]: DLR for DST<0726333096> 
not found.
2008-06-09 14:47:14 [6078] [6] ERROR: AT2[1]: could not decode PDU to a message.
2008-06-09 14:47:20 [6078] [6] WARNING: DLR[internal]: DLR for DST<0726333096> 
not found.
2008-06-09 14:47:20 [6078] [6] ERROR: AT2[1]: could not decode PDU to a message.
2008-06-09 14:47:26 [6078] [6] WARNING: DLR[internal]: DLR for DST<0726333096> 
not found.
2008-06-09 14:47:26 [6078] [6] ERROR: AT2[1]: could not decode PDU to a message.
2008-06-09 14:48:22 [6078] [6] ERROR: AT2[1]: got +CMT but waiting for next 
line timed out
2008-06-09 14:48:24 [6078] [6] ERROR: AT2[1]: CMTI notification received, but 
no message found in memory!
2008-06-09 14:48:24 [6078] [6] ERROR: System error 1: Operation not permitted
2008-06-09 14:48:28 [6078] [6] WARNING: DLR[internal]: DLR for DST<0726333096> 
not found.
2008-06-09 14:48:28 [6078] [6] ERROR: AT2[1]: could not decode PDU to a message.
2008-06-09 15:06:17 [6078] [6] WARNING: DLR[internal]: DLR for DST<0726333096> 
not found.
2008-06-09 15:06:17 [6078] [6] ERROR: AT2[1]: could not decode PDU to a message.
2008-06-09 17:25:10 [6078] [6] ERROR: AT2[1]: Couldn't connect (retrying in 10 
seconds).
2008-06-09 17:47:06 [6078] [6] ERROR: AT2[1]: Couldn't connect (retrying in 10 
seconds).
2008-06-09 18:11:06 [6078] [6] ERROR: AT2[1]: Couldn't connect (retrying in 10 
seconds).
2008-06-09 19:15:08 [6078] [6] ERROR: AT2[1]: Couldn't connect (retrying in 10 
seconds).
                                                                                
                                



Can anyone advice me what parameters to set to get kannel to work with the 
nokia30?

kannel.conf:

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/var/log/kannel.log"
log-level = 2
#box-deny-ip = "*.*.*.*"
box-allow-ip = "10.113.12.243"

#####################################

group = smsc
smsc = at
smsc-id = 1
preferred-smsc-id = 1
#modemtype = nokia30
modemtype = nokiaphone
device=/dev/ttyS0
speed = 115200
my-number = 0728114727
#connect-allow-ip = 127.0.0.1
log-level = 2
# Empties SIMM or terminal memory for the messages
# sim-buffering = true
# Send keep-alive message for the modem every 60 seconds
keepalive = 60

#######################################

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 0728114727
#access-file = "/var/log/kannel.access"
log-file = "/var/log/smsbox.log"
log-level = 2

group = sendsms-user
username = kanneluser
password = enter
#concatenation= true
#max-messages = 10

#####################################
#
#
#group = sms-service
#keyword =
#keyword-regex = .*
#catch-all = yes
#max-messages = 0
#get-url = "http://localhost/cgi-bin/sms?phone=%p&text=%a";
#
###################

group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"
enable-mms = true


#group = modems
#id = nokia30
#name = "Nokia 30"
#detect-string = "Nokia 30"
#speed = 115200
#keepalive-cmd = "AT+CBC;+CSQ"
## SIM buffering storage: "SM" SIM card or "ME" Mobile equipment memory
#message-storage = "ME"
#enable-mms = true


Thank you in advance
Grojer Juergen

Reply via email to