Hello,

I try to use siemens tc35 modem for sending/recieving sms.
The last lines of debug log are:

--------------------
005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CSMS=?^M
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- +CSMS: (0,1)
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- OK
2005-05-18 15:22:42 [11796] [6] INFO: AT2[modemtc35]: Phase 2+ is supported
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CSMS=1^M
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- +CSMS: 1,1,1
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- OK
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: -->
AT+CNMI=1,2,0,1,1^M
2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- OK
2005-05-18 15:22:42 [11796] [6] INFO: AT2[modemtc35]: AT SMSC successfully
opened.
----------------------

So, device is opened. But when I try to send sms through kannel, I get
these errors:

---------------------
2005-05-18 15:23:00 [11815] [13] DEBUG: boxc_receiver: sms received
2005-05-18 15:23:00 [11815] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: TP-Validity-Period:
24.0 hours
2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CMGS=25^M
2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: send command status: 1
2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: -->
0011000B819762120242F00000A70C6276182466874162763806
2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: --> ^Z
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: <-- ERROR
2005-05-18 15:23:05 [11796] [6] ERROR: AT2[modemtc35]: Error occurs: ERROR
(error number not known to us. ask google and add it.)
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: send command
status: -1
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CMGS=25^M
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: send command status: 1
2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: -->
0011000B819762120242F00000A70C6276182466874162763806
2005-05-18 15:23:06 [11796] [6] DEBUG: AT2[modemtc35]: --> ^Z
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: <-- ERROR
2005-05-18 15:23:10 [11796] [6] ERROR: AT2[modemtc35]: Error occurs: ERROR
(error number not known to us. ask google and add it.)
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: send command
status: -1
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CMGS=25^M
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: send command status: 1
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: -->
0011000B819762120242F00000A70C6276182466874162763806
2005-05-18 15:23:10 [11796] [6] DEBUG: AT2[modemtc35]: --> ^Z
2005-05-18 15:23:14 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
2005-05-18 15:23:14 [11796] [6] DEBUG: AT2[modemtc35]: <-- ERROR
2005-05-18 15:23:14 [11796] [6] ERROR: AT2[modemtc35]: Error occurs: ERROR
(error number not known to us. ask google and add it.)
2005-05-18 15:23:14 [11796] [6] DEBUG: AT2[modemtc35]: send command
status: -1
---------------------------

my config is:

---------------------
group = smsc
smsc = at
smsc-id = modemtc35
modemtype = siemens_tc35
device = /dev/ttyS0
speed = 9600
pin = 1111
my-number = "+711111111111"
sms-center = "+711111111112"

group = modems
id = siemens_tc35
name = "Siemens TC35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 9600
enable-hwhs = "AT\\Q3"
need-sleep = true


Could anybody help me to resolve this problem?

THANK YOU!

regards,
Martynas



Reply via email to