NdeeBee: I solved the problem: entered the phone number with a 0 instead of the country code...
|
NdeeBee: Operating system name and version: Ubuntu Server 12.04
Version of smsd: 3.1.14
Smsd installed from: sources / package repository / from elsewhere... source
Name and model of a modem / phone: MultiTech rcell
Interface: serial / USB / some adapter... ethernet
I have some problems sending sms via Ethernet through the Multitech Modem:
smsd.conf:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
blocktime = 60
alarmlevel = 5
alarmhandler = /usr/local/bin/alarm.sh
user = root
group = root
infofile = /var/run/sms/smsd.working
pidfile = /var/run/sms/smsd.pid
[GSM1]
device = @xxx:xxx:xxx:xxx:5000
telnet_login = xxxxx
telnet_password = xxxxx
# pre_init = no
keep_open = no
incoming = no
baudrate = 2400
send_delay = 10
pin = 1234
rtscts = no
cs_convert = yes
report = no
regular_run_interval = 60
regular_run_cmd = AT+CREG?;+CSQ;+COPS?
regular_run_statfile = /dev/shm/sms_stat
if i send sms via sendsms, the log says following:
2012-07-04 15:11:23,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_ZyPSlv
2012-07-04 15:11:23,6, GSM1: Sending SMS from to 06502322334
2012-07-04 15:11:23,6, GSM1: Checking if modem is ready
2012-07-04 15:11:23,7, GSM1: -> AT
2012-07-04 15:11:23,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:24,7, GSM1: <- OK
2012-07-04 15:11:24,6, GSM1: Pre-initializing modem
2012-07-04 15:11:24,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2012-07-04 15:11:24,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:25,7, GSM1: <- OK +CREG: 1,"4846","E87B"
2012-07-04 15:11:25,6, GSM1: Checking if modem needs PIN
2012-07-04 15:11:25,7, GSM1: -> AT+CPIN?
2012-07-04 15:11:25,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:25,7, GSM1: <- +CPIN: READY
2012-07-04 15:11:25,7, GSM1: -> AT+CSQ
2012-07-04 15:11:25,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:26,7, GSM1: <- +CSQ: 27,0 OK
2012-07-04 15:11:26,6, GSM1: Signal Strength Indicator: (27,0) -59 dBm (Excellent), Bit Error Rate: less than 0.2 %
2012-07-04 15:11:26,6, GSM1: Checking if Modem is registered to the network
2012-07-04 15:11:26,7, GSM1: -> AT+CREG?
2012-07-04 15:11:26,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:26,7, GSM1: <- +CREG: 2,1,"4846","E87B" OK
2012-07-04 15:11:26,6, GSM1: Modem is registered to the network
2012-07-04 15:11:26,6, GSM1: Selecting PDU mode
2012-07-04 15:11:26,7, GSM1: -> AT+CMGF=0
2012-07-04 15:11:27,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:27,7, GSM1: <- OK
2012-07-04 15:11:27,7, GSM1: -> AT+CMGS=18
2012-07-04 15:11:27,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:27,7, GSM1: <- >
2012-07-04 15:11:28,7, GSM1: -> 0011000B916005322233F40000FF04F4F29C0E
2012-07-04 15:11:28,7, GSM1: Command is sent, waiting for the answer
2012-07-04 15:11:31,7, GSM1: <- +CMGS: 102 OK
2012-07-04 15:11:31,5, GSM1: SMS sent, Message_id: 102, To: 06502322334, sending time 8 sec.
2012-07-04 15:11:31,6, GSM1: Deleted file /var/spool/sms/checked/send_ZyPSlv
The sms is marked as sent but nothing comes to my cell. If i log on per telnet directly on the Multitech, and send an sms per AT command,
everything works well.
Maybe you guys can help me out in this ..... problem!
regards
ndeebee
|