I use AT commands now with thye same modem as yours and everything works fine. To be sure that the problem comes from kannel, try to send and receive a sms using a normal phone. If it works then show me your kannel.conff file
regards -----Original Message----- From: Randal Law [mailto:[EMAIL PROTECTED]] Sent: dimanche 12 janvier 2003 09:21 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Wavecom Modem Dear Nil, Thanks for the reply! But my phone operator setup is OK. So I think I have another problems :( In your smsc group, are you using "at2" or "at"? Do you need to set "need-sleep = true"? Anyone also using wavecom fastrack modem WMOM2, pls help! I just afarid kannel doesnt support this modem :( Best Regards, Randal > Hi Randal > > I had a similar problem. > In my case it was due to the chip card of the phone operator that wasn't > properly setup. > I had to put it in a phone and reset it up with the right sms operator > phone number. > > Regards > > Nil > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > On Behalf Of Randal Law > Sent: vendredi 10 janvier 2003 17:54 > To: [EMAIL PROTECTED] > Subject: Wavecom Modem > Importance: High > > Hi All, > > I am using a Wavecom Fastrack WMOD2 Mobile modem. It seem kannel > successfully initial the modem. But when It sending sms message its got > error, please help! Thanks! > > bearerbox.log show below: > 2003-01-10 15:58:51 [0] INFO: ---------------------------------------- > 2003-01-10 15:58:51 [0] INFO: Kannel bearerbox II version cvs-20030109 > starting > 2003-01-10 15:58:51 [0] INFO: MAIN: Start-up done, entering mainloop > 2003-01-10 15:58:51 [0] DEBUG: AT2[/dev/ttyS0]: start called > 2003-01-10 15:58:51 [7] DEBUG: sms_router: list_len = 0 > 2003-01-10 15:58:51 [14] DEBUG: Started thread 16 > (gw/bb_boxc.c:function) > 2003-01-10 15:58:51 [16] INFO: Client connected from <127.0.0.1> > 2003-01-10 15:58:51 [16] DEBUG: setting up systems for new wapbox > 2003-01-10 15:58:51 [16] DEBUG: Started thread 17 > (gw/bb_boxc.c:boxc_sender) 2003-01-10 15:58:52 [6] DEBUG: > AT2[/dev/ttyS0]: > device opened > 2003-01-10 15:58:52 [6] INFO: AT2[/dev/ttyS0]: init device > 2003-01-10 15:58:52 [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M > 2003-01-10 15:58:52 [6] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1) > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:59:03 [6] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1 > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMI=1,2,0,1,0^M > 2003-01-10 15:59:03 [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2003-01-10 15:59:03 [6] INFO: AT2[/dev/ttyS0]: AT SMSC successfully > opened. 2003-01-10 15:59:10 [5] DEBUG: boxc_receiver: sms received > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 > hours > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=16^M > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1 > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000881592197680000A704E8321B0E > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1 > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=16^M > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1 > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000881592197680000A704E8321B0E > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1 > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=16^M > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1 > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000881592197680000A704E8321B0E > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2003-01-10 15:59:11 [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1 > > kannel.conf show below: > group = core > admin-port = 13000 > smsbox-port = 13001 > wapbox-port = 13002 > admin-password = xxx > wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > access-log = "/var/log/kannel/bearer-access.log" > > group = smsc > smsc = at2 > modemtype = wavecom > device = /dev/ttyS0 > speed = 9600 > > group = smsbox > bearerbox-host = sms.xxx.com > sendsms-port = 13013 > global-sender = 13013 > log-file = "/var/log/kannel/smsbox.log" > access-log = "/var/log/kannel/sms-access.log" > > group = sendsms-user > username = xxx > password = xxx > > # SERVICES > group = sms-service > keyword = nop > text = "You asked nothing and I did it!" > > # there should be default always > group = sms-service > keyword = default > text = "No service spesified" > > include = "/etc/kannel/modems.conf" > include = "/etc/kannel/wapbox.conf" > > modems.conf show below: > group = modems > id = wavecom > name = "wavecom" > need-sleep = true > > Best Regards, > Randal *********************************** 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 ***********************************
