Hi,

Yes that helped. You have commented out the smsbox-port in your core group in 
your configuration. When an SMS arrived bearerbox tried to find an available 
smsbox to send it, but couldn't. Uncomment, restart kannel and you should be OK.

BR,
Nikos
  ----- Original Message ----- 
  From: Rupin Chheda 
  To: Nikos Balkanas 
  Cc: [email protected] 
  Sent: Thursday, February 26, 2009 8:51 PM
  Subject: Re: Panic Condition when Kannel Recieves Message


  Hello Nikos,
  Here is the content of my kannel.conf and the modems.conf files

  **************************************************************
  smskannel.conf


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



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




  group = smsc
  smsc = at
  modemtype = auto
  device=/dev/ttyUSB0
  speed = 115200
  my-number = +919867679383
  connect-allow-ip = 127.0.0.1
  log-level = 0



  group = smsbox
  bearerbox-host = localhost
  sendsms-port = 13013
  global-sender = +919867679383
  log-level = 0


  group = sendsms-user
  username = XXXXXXX
  password = XXXXXXX
  concatenation= true
  max-messages = 10


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



  ***************************************************************************
  modems.conf
  *************************************************************************


  # If modemtype=auto, try everyone and defaults to this one
  group = modems
  id = generic
  name = "Generic Modem"

  group = modems
  id = wavecom
  name = Wavecom
  detect-string = "WAVECOM"

  group = modems
  id = premicell
  name = Premicell
  detect-string = "PREMICEL"
  no-pin = true
  no-smsc = true

  group = modems
  id = siemens_tc35
  name = "Siemens TC35"
  detect-string = "SIEMENS"
  detect-string2 = "TC35"
  init-string = "AT+CNMI=1,2,0,1,1"
  speed = 19200
  enable-hwhs = "AT\\Q3"
  need-sleep = true

  group = modems
  id = siemens_m20
  name = "Siemens M20"
  detect-string = "SIEMENS"
  detect-string2 = "M20"
  speed = 19200
  enable-hwhs = "AT\\Q3"
  keepalive-cmd = "AT+CBC;+CSQ"
  need-sleep = true

  group = modems
  id = siemens_sl45
  name = "Siemens SL45"
  detect-string = "SIEMENS"
  detect-string2 = "SL45"
  init-string = "AT+CNMI=1,2,2,2,1"
  keepalive-cmd = "AT+CBC;+CSQ"
  speed = 19200
  enable-hwhs = "AT\\Q3"
  need-sleep = true
  message-storage = "SM"

  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 = falcom
  name = "Falcom"
  detect-string = "Falcom"
  #no-smsc = true

  group = modems
  id = ericsson_r520m
  name = "Ericsson R520m"
  detect-string = "R520m"
  init-string = "AT+CNMI=3,2,0,0"

  group = modems
  id = ericsson_t68
  name = "Ericsson T68"
  detect-string = "T68"
  init-string = "AT+CNMI=3,3"
  keepalive-cmd = "AT+CBC;+CSQ"
  broken = true

  group = modems
  id = sonyericsson_gr47
  name = "Sony Ericsson GR47"
  detect-string = "GR47"
  message-storage = "ME"
  # use this init-string for non sim-buffering
  init-string = "AT+CNMI=3,2,0,0"
  # use this init-string for sim-buffering
  #init-string = "AT+CNMI=3,1,0,0"
  reset-string = "ATZ"
  broken = true

  group = modems
  id = alcatel
  name = "Alcatel"
  detect-string = "Alcatel"
  init-string = "AT+CNMI=3,2,0,0"

  group = modems
  id = sonyericsson_T630-T628
  name = "Sony Ericsson T630-T628?
  init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0?
  keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0?
  broken = true




  ***************************************************************************

  Hope this helps,
  Rupin

Reply via email to