Kannel panics because it can´t find any smsc to connect to.

You need to verify that you can access your modem.

Use minicom/vwdial or alike sw to verify you can connect to
/dev/ttyACM0 at the speed you are using 57600 and adjust you modem
conf accordingly

Regards

Alvaro



On Sat, Nov 21, 2009 at 10:01 AM, Dwijadas Dey <[email protected]> wrote:
> Hi
>    I am trying to connect Nokia 5310 in centos 5.4/gateway-1.4.3 as USB
> Modem. But When i run the bearbox i get the following error.
>
>  [r...@localhost gw]# 2009-11-21 20:27:23 [3836] [0] INFO: Debug_lvl = 1,
> log_file = <none>, log_lvl = 0
> 2009-11-21 20:27:23 [3836] [0] WARNING: DLR: using default 'internal' for
> storage type.
> 2009-11-21 20:27:23 [3836] [0] INFO: DLR using storage type: internal
> 2009-11-21 20:27:23 [3836] [0] INFO: Added logfile
> `/var/log/kannel/bearerbox.log' with level `1'.
> 2009-11-21 20:27:23 [3836] [0] INFO: Started access logfile
> `/var/log/kannel/access.log'.
> 2009-11-21 20:27:23 [3836] [0] INFO: HTTP: Opening server at port 13000.
> 2009-11-21 20:27:23 [3836] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2009-11-21 20:27:23 [3836] [0] INFO: Set SMS resend frequency to 60 seconds.
> 2009-11-21 20:27:23 [3836] [0] INFO: SMS resend retry set to unlimited.
> 2009-11-21 20:27:23 [3836] [0] INFO: DLR rerouting for smsc id <(null)>
> disabled.
> 2009-11-21 20:27:23 [3836] [0] INFO: AT2[/dev/ttyACM0]: configuration
> doesn't show modemtype. will autodetect
> 2009-11-21 20:27:23 [3836] [0] INFO:
> ----------------------------------------
> 2009-11-21 20:27:23 [3836] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2009-11-21 20:27:23 [3836] [0] INFO: MAIN: Start-up done, entering mainloop
> 2009-11-21 20:27:23 [3836] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2009-11-21 20:27:24 [3836] [6] INFO: AT2[/dev/ttyACM0]: speed set to 57600
> 2009-11-21 20:27:26 [3836] [6] PANIC: AT2[/dev/ttyACM0]: Cannot detect modem
> and generic not found
> 2009-11-21 20:27:26 [3836] [6] PANIC: ./bearerbox(gw_panic+0xc2) [0x80ce462]
> 2009-11-21 20:27:26 [3836] [6] PANIC: ./bearerbox [0x806e292]
> 2009-11-21 20:27:26 [3836] [6] PANIC: ./bearerbox [0x806ee21]
> 2009-11-21 20:27:26 [3836] [6] PANIC: ./bearerbox [0x80c4cf1]
> 2009-11-21 20:27:26 [3836] [6] PANIC: /lib/libpthread.so.0 [0x1955ab]
> 2009-11-21 20:27:26 [3836] [6] PANIC: /lib/libc.so.6(clone+0x5e) [0x92ccfe]
> ********************************************************************************************************
>
> Kannel.conf looks like this->
>   # Default kannel configuration file
>  #core group 'mandatory'
>  group = core
>  #port for http administration
>  admin-port = 13000
>  admin-password = hard2guess
>  status-password = hard2guess
>  admin-deny-ip = "*.*.*.*"
>  admin-allow-ip = "127.0.0.1"
>  #For SMS gateway
>  smsbox-port = 13001
>  #wapbox-port = 13002
>  box-deny-ip = "*.*.*.*"
>  box-allow-ip = "127.0.0.1"
>  #wdp-interface-name = "*"
>  log-file = "/var/log/kannel/bearerbox.log"
>  log-level = 1
>  #Access log
>  access-log = "/var/log/kannel/access.log"
>
> # SMSC Fake
> group = smsc
> smsc = at
> modemtype = auto
> device = /dev/ttyACM0
> speed = 57600
> #pin = 0000
> #host = localhost
> #port = 13013
>
> # MODEM DEFINITIONS
> group = modems
> id = nokia
> name = "Nokia Mobile Phones"
> detect-string = "Nokia Mobile Phones"
> #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>
>
>  group = smsbox
>  bearerbox-host = 127.0.0.1
>  #we use sendsms-port for sending sms (http)
>  sendsms-port = 13013
>  sendsms-chars = "0123456789+"
>  global-sender = "+919943678080"
>  log-file = /var/log/kannel/smsbox.log
>  log-level = 0
>  access-log = "/var/log/kannel/access.log"
>
>  group = sendsms-user
>  username = kannel
>  password = hard2guess
>  concatenation = true
>  max-messages = 10
>
> Can anybody point me where i am getting wrong ?
>
>



-- 
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com

Reply via email to