RE: SMSC Connection

"Angel Fradejas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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
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.