tr0nic: This was the solution. I had to write the Phone Numeber in an international format. Now its working! Thanks a lot!
|
tr0nic: Operating system name and version: Debian 5
Version of smsd: Version 3.1.11
Smsd installed from: sources
Name and model of a modem / phone:Teltonica MOdemUSB/G10
Interface:USB
My Modem is not sending sms. Here is my config:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
[GSM1]
init=ATZ
device = /dev/ttyUSB0
incoming = no
cs_convert = yes
pin = 1111
report=no
rtscts = no
now i do "sendsms 01791234576"
and the modem says:
2010-07-29 13:23:10,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_WecgxA
2010-07-29 13:23:10,6, GSM1: Sending SMS from to 0179123456
2010-07-29 13:23:10,6, GSM1: Checking if modem is ready
2010-07-29 13:23:10,7, GSM1: -> AT
2010-07-29 13:23:10,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:10,7, GSM1: <- AT OK
2010-07-29 13:23:10,6, GSM1: Pre-initializing modem
2010-07-29 13:23:11,7, GSM1: -> ATE0+CMEE=1
2010-07-29 13:23:11,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:11,7, GSM1: <- ATE0+CMEE=1 OK
2010-07-29 13:23:11,6, GSM1: Checking if modem needs PIN
2010-07-29 13:23:11,7, GSM1: -> AT+CPIN?
2010-07-29 13:23:11,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:12,7, GSM1: <- +CPIN: READY OK
2010-07-29 13:23:12,6, GSM1: Initializing modem
2010-07-29 13:23:12,7, GSM1: -> ATZ
2010-07-29 13:23:12,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:12,7, GSM1: <- OK
2010-07-29 13:23:12,7, GSM1: -> AT+CSQ
2010-07-29 13:23:12,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:13,7, GSM1: <- AT+CSQ +CSQ: 21,99 OK
2010-07-29 13:23:13,6, GSM1: Checking if Modem is registered to the network
2010-07-29 13:23:13,7, GSM1: -> AT+CREG?
2010-07-29 13:23:13,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:13,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-07-29 13:23:13,6, GSM1: Modem is registered to the network
2010-07-29 13:23:13,6, GSM1: Selecting PDU mode
2010-07-29 13:23:13,7, GSM1: -> AT+CMGF=0
2010-07-29 13:23:13,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:14,7, GSM1: <- AT+CMGF=0 OK
2010-07-29 13:23:14,7, GSM1: -> AT+CMGS=18
2010-07-29 13:23:14,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:14,7, GSM1: <- AT+CMGS=18 >
2010-07-29 13:23:14,7, GSM1: -> 0011000B911097215481F30000FF04D4F29C0E
2010-07-29 13:23:14,7, GSM1: Command is sent, waiting for the answer
2010-07-29 13:23:18,7, GSM1: <- 0011000B911097215481F30000FF04D4F29C0E +CMS ERROR: 21 (Short message transfer rejected)
2010-07-29 13:23:18,3, GSM1: The modem answer was not OK: 0011000B911097215481F30000FF04D4F29C0E+CMS ERROR: 21 (Short message transfer rejected)
2010-07-29 13:23:18,5, GSM1: Waiting 10 sec. before retrying
So i don“t know whre the problem is. Please help ;)
|