Hello to All,

Hope that this isn't hidden soemwhere in the dark past of the mailing list...

Using Linux 2.4.18, Mandrake 8.2, gcc2.9.6, Kannel 1.2, WaveCom WMOD2

We are able to send and receive SMSs thru the WaveCom, except when we have 
just received an SMS incoming and are trying to respond immediately.  The 
modem returns an error as shown below in the log snippet.

We suspect that we need a delay to allow the modem time to reset for the send 
but haven't found any way to include such a command in the config file.

Thanks,

Oscar

_______________________________________________________________

group = smsc
smsc = at
modemtype = wavecom
device = /dev/ttyS0
speed = 9600
pin = 1111

group = sendsms-user
username = oscar
password = hola

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
catch-all = true
______________________________________________________________

2002-07-24 18:34:12 [7] DEBUG: smscconn (AT: /dev/ttyS0): new message received
2002-07-24 18:34:12 [6] DEBUG: boxc_sender: sent message to <127.0.0.1>
2002-07-24 18:34:12 [5] DEBUG: boxc_receiver: sms received
2002-07-24 18:34:12 [5] DEBUG: boxc_receiver: got ack
2002-07-24 18:34:12 [8] DEBUG: smscconn_sender (AT: /dev/ttyS0): sending 
message
2002-07-24 18:34:12 [8] DEBUG: TP-Validity-Period: 24.0 hours
2002-07-24 18:34:12 [8] DEBUG: AT: Command: AT+CMGS=42
2002-07-24 18:34:12 [8] DEBUG: Read from modem: '>'
2002-07-24 18:34:12 [8] DEBUG: AT: Command: 
0011000B814306505320F50000A71FD9771D149EAFCB6490
FB4D47A7DD6750D84D062541E4341994A68700?
2002-07-24 18:34:16 [8] DEBUG: Read from modem: 'ERROR'
2002-07-24 18:34:16 [8] DEBUG: send command status: -1
2002-07-24 18:34:16 [8] DEBUG: AT: Command: AT+CMGS=42
2002-07-24 18:34:16 [8] DEBUG: Read from modem: '>'
2002-07-24 18:34:16 [8] DEBUG: AT: Command: 
0011000B814306505320F50000A71FD9771D149EAFCB6490
FB4D47A7DD6750D84D062541E4341994A68700?
2002-07-24 18:34:22 [8] DEBUG: Read from modem: 'ERROR'
2002-07-24 18:34:22 [8] DEBUG: send command status: -1
2002-07-24 18:34:22 [8] DEBUG: AT: Command: AT+CMGS=42
2002-07-24 18:34:22 [8] DEBUG: Read from modem: '>'


-- 
-------------------------------------------------------------------------------------
Oscar Ca�izo                         Genasys II Spain, S.A.U.
Departamento IT                       Ventura de la Vega  5
Tel:  +34913649100                    28010 Madrid
Fax:  +34913649119                         Spain
Email:  [EMAIL PROTECTED] 
------------------------------------------------------------------------------------
-------------------

Reply via email to