|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Fri Mar 14, 2025 10:47 |
Page: 1
Keywords: Mode: All keywords (AND) |
Sun Jun 20, 2010 13:39
|
marafa: the log shows that the sms was sent but i did _NOT_ receive it on my mobile.
next, on v3.1.9 if instead of the binary sendsms i create a file in the outgoing directory (with the contents as shown above) i get the same response i.e. it is accepted and it is sent by smsd _BUT_ i did nt receive it on my mobile
|
Sun Jun 20, 2010 13:02
|
marafa: sigh .. it wanted smsd to be in /usr/sbin and i was running around with /usr/local/bin and /usr/bin
it still doesnt send even thought it accepts the message. note .. on 3.1.9 if i manually create the file i get the same response
2010-06-20 15:57:36,2, smsd: Smsd v3.1.10 started.
2010-06-20 15:57:36,2, smsd: Running as smstools:smstools.
2010-06-20 15:57:36,7, smsd: Running startup_check (shell): /tmp/smsd_script.fpXTAQ /tmp/smsd_data.10dcsX
2010-06-20 15:57:36,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-20 15:57:36,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-20 15:57:36,4, smsd: Using national prefixes: 0
2010-06-20 15:57:36,5, smsd: Outgoing file checker has started. PID: 25350.
2010-06-20 15:57:36,5, GSM1: Modem handler 0 has started. PID: 25352. Will only send messages.
2010-06-20 15:57:36,6, GSM1: Checking if modem is ready
2010-06-20 15:57:36,7, GSM1: -> AT
2010-06-20 15:57:36,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:36,7, GSM1: <- AT OK
2010-06-20 15:57:36,6, GSM1: Pre-initializing modem
2010-06-20 15:57:36,7, GSM1: -> ATE0+CMEE=1
2010-06-20 15:57:36,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:37,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-20 15:57:37,6, GSM1: Checking if modem needs PIN
2010-06-20 15:57:37,7, GSM1: -> AT+CPIN?
2010-06-20 15:57:37,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:37,7, GSM1: <- +CPIN: READY OK
2010-06-20 15:57:37,6, GSM1: Initializing modem
2010-06-20 15:57:37,7, GSM1: -> ATZ
2010-06-20 15:57:37,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:38,7, GSM1: <- OK
2010-06-20 15:57:38,7, GSM1: -> AT+CSQ
2010-06-20 15:57:38,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:38,7, GSM1: <- AT+CSQ +CSQ: 11,99 OK
2010-06-20 15:57:38,6, GSM1: Checking if Modem is registered to the network
2010-06-20 15:57:38,7, GSM1: -> AT+CREG?
2010-06-20 15:57:38,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:39,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-20 15:57:39,6, GSM1: Modem is registered to the network
2010-06-20 15:57:39,6, GSM1: Selecting PDU mode
2010-06-20 15:57:39,6, GSM1: Selecting PDU mode
2010-06-20 15:57:39,7, GSM1: -> AT+CMGF=0
2010-06-20 15:57:39,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:39,7, GSM1: <- AT+CMGF=0 OK
2010-06-20 15:57:39,7, GSM1: -> AT+CIMI
2010-06-20 15:57:39,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:40,7, GSM1: <- AT+CIMI 602022017896489 OK
2010-06-20 15:57:40,7, GSM1: -> AT+CGSN
2010-06-20 15:57:40,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:40,7, GSM1: <- AT+CGSN 355855027164589 OK
2010-06-20 15:57:40,5, GSM1: CGSN: 355855027164589
2010-06-20 15:57:40,5, GSM1: CGSN: 355855027164589
2010-06-20 15:57:40,5, GSM1: IMSI: 602022017896489
2010-06-20 15:57:40,5, GSM1: Waiting for messages to send...
2010-06-20 15:57:40,5, GSM1: Waiting for messages to send...
2010-06-20 15:57:57,5, smsd: Moved file /var/spool/sms/outgoing/send_g8ssyJ to /var/spool/sms/checked
2010-06-20 15:57:57,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_g8ssyJ
2010-06-20 15:57:57,6, GSM1: Sending SMS from to 010...
2010-06-20 15:57:57,6, GSM1: Checking if modem is ready
2010-06-20 15:57:57,7, GSM1: -> AT
2010-06-20 15:57:57,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:57,7, GSM1: <- AT OK
2010-06-20 15:57:57,6, GSM1: Pre-initializing modem
2010-06-20 15:57:57,6, GSM1: Pre-initializing modem
2010-06-20 15:57:57,7, GSM1: -> ATE0+CMEE=1
2010-06-20 15:57:57,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:58,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-20 15:57:58,6, GSM1: Initializing modem
2010-06-20 15:57:58,7, GSM1: -> ATZ
2010-06-20 15:57:58,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:58,7, GSM1: <- OK
2010-06-20 15:57:58,7, GSM1: -> AT+CSQ
2010-06-20 15:57:58,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:59,7, GSM1: <- AT+CSQ +CSQ: 11,99 OK
2010-06-20 15:57:59,6, GSM1: Checking if Modem is registered to the network
2010-06-20 15:57:59,7, GSM1: -> AT+CREG?
2010-06-20 15:57:59,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:57:59,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-20 15:57:59,6, GSM1: Modem is registered to the network
2010-06-20 15:57:59,6, GSM1: Selecting PDU mode
2010-06-20 15:57:59,7, GSM1: -> AT+CMGF=0
2010-06-20 15:57:59,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:58:00,7, GSM1: <- AT+CMGF=0 OK
2010-06-20 15:58:00,7, GSM1: -> AT+CMGS=30
2010-06-20 15:58:00,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:58:00,7, GSM1: <- AT+CMGS=30 >
2010-06-20 15:58:00,7, GSM1: -> 0011000AA110105300020000FF13B0182C36ABC1603218882E4F87D9A0980D▒
2010-06-20 15:58:00,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:58:02,7, GSM1: <- 0011000AA110105300020000FF13B0182C36ABC1603218882E4F87D9A0980D +CMGS: 194 OK
2010-06-20 15:58:02,5, GSM1: SMS sent, Message_id: 194, To: 0101350020, sending time 5 sec.
2010-06-20 15:58:02,6, GSM1: Deleted file /var/spool/sms/checked/send_g8ssyJ
the file that i put in the outgoing directory
To: 010...
To_TOA: National
Trial with national number
and again.. thank you very much for your patience
|
Sun Jun 20, 2010 12:43
|
marafa: pls double check your end.
i went as far as downloading v3.1.10 again and recompiling it and overwriting my current smsd. it still says 3.1.9
|
Sun Jun 20, 2010 12:23
|
marafa: the log when sending to 010...
2010-06-20 15:15:50,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 24041.
2010-06-20 15:15:50,2, GSM1: Modem handler 0 terminated. PID: 24043, was started 10-06-20 15:02:38.
2010-06-20 15:15:50,2, smsd: Smsd mainprocess terminated. PID 24041, was started 10-06-20 15:02:38.
2010-06-20 15:15:50,2, smsd: Smsd v3.1.9 started.
2010-06-20 15:15:50,2, smsd: Running as smstools:smstools.
2010-06-20 15:15:50,7, smsd: Running startup_check (shell): /tmp/smsd_script.IDBPLK /tmp/smsd_data.JQysil
2010-06-20 15:15:50,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-20 15:15:50,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-20 15:15:50,5, smsd: Outgoing file checker has started. PID: 24243.
2010-06-20 15:15:50,5, GSM1: Modem handler 0 has started. PID: 24245. Will only send messages.
2010-06-20 15:15:50,6, GSM1: Checking if modem is ready
2010-06-20 15:15:50,7, GSM1: -> AT
2010-06-20 15:15:50,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:50,7, GSM1: <- AT OK
2010-06-20 15:15:50,6, GSM1: Pre-initializing modem
2010-06-20 15:15:51,7, GSM1: -> ATE0+CMEE=1
2010-06-20 15:15:51,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:51,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-20 15:15:51,6, GSM1: Checking if modem needs PIN
2010-06-20 15:15:51,7, GSM1: -> AT+CPIN?
2010-06-20 15:15:51,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:51,7, GSM1: <- +CPIN: READY OK
2010-06-20 15:15:51,6, GSM1: Initializing modem
2010-06-20 15:15:52,7, GSM1: -> ATZ
2010-06-20 15:15:52,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:52,7, GSM1: <- OK
2010-06-20 15:15:52,7, GSM1: -> AT+CSQ
2010-06-20 15:15:52,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:52,7, GSM1: <- AT+CSQ +CSQ: 9,99 OK
2010-06-20 15:15:52,6, GSM1: Checking if Modem is registered to the network
2010-06-20 15:15:53,7, GSM1: -> AT+CREG?
2010-06-20 15:15:53,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:53,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-20 15:15:53,6, GSM1: Modem is registered to the network
2010-06-20 15:15:53,6, GSM1: Selecting PDU mode
2010-06-20 15:15:53,7, GSM1: -> AT+CMGF=0
2010-06-20 15:15:53,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:53,7, GSM1: <- AT+CMGF=0 OK
2010-06-20 15:15:54,7, GSM1: -> AT+CIMI
2010-06-20 15:15:54,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:54,7, GSM1: <- AT+CIMI 602022017896489 OK
2010-06-20 15:15:54,7, GSM1: -> AT+CGSN
2010-06-20 15:15:54,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:15:54,7, GSM1: <- AT+CGSN 355855027164589 OK
2010-06-20 15:15:54,5, GSM1: CGSN: 355855027164589
2010-06-20 15:15:54,5, GSM1: IMSI: 602022017896489
2010-06-20 15:15:54,5, GSM1: Waiting for messages to send...
2010-06-20 15:16:11,5, smsd: Moved file /var/spool/sms/outgoing/send_UiUHa4 to /var/spool/sms/checked
2010-06-20 15:16:11,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_UiUHa4
2010-06-20 15:16:11,6, GSM1: Sending SMS from to <mobile_number>
2010-06-20 15:16:11,6, GSM1: Checking if modem is ready
2010-06-20 15:16:11,7, GSM1: -> AT
2010-06-20 15:16:11,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:11,7, GSM1: <- AT OK
2010-06-20 15:16:11,6, GSM1: Pre-initializing modem
2010-06-20 15:16:12,7, GSM1: -> ATE0+CMEE=1
2010-06-20 15:16:12,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:12,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-20 15:16:12,6, GSM1: Initializing modem
2010-06-20 15:16:12,7, GSM1: -> ATZ
2010-06-20 15:16:12,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:13,7, GSM1: <- OK
2010-06-20 15:16:13,7, GSM1: -> AT+CSQ
2010-06-20 15:16:13,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:13,7, GSM1: <- AT+CSQ +CSQ: 12,99 OK
2010-06-20 15:16:13,6, GSM1: Checking if Modem is registered to the network
2010-06-20 15:16:13,7, GSM1: -> AT+CREG?
2010-06-20 15:16:13,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:14,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-20 15:16:14,6, GSM1: Modem is registered to the network
2010-06-20 15:16:14,6, GSM1: Selecting PDU mode
2010-06-20 15:16:14,6, GSM1: Selecting PDU mode
2010-06-20 15:16:14,7, GSM1: -> AT+CMGF=0
2010-06-20 15:16:14,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:14,7, GSM1: <- AT+CMGF=0 OK
2010-06-20 15:16:14,7, GSM1: -> AT+CMGS=30
2010-06-20 15:16:14,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:15,7, GSM1: <- AT+CMGS=30 >
2010-06-20 15:16:15,7, GSM1: -> 0011000A9110105300020000FF13B0182C36ABC1603218882E4F87D9A0580D▒
2010-06-20 15:16:15,7, GSM1: Command is sent, waiting for the answer
2010-06-20 15:16:41,7, GSM1: <- 0011000A9110105300020000FF13B0182C36ABC1603218882E4F87D9A0580D +CMS ERROR: 500 (Unknown error)
2010-06-20 15:16:41,3, GSM1: The modem answer was not OK: 0011000A9110105300020000FF13B0182C36ABC1603218882E4F87D9A0580D+CMS ERROR: 500 (Unknown error)
2010-06-20 15:16:41,5, GSM1: Waiting 10 sec. before retrying
and my _working_ smsd.conf
devices = GSM1
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = smstools
smart_logging = yes
pidfile = /var/run/smsd/smsd.pid
national_prefixes = 0
blocktime = 60
whitelist = /var/lib/smstools/whitelist.txt
[GSM1]
device = /dev/ttyUSB0
init = ATZ
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
incoming = no
outgoing = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
ps. i think you dint changed the version number for 3.1.10 from 3.1.9
|
Sun Jun 20, 2010 12:00
|
marafa: hello keke
thank you so much for all your help
i am sorry to say i do not understand what a PDU is nor how i can configure it to accept phone numbers with 010.. format
thanks
|
Sun Jun 20, 2010 10:53
|
marafa: oh and i need to speed up processing of the messages
|
Sun Jun 20, 2010 10:52
|
marafa: i dont want to recieve
however out of the 3 numbers
002010.. works
2010.. works
010.. does NOT work
i need to have it accept and send in the last format coz all the numbers here (and applications - there are apparently 3 different applications) use the last format
|
Sun Jun 20, 2010 10:41
|
marafa: it worked! :P
i'd overlooked your suggestion for smsc so i am posting my smsd.conf here for you and others:
devices = GSM1
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = smstools
smart_logging = yes
pidfile = /var/run/smsd/smsd.pid
national_prefixes = 0
blocktime = 60
[GSM1]
device = /dev/ttyUSB0
init = ATZ
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
incoming = no
outgoing = yes
smsc = 20105996500
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
thank you keke!
|
Sun Jun 20, 2010 08:07
|
marafa: hi again
the order of the trial messages i sent were
010..
002010..
2010..
|
Sun Jun 20, 2010 07:54
|
marafa: hi keke
i am impressed you wrote not one but TWO bug fixes especially for me. thanks.
however, the new version also does not work :(
i tried with "national_prefixes = 0" and without.
each time i sent 3 messages the number would be 002010..or 2010.. or 010..
the same error message showed up
2010-06-20 10:53:31,7, GSM1: -> 0011000B910201310520F00000FF1332580C169BD56030190C4497A7C36C900D▒
2010-06-20 10:53:31,7, GSM1: Command is sent, waiting for the answer
2010-06-20 10:53:57,7, GSM1: <- 0011000B910201310520F00000FF1332580C169BD56030190C4497A7C36C900D +CMS ERROR: 500 (Unknown error)
2010-06-20 10:53:57,3, GSM1: The modem answer was not OK: 0011000B910201310520F00000FF1332580C169BD56030190C4497A7C36C900D+CMS ERROR: 500 (Unknown error)
2010-06-20 10:53:57,4, GSM1: Sending SMS to 20101350020 failed
2010-06-20 10:53:57,6, GSM1: Deleted file /var/spool/sms/checked/send_pPKXEc
2010-06-20 10:53:57,2, GSM1: Fatal error: sending failed 3 times. Blocking 3600 sec.
thanks
|
Sat Jun 19, 2010 11:28
|
marafa: ah no sms sent out
neither in local format or international format
|
Sat Jun 19, 2010 11:27
|
marafa: hi keke
thanks for your very fast response
i do not want to use international format as my application doesnt have the mobile numbers recorded in international format.
yes i got CMS 500 errors
i will put the SMSC number in
pre_init - was taken from another forum post here for one of my earlier problems. i will remove it and try again
the sim works. it has been with me for years. i previously (about 2 years ago) used the vodafone's betavine software to send sms from it.
my conf after changes:
devices = GSM1
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = smstools
smart_logging = yes
pidfile = /var/run/smsd/smsd.pid
national_prefixes = 0
[GSM1]
device = /dev/ttyUSB0
init = ATZ
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
incoming = no
outgoing = yes
smsc = 0020105996500
cs_convert = yes
decode_unicode_text = yes
my log when i tried to send the sms:
2010-06-19 14:21:53,5, GSM1: Waiting 10 sec. before retrying
2010-06-19 14:22:03,6, GSM1: Checking if modem is ready
2010-06-19 14:22:03,7, GSM1: -> AT
2010-06-19 14:22:03,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:03,7, GSM1: <- AT OK
2010-06-19 14:22:03,6, GSM1: Pre-initializing modem
2010-06-19 14:22:03,7, GSM1: -> ATE0+CMEE=1
2010-06-19 14:22:03,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:04,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-19 14:22:04,6, GSM1: Initializing modem
2010-06-19 14:22:04,6, GSM1: Initializing modem
2010-06-19 14:22:04,7, GSM1: -> ATZ
2010-06-19 14:22:04,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:04,7, GSM1: <- OK
2010-06-19 14:22:04,7, GSM1: -> AT+CSQ
2010-06-19 14:22:04,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:05,7, GSM1: <- AT+CSQ +CSQ: 10,99 OK
2010-06-19 14:22:05,6, GSM1: Checking if Modem is registered to the network
2010-06-19 14:22:05,7, GSM1: -> AT+CREG?
2010-06-19 14:22:05,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:05,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-19 14:22:05,6, GSM1: Modem is registered to the network
2010-06-19 14:22:05,6, GSM1: Selecting PDU mode
2010-06-19 14:22:05,7, GSM1: -> AT+CMGF=0
2010-06-19 14:22:05,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:06,7, GSM1: <- AT+CMGF=0 OK
2010-06-19 14:22:06,6, GSM1: Changing SMSC
2010-06-19 14:22:06,7, GSM1: -> AT+CSCA="+0020105996500"
2010-06-19 14:22:06,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:06,7, GSM1: <- AT+CSCA="+0020105996500" OK
2010-06-19 14:22:07,7, GSM1: -> AT+CMGS=29
2010-06-19 14:22:07,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:07,7, GSM1: <- AT+CMGS=29 >
2010-06-19 14:22:07,7, GSM1: -> 0011000A9110105300020000FF12B0182C36ABC1603218882E4F87D9201A▒
2010-06-19 14:22:07,7, GSM1: Command is sent, waiting for the answer
2010-06-19 14:22:33,7, GSM1: <- 0011000A9110105300020000FF12B0182C36ABC1603218882E4F87D9201A +CMS ERROR: 500 (Unknown error)
2010-06-19 14:22:33,3, GSM1: The modem answer was not OK: 0011000A9110105300020000FF12B0182C36ABC1603218882E4F87D9201A+CMS ERROR: 500 (Unknown error)
2010-06-19 14:22:33,4, GSM1: Sending SMS to <mobile_number> failed
2010-06-19 14:22:33,6, GSM1: Deleted file /var/spool/sms/checked/send_LHYRSg
2010-06-19 14:22:33,2, GSM1: Fatal error: sending failed 3 times. Blocking 3600 sec.
|
Sat Jun 19, 2010 10:39
|
marafa: keke
first of all i would like to thank you for your patience. seriously
next, i think i should explain what i want to do with smstools. i have set up a monitoring tool (zenoss) to send out sms alerts. however, the software we use is extremely old on old hardware and would like to very much migrate it from proprietary to open source software.
the program will not receive any sms plus all sms sent will only be to local numbers
anyways, i did as you said and put the national_prefixes = 0 in the global section. i restarted smsd. i sent 3 sms
the first with local number
the second with full international number
the third with the + sign as part of the international number
no luck on any of the 3 trials
i am adding the smsd.conf file after the changes:
devices = GSM1
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = smstools
smart_logging = yes
pidfile = /var/run/smsd/smsd.pid
national_prefixes = 0
[GSM1]
device = /dev/ttyUSB0
incoming = no
init = ATZ
pre_init = no
outgoing = yes
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
|
Sat Jun 19, 2010 08:23
|
marafa: yes and yes :D
i had mode-old and at the same time i was sending single digits (test numbers) :)
but it still doesnt pass the block character problem. my log:
2010-06-19 11:13:55,6, GSM1: Selecting PDU mode
2010-06-19 11:13:55,7, GSM1: -> AT+CMGF=0
2010-06-19 11:13:55,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:13:55,7, GSM1: <- AT+CMGF=0 OK
2010-06-19 11:13:55,7, GSM1: -> AT+CMGS=16
2010-06-19 11:13:55,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:13:56,7, GSM1: <- AT+CMGS=16 >
2010-06-19 11:13:56,7, GSM1: -> 0011000B910201310520F00000FF02B118▒
2010-06-19 11:13:56,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:22,7, GSM1: <- 0011000B910201310520F00000FF02B118 +CMS ERROR: 500 (Unknown error)
2010-06-19 11:14:22,3, GSM1: The modem answer was not OK: 0011000B910201310520F00000FF02B118+CMS ERROR: 500 (Unknown error)
2010-06-19 11:14:22,3, GSM1: The modem answer was not OK: 0011000B910201310520F00000FF02B118+CMS ERROR: 500 (Unknown error)
2010-06-19 11:14:22,5, GSM1: Waiting 10 sec. before retrying
2010-06-19 11:14:22,5, GSM1: Waiting 10 sec. before retrying
2010-06-19 11:14:32,6, GSM1: Checking if modem is ready
2010-06-19 11:14:32,7, GSM1: -> AT
2010-06-19 11:14:32,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:32,7, GSM1: <- AT OK
2010-06-19 11:14:32,6, GSM1: Initializing modem
2010-06-19 11:14:32,7, GSM1: -> ATZ
2010-06-19 11:14:32,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:33,7, GSM1: <- ATZ OK
2010-06-19 11:14:33,7, GSM1: -> AT+CSQ
2010-06-19 11:14:33,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:33,7, GSM1: <- AT+CSQ +CSQ: 8,99 OK
2010-06-19 11:14:33,6, GSM1: Checking if Modem is registered to the network
2010-06-19 11:14:33,7, GSM1: -> AT+CREG?
2010-06-19 11:14:33,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:34,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-19 11:14:34,6, GSM1: Modem is registered to the network
2010-06-19 11:14:34,6, GSM1: Selecting PDU mode
2010-06-19 11:14:34,6, GSM1: Modem is registered to the network
2010-06-19 11:14:34,6, GSM1: Selecting PDU mode
2010-06-19 11:14:34,7, GSM1: -> AT+CMGF=0
2010-06-19 11:14:34,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:34,7, GSM1: <- AT+CMGF=0 OK
2010-06-19 11:14:34,7, GSM1: -> AT+CMGS=16
2010-06-19 11:14:34,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:14:35,7, GSM1: <- AT+CMGS=16 >
2010-06-19 11:14:35,7, GSM1: -> 0011000B910201310520F00000FF02B118▒
2010-06-19 11:14:35,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:40,6, GSM1: Deleted file /var/spool/sms/checked/send_4uZZOd
2010-06-19 11:15:54,5, smsd: Moved file /var/spool/sms/outgoing/send_FPS6sM to /var/spool/sms/checked
2010-06-19 11:15:54,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_FPS6sM
2010-06-19 11:15:54,6, GSM1: Sending SMS from to <Mobile_Number>
2010-06-19 11:15:54,6, GSM1: Checking if modem is ready
2010-06-19 11:15:54,7, GSM1: -> AT
2010-06-19 11:15:54,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:54,7, GSM1: <- AT OK
2010-06-19 11:15:54,6, GSM1: Initializing modem
2010-06-19 11:15:54,6, GSM1: Initializing modem
2010-06-19 11:15:54,7, GSM1: -> ATZ
2010-06-19 11:15:54,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:55,7, GSM1: <- ATZ OK
2010-06-19 11:15:55,7, GSM1: -> AT+CSQ
2010-06-19 11:15:55,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:55,7, GSM1: <- AT+CSQ +CSQ: 5,99 OK
2010-06-19 11:15:55,6, GSM1: Checking if Modem is registered to the network
2010-06-19 11:15:55,7, GSM1: -> AT+CREG?
2010-06-19 11:15:55,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:56,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-06-19 11:15:56,6, GSM1: Modem is registered to the network
2010-06-19 11:15:56,6, GSM1: Selecting PDU mode
M1: Modem is registered to the network
2010-06-19 11:15:56,6, GSM1: Selecting PDU mode
2010-06-19 11:15:56,7, GSM1: -> AT+CMGF=0
2010-06-19 11:15:56,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:56,7, GSM1: <- AT+CMGF=0 OK
2010-06-19 11:15:56,7, GSM1: -> AT+CMGS=19
2010-06-19 11:15:57,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:15:57,7, GSM1: <- AT+CMGS=19 >
2010-06-19 11:15:57,7, GSM1: -> 0011000A9110105300020000FF06F4F29C1E9301▒
2010-06-19 11:15:57,7, GSM1: Command is sent, waiting for the answer
2010-06-19 11:16:23,7, GSM1: <- 0011000A9110105300020000FF06F4F29C1E9301 +CMS ERROR: 500 (Unknown error)
2010-06-19 11:16:23,3, GSM1: The modem answer was not OK: 0011000A9110105300020000FF06F4F29C1E9301+CMS ERROR: 500 (Unknown error)
also i think it might be helpful if you saw my smsd.conf file:
devices = GSM1
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = smstools
smart_logging = yes
pidfile = /var/run/smsd/smsd.pid
[GSM1]
device = /dev/ttyUSB0
incoming = no
memory_start = 1
init = ATZ
pre_init = no
outgoing = yes
rtscts = yes
baudrate = 230400
memory_start=0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
of course, all the settings above are from a newbie
|
Fri Jun 18, 2010 18:47
|
marafa: hi
i had installed smstools from fedora repos and i hope i didnt muck things up by doing this. i downloaded and compiled the version you recommended. then i _copied_ smsd to /usr/bin overwriting the old version.
the logs now show this:
2010-06-18 21:32:15,7, GSM1: -> 01000A91101053000200000138▒
2010-06-18 21:32:15,7, GSM1: Command is sent, waiting for the answer
2010-06-18 21:32:41,7, GSM1: <- 01000A91101053000200000138 ^RSSI:9 ^RSSI:9 ^RSSI:9 ^RSSI:9 ^RSSI:9 ^RSSI:9 ^RSSI:9 ^RSSI:9 ^RSSI:9 +CMS ERROR: 500 (Unknown error)
2010-06-18 21:32:41,3, GSM1: The modem answer was not OK: 01000A91101053000200000138^RSSI:9^RSSI:9^RSSI:9^RSSI:9^RSSI:9^RSSI:9^RSSI:9^RSSI:9^RSSI:9+CMS ERROR: 500 (Unknown error)
2010-06-18 21:32:41,4, GSM1: Sending SMS to <mobile_number> failed
|
Thu Jun 17, 2010 16:14
|
marafa: Operating system name and version: fedora 13 - 64 bit
Version of smsd: 3.1.5.4.fc13
Smsd installed from: package repository
Name and model of a modem / phone: 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Interface: /dev/ttyUSB0
i have never been able to send an sms message but i can talk to my modem via minicom. sometimes smstools can talk to my modem. however, whenever smstools sends the box like character i get problems:
2010-06-17 18:38:03,7, GSM1: -> ▒
2010-06-17 18:38:03,7, GSM1: Command is sent, waiting for the answer
and then i get entries in my log like:
Command is sent, waiting for the answer
or
Modem is not ready to answer commands (Timeouts: 1)
any help would be highly appreciated
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|