Hi, Yes, Wavecom modem work with me.
In my case, I haven't specify the pin and sms-center options. Make be you can try to disable the pin and define the SMS center in the sim card rather than specify in the conf file. Below is my kannel.conf group = smsc smsc = at2 modemtype = wavecom device = /dev/ttyS0 speed = 9600 group = modems id = wavecom name = "wavecom" need-sleep = true The bearerbox should be like this: 2003-03-19 09:33:34 [0] INFO: ---------------------------------------- 2003-03-19 09:33:34 [0] INFO: Kannel bearerbox II version 1.2.1 starting 2003-03-19 09:33:34 [0] INFO: MAIN: Start-up done, entering mainloop 2003-03-19 09:33:34 [0] DEBUG: AT2[/dev/ttyS0]: start called 2003-03-19 09:33:34 [6] DEBUG: sms_router: list_len = 0 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: device opened 2003-03-19 09:33:35 [5] INFO: AT2[/dev/ttyS0]: init device 2003-03-19 09:33:35 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- AT 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- AT&F 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- ATE0 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:35 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M 2003-03-19 09:33:36 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:36 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M 2003-03-19 09:33:36 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1) 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:47 [5] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMI=1,2,0,1,0^M 2003-03-19 09:33:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK Hope it can help! Thanks, Randal Law > Hi, > > I'm trying to run kannel with a WAVECOM WMOD2B modem on kannel 1.2.1 > (compiled on my system, Mandrake 9.1) as a simple SMSC. > > > Here are my definitions: > ## from kannel.conf ## > group = smsc > smsc = at2 > modemtype = wavecom > device = /dev/ttyS0 > speed = 9600 > pin = 2229 > sms-center = +491710760000 > include = "/var/www/html/conf/modems.conf" > > ## from modems.conf ## > group = modems > id = wavecom > name = "wavecom" > detect-string = "WAVECOM" > speed = 9600 > need-sleep = true > > ..and this is what bearerbox says when it is started: > > 2003-03-18 14:07:42 [0] DEBUG: AT2[/dev/ttyS0]: Reading modem > definitions from </var/www/html/conf/kannel.conf> 2003-03-18 14:07:42 > [0] DEBUG: Loading include file `/var/www/html/conf/modems.conf' (on > line 57 of file /var/www/html/conf/kannel.conf). 2003-03-18 14:07:42 [0] > DEBUG: AT2[/dev/ttyS0]: Found <10> modems in config 2003-03-18 14:07:42 > [0] INFO: AT2[/dev/ttyS0]: read modem definition for <wavecom> > 2003-03-18 14:07:42 [0] DEBUG: Started thread 5 > (gw/smsc/smsc_at2.c:at2_device_thread) 2003-03-18 14:07:42 [5] INFO: > AT2[/dev/ttyS0]: opening device > 2003-03-18 14:07:42 [5] DEBUG: AT2[/dev/ttyS0]: device opened > 2003-03-18 14:07:42 [0] DEBUG: Started thread 6 > (gw/bb_smscconn.c:sms_router) 2003-03-18 14:07:42 [0] INFO: > ---------------------------------------- 2003-03-18 14:07:42 [0] INFO: > Kannel bearerbox II version 1.2.1 starting 2003-03-18 14:07:42 [0] INFO: > MAIN: Start-up done, entering mainloop 2003-03-18 14:07:42 [0] DEBUG: > AT2[/dev/ttyS0]: start called > 2003-03-18 14:07:42 [6] DEBUG: sms_router: time to sleep > 2003-03-18 14:07:42 [6] DEBUG: sms_router: list_len = 0 > 2003-03-18 14:07:43 [5] DEBUG: AT2[/dev/ttyS0]: device opened > 2003-03-18 14:07:43 [5] INFO: AT2[/dev/ttyS0]: init device > 2003-03-18 14:07:43 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2003-03-18 14:07:43 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M > > > After this bearerbox hangs! > > Is ist possible that someone using this modem sends me his/her > conffiles? > > Within the Archive I found Randal Law made it work with this modem! > > Thanks for support and any good idea in advance! > > Lars-Hendrik Schneider > (already running kannel with Siemens TC35 in Benin/Africa) > > ______________________________________________________________________________ > Den Komfort von WEB.DE FreeMail nutzen, aber die alten E-Mail-Adressen > nicht aufgeben? Kein Problem: http://freemail.web.de/features/?mc=021128 *********************************** OZtel Limited (An OZtell subsidiary) 1104 Chevalier House, 45-51 Chatham Road Tsim Sha Tsui, HONG KONG Tel: (852) 2312-0180 Fax: (852) 2312-0182 Website: www.oztell.com ***********************************
