Hi all,

I have a wavecom modem detected by wvdial as

ttyS0<*1>: ATQ0 V1 E1 -- cçjBçBGCó

ttyS0<*1>: failed with 2400 baud, next try: 9600 baud

ttyS0<*1>: ATQ0 V1 E1 -- OK

ttyS0<*1>: ATQ0 V1 E1 Z -- OK

ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK

ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK

ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK

ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

ttyS0<*1>: Modem Identifier: ATI -- WAVECOM MODEM

ttyS0<*1>: Speed 19200: AT --

ttyS0<*1>: Speed 19200: AT --

ttyS0<*1>: Speed 19200: AT --

ttyS0<*1>: Max speed is 9600; that should be safe.

ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Modem Port Scan<*1>: S2   S3



Found a modem on /dev/ttyS0.

My modem conf in kannel is like this

group = modems

id = wavecom

name = WAVECOM

detect-string = "WAVECOM"

The modem initialization and setup goes fine (as show by bearerbox.log)

But when I try to send a sms through it fails with the bearerbox log as
shown

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1)

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK

2010-01-27 13:58:39 [6702] [6] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: -->
AT+CNMI=1,2,0,1,0^M

2010-01-27 13:58:39 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK

2010-01-27 13:58:39 [6702] [6] INFO: AT2[/dev/ttyS0]: AT SMSC successfully
opened.



--------------------------

<snip>

2010-01-27 13:59:30 [6702] [8] DEBUG: boxc_receiver: sms received

2010-01-27 13:59:30 [6702] [8] DEBUG: send_msg: sending msg to box:
<127.0.0.1>

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period:
24.0 hours

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=27^M

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT+CMGS=27>

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
1

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: -->
0011000A8189688742180000A7106334BA2C4F87DD7474FADD3E87E7

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- >

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR

2010-01-27 13:59:31 [6702] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR

2010-01-27 13:59:31 [6702] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
-1

2010-01-27 13:59:31 [6702] [7] DEBUG: sms_router: handling message
(0x9384cb0 vs 0x9384cb0)

2010-01-27 13:59:31 [6702] [7] DEBUG: re-queing SMS not-yet-to-be resent



What could be the problem?

 -Quintin

P.S. CrossPosted at
http://stackoverflow.com/questions/2145561/detecting-and-sending-smss-through-wavecom-modems-in-kannel

Reply via email to