Hi Seems bearerbox is not communicating with the modem. Use vwdial to get the right configuration.
In addition you can set speed=auto in config file to have kannel test modems speeds. Regards Alvaro On 4/30/12, Mahtab Rasheed <[email protected]> wrote: > Dear all , > > Please help me I am getting this error on running the bearerbox > > [root@localhost sbin]# ./bearerbox -v 1 /usr/local/smskannel.conf > 2012-04-30 11:56:28 [13417] [0] INFO: Debug_lvl = 1, log_file = <none>, > log_lvl = 0 > 2012-04-30 11:56:28 [13417] [0] WARNING: DLR: using default 'internal' for > storage type. > 2012-04-30 11:56:28 [13417] [0] INFO: DLR using storage type: internal > 2012-04-30 11:56:28 [13417] [0] INFO: HTTP: Opening server at port 13003. > 2012-04-30 11:56:28 [13417] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2012-04-30 11:56:28 [13417] [0] INFO: Set SMS resend frequency to 60 > seconds. > 2012-04-30 11:56:28 [13417] [0] INFO: SMS resend retry set to unlimited. > 2012-04-30 11:56:28 [13417] [0] INFO: DLR rerouting for smsc id <FAKE> > disabled. > 2012-04-30 11:56:28 [13417] [0] INFO: DLR rerouting for smsc id <(null)> > disabled. > 2012-04-30 11:56:28 [13417] [0] INFO: AT2[/dev/ttyACM0]: configuration > doesn't show modemtype. will autodetect > 2012-04-30 11:56:28 [13417] [0] INFO: > ---------------------------------------- > 2012-04-30 11:56:28 [13417] [0] INFO: Kannel bearerbox II version 1.4.3 > starting > 2012-04-30 11:56:28 [13417] [7] INFO: AT2[/dev/ttyACM0]: opening device > 2012-04-30 11:56:28 [13417] [0] INFO: MAIN: Start-up done, entering > mainloop > 2012-04-30 11:56:31 [13417] [7] INFO: AT2[/dev/ttyACM0]: speed set to > 115200 > 2012-04-30 11:56:33 [13417] [7] INFO: AT2[/dev/ttyACM0]: Closing device > 2012-04-30 11:56:33 [13417] [7] INFO: AT2[/dev/ttyACM0]: detect speed is > 115200 > 2012-04-30 11:56:33 [13417] [7] INFO: AT2[/dev/ttyACM0]: opening device > 2012-04-30 11:56:34 [13417] [7] INFO: AT2[/dev/ttyACM0]: speed set to > 115200 > 2012-04-30 11:56:36 [13417] [7] PANIC: AT2[/dev/ttyACM0]: Cannot detect > modem and generic not found > 2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox(gw_panic+0xc2) > [0x80cc0e2] > 2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox [0x806ca62] > 2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox [0x806d5f1] > 2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox [0x80c2971] > 2012-04-30 11:56:36 [13417] [7] PANIC: /lib/libpthread.so.0 [0xb9649b] > 2012-04-30 11:56:36 [13417] [7] PANIC: /lib/libc.so.6(clone+0x5e) > [0xaed42e] > > > > > I am using Motorola Razer v3i using usb cable with Redhat. The device is > also detected in /dev as ttyACM0 > This is my smskannel.conf > > > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = core > admin-port = 13003 > smsbox-port = 13004 > admin-password = bar > #status-password = foo > #admin-deny-ip = "" > #admin-allow-ip = "" > #log-file = "/tmp/kannel.log" > #log-level = 0 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > #unified-prefix = "+923,0092,0;+,00" > #access-log = "/tmp/access.log" > #store-file = "kannel.store" > #ssl-server-cert-file = "cert.pem" > #ssl-server-key-file = "key.pem" > #ssl-certkey-file = "mycertandprivkeyfile.pem" > > #--------------------------------------------- > # SMSC CONNECTIONS > > group = smsc > smsc = fake > smsc-id = FAKE > port = 10000 > connect-allow-ip = 127.0.0.1 > > #this is for Motorola Razer V3i > > group = smsc > smsc = at > modemtype = auto > device=/dev/ttyACM0 > my-number = 00923478847037 > sms-center= 00923455000010 > connect-allow-ip = 127.0.0.1 > log-level = 0 > > #-----------------Modem Group------------ > group = modems > id = Motorola > name = "Motorola" > init-string = "AT+C=1" > need-sleep = true > enable-mms = true > speed = 115200 > message-storage = "SM" > > > #--------------------------------------------- > # SMSBOX SETUP > # > > > group = smsbox > bearerbox-host = 127.0.0.1 > sendsms-port = 13013 > global-sender = 13013 > #sendsms-chars = "0123456789 +-" > #log-file = "/tmp/smsbox.log" > #log-level = 0 > #access-log = "/tmp/access.log" > > #--------------------------------------------- > # SEND-SMS USERS > > > group = sendsms-user > username = tester > password = foobar > #user-deny-ip = "" > #user-allow-ip = "" > > #--------------------------------------------- > # SERVICES > > > group = sms-service > keyword = nop > text = "You asked nothing and I did it!" > > > group = sms-service > keyword = default > text = "No service specified" > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > > Please help me > -- > Regards, > *Mahtab Rasheed* > Bachelors in Science and Information Technology > | 8th Semester > Research Assistant CEFAR LAB > BIT-10C | NUST-SEECS | Islamabad > | Pakistan > > Cell#+923457055195 > #+923478847037 > Skype: mahtab.rasheed > http://seecs.nust.edu.pk > -- |-----------------------------------------------------------------------------------------------------------------| 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
