You could use
 
    keepalive = 60
 
for example, in your smsc emi2 connection. That way kannel will keep your connection opened by sending heartbeat messages to your smsc.
 
Your smsc will have to support that of course (ucp operation 31).
 
Angel Fradejas.
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de felly
Enviado el: jueves 30 de mayo de 2002 12:23
Para: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Asunto: SMSC Connection



Hi,

I use the following configuration file with kannel 1.1.6 :

---------------------------------------------
group = core
admin-port = 13003
smsbox-port = 13013
admin-password = [ password ]
log-file = "/var/log/kannel/1133.log"
log-level = 5
access-log=/var/log/kannel/access1133.log
box-allow-ip = "127.0.0.1"
admin-allow-ip = "127.0.0.1"


# SMSC EMI
group = smsc
smsc = emi2
smsc-id = 1133
host = [ the ip ]]
port = [ the port ]
our-port = [ port ]
receive-port = [ port ]
flow-control = 1

group = smsbox
bearerbox-host = localhost
#user-allow-ip = "127.0.0.1"
sendsms-port = 31133
global-sender = 1133
access-log = "/var/log/kannel/smsbox1133.log"

group = sms-service
name = 1133
keyword = default
catch-all = true
max-messages = 0
omit-empty = true
send-sender = true
post-url = "http://127.0.0.1:80/rcv.php?opid=2&service=%i&sender=%p&udh=%u&text=%a"
accept-x-kannel-headers = true

group = sendsms-user
username = [ username ]
password = [ password ]

------------------------------------------------

The SMSC I connect with does not have implemented the module for authentication with username and password.
My problem is that the SMSC disconnects me if i don't send messages for a half an hour.  When I get the status via http,
bearerbox responds  that connection is "online". netstat reports also an "ESTABLISHED"  connection with SMSC, so I don't
even know if I can receive messages.

How can I solve this problem?

Felly

Reply via email to