AirOnSkin: Operating system name and version: Arch Linux 2.6.33-ARCH
Version of smsd: 3.1.8
Smsd installed from: sources
Name and model of a modem: Teltonika ModemUSB/G10
Interface: USB
Hello there :)
I'm having a problem that I don't quite understand and it seems no one has had it so far or it wasn't documented ... at least I couldn't find anything.
What I'm trying to do, is sending SMS messages from my notebook (as soon as it works it'll be from a server) to my mobile. The above mentioned modem is connected via USB to my notebook and gets mapped to /dev/ttyUSB0.
With my current config the modem responds to the sms daemon and tries to send the message. To create the message I use the sendsms script that comes with the source.
Now the problem:
I get the error mentioned in the title. It seems to me, that I don't deliver the right IMSI Number to my provider. I've been calling my provider and asking for the IMSI number, though he won't give it out :/
Strange is, that the IMSI number shown in the log is the same as the serial number of the SIM card, can that be?
Recieving SMS works fine by the way... when I set the incoming option in the config to 1, I can send SMS from my mobile to the GSM modem.
Any help would be very apprechiated.
Thanks in Advance,
Air
Below you'll find my current config, a complete log for sending 1 message and an failed sms file:
(Numbers [mobile,csms,imsi] have been changed)
Config
# smsd.conf
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
logfile = /var/log/smsd.log
loglevel = 7
receive_before_send = no
autosplit = 3
keep_filename = no
[GSM1]
init = ATZ
device = /dev/ttyUSB0
smsc = 41781234567
incoming = no
cs_convert = yes
report = no
rtscts = yes
Log
2010-06-22 09:05:19,2, smsd: Smsd v3.1.8 started.
2010-06-22 09:05:19,2, smsd: Running as root:root.
2010-06-22 09:05:19,7, smsd: Running startup_check (shell): /tmp/smsd_script.M0Wwos /tmp/smsd_data.LmKepB
2010-06-22 09:05:19,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-22 09:05:19,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-22 09:05:19,5, smsd: Outgoing file checker has started. PID: 22174.
2010-06-22 09:05:19,5, GSM1: Modem handler 0 has started. PID: 22175. Will only send messages.
2010-06-22 09:05:19,6, GSM1: Checking if modem is ready
2010-06-22 09:05:19,7, GSM1: -> AT
2010-06-22 09:05:19,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:19,7, GSM1: <- AT OK
2010-06-22 09:05:19,6, GSM1: Pre-initializing modem
2010-06-22 09:05:20,7, GSM1: -> ATE0+CMEE=1
2010-06-22 09:05:20,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:20,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-22 09:05:20,6, GSM1: Checking if modem needs PIN
2010-06-22 09:05:20,7, GSM1: -> AT+CPIN?
2010-06-22 09:05:20,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:20,7, GSM1: <- +CPIN: READY OK
2010-06-22 09:05:20,6, GSM1: Initializing modem
2010-06-22 09:05:21,7, GSM1: -> ATZ
2010-06-22 09:05:21,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:21,7, GSM1: <- OK
2010-06-22 09:05:21,7, GSM1: -> AT+CSQ
2010-06-22 09:05:21,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:21,7, GSM1: <- AT+CSQ +CSQ: 12,99 OK
2010-06-22 09:05:21,6, GSM1: Checking if Modem is registered to the network
2010-06-22 09:05:22,7, GSM1: -> AT+CREG?
2010-06-22 09:05:22,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:22,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-22 09:05:22,6, GSM1: Modem is registered to the network
2010-06-22 09:05:22,6, GSM1: Selecting PDU mode
2010-06-22 09:05:22,7, GSM1: -> AT+CMGF=0
2010-06-22 09:05:22,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:22,7, GSM1: <- AT+CMGF=0 OK
2010-06-22 09:05:22,6, GSM1: Changing SMSC
2010-06-22 09:05:23,7, GSM1: -> AT+CSCA="+41781234567"
2010-06-22 09:05:23,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:23,7, GSM1: <- AT+CSCA="+41781234567" OK
2010-06-22 09:05:23,7, GSM1: -> AT+CIMI
2010-06-22 09:05:23,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:24,7, GSM1: <- AT+CIMI 228833774466550 OK
2010-06-22 09:05:24,7, GSM1: -> AT+CGSN
2010-06-22 09:05:24,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:05:24,7, GSM1: <- AT+CGSN 009988776655443 OK
2010-06-22 09:05:24,5, GSM1: CGSN: 009988776655443
2010-06-22 09:05:24,5, GSM1: IMSI: 228833774466550
2010-06-22 09:05:24,5, GSM1: Waiting for messages to send...
2010-06-22 09:06:00,5, smsd: Moved file /var/spool/sms/outgoing/send_FlX3rn to /var/spool/sms/checked/o09M7z
2010-06-22 09:06:01,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/o09M7z
2010-06-22 09:06:01,6, GSM1: Sending SMS from to 41789996633
2010-06-22 09:06:01,6, GSM1: Checking if modem is ready
2010-06-22 09:06:01,7, GSM1: -> AT
2010-06-22 09:06:01,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:01,7, GSM1: <- AT OK
2010-06-22 09:06:01,6, GSM1: Pre-initializing modem
2010-06-22 09:06:02,7, GSM1: -> ATE0+CMEE=1
2010-06-22 09:06:02,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:02,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-22 09:06:02,6, GSM1: Initializing modem
2010-06-22 09:06:02,7, GSM1: -> ATZ
2010-06-22 09:06:02,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:02,7, GSM1: <- OK
2010-06-22 09:06:03,7, GSM1: -> AT+CSQ
2010-06-22 09:06:03,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:03,7, GSM1: <- AT+CSQ +CSQ: 11,99 OK
2010-06-22 09:06:03,6, GSM1: Checking if Modem is registered to the network
2010-06-22 09:06:03,7, GSM1: -> AT+CREG?
2010-06-22 09:06:03,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:03,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-22 09:06:03,6, GSM1: Modem is registered to the network
2010-06-22 09:06:03,6, GSM1: Selecting PDU mode
2010-06-22 09:06:04,7, GSM1: -> AT+CMGF=0
2010-06-22 09:06:04,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:04,7, GSM1: <- AT+CMGF=0 OK
2010-06-22 09:06:04,6, GSM1: Changing SMSC
2010-06-22 09:06:04,7, GSM1: -> AT+CSCA="+41781234567"
2010-06-22 09:06:04,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:04,7, GSM1: <- AT+CSCA="+41781234567" OK
2010-06-22 09:06:05,7, GSM1: -> AT+CMGS=24
2010-06-22 09:06:05,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:05,7, GSM1: <- AT+CMGS=24 >
2010-06-22 09:06:05,7, GSM1: -> 0011000B911487873322F50000FF0BE8329BFD06DDDF723619
2010-06-22 09:06:05,7, GSM1: Command is sent, waiting for the answer
2010-06-22 09:06:08,7, GSM1: <- 0011000B911487873322F50000FF0BE8329BFD06DDDF723619 +CMS ERROR: 28 (Unindentified subscriber)
2010-06-22 09:06:08,3, GSM1: The modem answer was not OK: 0011000B911487873322F50000FF0BE8329BFD06DDDF723619+CMS ERROR: 28 (Unindentified subscriber)
2010-06-22 09:06:08,5, GSM1: Waiting 10 sec. before retrying
2010-06-22 09:06:16,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 22174.
2010-06-22 09:06:16,4, GSM1: Sending SMS to 41789996633 failed
SMS file
To: 41789996633
Original_filename: send_FlX3rn
Modem: GSM1
IMSI: 228833774466550
Fail_reason: 0011000B911487873322F50000FF0BE8329BFD06DDDF723619+CMS ERROR: 28 (Unindentified subscriber)
Failed: 10-06-22 09:06:16
PDU: 0011000B911487873322F50000FF0BE8329BFD06DDDF723619
hello world
|