I am running kannel 1.4.0 on fedora 2 using a siemens modem for an
vitual smsc. Problem is some times the system workis fine with no
problems then at other times it just stops responding completing then
again it starts working and the cyccle continues. When it is giving
problems the following log is what i see.i have include a copy of my
configuration.

LOG2005-03-17 09:03:30 [4041] [7] ERROR: AT2[telecel]: Error occurs:
ERROR (error number not known to us. ask google and add it.) 2005-03-17
09:03:30 [4041] [7] DEBUG: AT2[cel]: send command status: -1 2005-03-17
09:03:30 [4041] [7] DEBUG: AT2[cel]: --> AT+CMGS=42^M
2005-03-17 09:03:30 [4041] [7] DEBUG: AT2[cel]: <-- >
2005-03-17 09:03:30 [4041] [7] DEBUG: AT2[cel]: send command status: 1
2005-03-17 09:03:30 [4041] [7] DEBUG: AT2[cel]: -->
0011000B916290869091F10000A71FD9771D149EAFCB6490FB4D47A7DD6750D84D062541E4341994A68700
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: --> ^Z
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: <-- >
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: <-- ERROR
2005-03-17 09:03:31 [4041] [7] ERROR: AT2[cel]: Error occurs: ERROR
(error number not known to us. ask google and add it.) 2005-03-17
09:03:31 [4041] [7] DEBUG: AT2[cel]: send command status: -1 2005-03-17
09:03:31 [4041] [7] DEBUG: AT2[cel]: --> AT+CMGS=42^M
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: <-- >
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: send command status: 1
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: -->
0011000B916290869091F10000A71FD9771D149EAFCB6490FB4D47A7DD6750D84D062541E4341994A68700
2005-03-17 09:03:31 [4041] [7] DEBUG: AT2[cel]: --> ^Z
2005-03-17 09:03:35 [4041] [7] DEBUG: AT2[cel]: <-- >
2005-03-17 09:03:35 [4041] [7] DEBUG: AT2[cel]: <-- +CMGS: 169
2005-03-17 09:03:35 [4041] [7] DEBUG: AT2[cel]: <-- +CMT: ,24
2005-03-17 09:03:36 [4041] [7] DEBUG: AT2[cel]: <--
07916290060610F5A00B916290466466F600005030718020040005E2B4985D06
2005-03-17 09:03:36 [4041] [7] DEBUG: AT2[cel]: Numeric sender
(international) <+26096446666> 2005-03-17 09:03:36 [4041] [7] DEBUG:
AT2[cel]: User data length read as (5) 2005-03-17 09:03:36 [4041] [7]
DEBUG: AT2[cel]: Udh decoding done len=5 udhi=0 udhlen=0 udh=''
2005-03-17 09:03:36 [4041] [7] DEBUG: AT2[cel]: --> AT+CNMA^M
2005-03-17 09:03:36 [4041] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1> 2005-03-17 09:03:36 [4041] [10] DEBUG: boxc_sender: sent
message to <127.0.0.1> 2005-03-17 09:03:36 [4041] [9] DEBUG:
boxc_receiver: got ack
2005-03-17 09:03:36 [4041] [9] DEBUG: boxc_receiver: sms received
2005-03-17 09:03:36 [4041] [9] DEBUG: send_msg: sending msg to box:
<127.0.0.1> 2005-03-17 09:04:42 [4041] [7] DEBUG: AT2[cel]: <-- ERROR
2005-03-17 09:04:42 [4041] [7] ERROR: AT2[cel]: Error occurs: ERROR
(error number not known to us. ask google and add it



MY CONFIG IS

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/var/log/kannel.access.log"
store-file = "/tmp/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC CONNECTIONS

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#connect-allow-ip = 127.0.0.1

#GSM Modem Virtual SMSC
group = smsc
smsc = at
smsc-id = telecel
modemtype = auto
device = /dev/ttyS1
speed = 9600
#sms-center = "+260971911200"
sms-center = "+26096060015"

#GSM Modem Virtual SMSC
#group = smsc
#smsc = at
#smsc-id = celtel
#modemtype = auto
#device = /dev/ttyS1
#speed = 9600
#smsc-id = siemens_tc35_telecel
#modemtype = siemens_tc35
#sms-center = "+260971911200"
#sms-center = "+26096060015"
#validityperiod = 168
#keepalive = 300

#SIEMENS TC35

group = modems
id = SIEMENS TC35
name = "siemens_tc35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 9600
enable-hwhs = "AT\\Q3"
need-sleep = true
#broken = true
#message-storage = "ME"
#enable-mms = true

# SMSBOX SETUP

group = smsbox
bearerbox-host = mubanga
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/var/log/smsbox.log"
log-level = 0
access-log = "/var/log/access.log"

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# ********** 7 day weather highlights (Weather) ************* #
group = sms-service
keyword = weather
aliases = wthr
get-url = "http://192.168.0.15/weather.txt";

# ********** Rainfall Distribution(Weather)  ************* #
group = sms-service
keyword = rain
get-url = "http://192.168.0.15/rain.txt";
max-messages = 3
concatenation = true


CAN SOME PLEASE SEND ME A WORKING CONFIGURATION
THANKS

OWEN




Reply via email to