Hi all,

My smsbox disconnects its self from the bearerbox if there is no sms
recieved or sent for say aproximately 5 min. Is there a problem with
my installation or it has to do with kannel? The following error is
given:

ERROR: Error from reading fd 22:
ERROR: System error 104: Connection reset by peer


Regards,

Below is my .conf file





# This is the core group (bearerbox which is essentially the heart of Kannel)


group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13001
log-file = "/tmp/mobile_companion.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"


# This is the SMSC group(s). This routes sms requests to/from users to Kannel


# Fake smsc

group = smsc
smsc = fake
smsc-id = FAKE
preferred-smsc-id = mobile_companion
port = 10000
sms-center = 125
connect-allow-ip = 127.0.0.1



group = smsc
smsc = at
smsc-id = mobile_companion
my-number = my_num
sms-center = my_sca
modemtype = Motorola
device = /dev/com8
sim-buffering = true
speed = 115200
connect-allow-ip = 127.0.0.1
log-level = 0

include = "/usr/tmp/kannel/modems.conf"


# This is the SMSbox group configuration

group = smsbox
bearerbox-host = localhost
smsbox-id = box1
sendsms-port = 13013
global-sender = Mobile Companion
log-level = 0


# sms box route

group = smsbox-route
smsbox-id = box1
smsc-ids = mobile_companion; FAKE


# SERVICES

group = sms-service
keyword = nop
max-messages = 10
catch-all = yes
#post-url = "http://localhost/%S.wml";
accept-x-kannel-headers = true
concatenation = true
text = "Mobile Companion!"
get-url = "http://localhost/%s.php/sms?phone=%p&text=%a";


# there should be default always

group = sms-service
keyword = default
text = "No service specified"


# SEND SMS USER FOR SMS PUSH

group = sendsms-user
faked-sender = 555
username = foo
password = bar
max-messages = 10
concatenation = true

Reply via email to