|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 08:13 |
Page: 1
Keywords: Mode: All keywords (AND) |
Wed Oct 03, 2012 20:32
|
svs: My own answer.
dial *#7284#
set both field as modem and reboot phone
now you can use your android as USB modem
|
Wed Oct 03, 2012 12:43
|
svs: Is it possible to use android Phone as USB modem.
When I connect phone to my Linux PC see /dev/ttyACM0 device appear
Some AT command works. But no answer from some command.
Have anybody tried do this?
|
Fri Sep 18, 2009 10:17
|
svs: Thank you.
I understand the idea.
Solaris version of sed doesn't work.
I install GNU sed and now everything fine.
Thanks lot again.
|
Thu Sep 17, 2009 20:36
|
svs: I upgrade smstools to ver. 3.1.5 and set send_delay = 0
Now "wrong" SMSs send :)
I have one more question.
I set
incoming_utf8 = yes
decode_unicode_text = yes
But I can't read incoming SMS.
It's still in some internal codeset.
How can I covert it to utf-8?
What should I set to send sms with utf-8 text?
Thank you.
|
Thu Sep 17, 2009 20:22
|
svs: I use Smsd v3.1.3
I can send THE SAME sms that smstools failed to send using AT command:
ATZ0
OK
AT+CMGF=1
OK
AT+CNMI=2,1
OK
AT+CMGS=+7XXXXXXXXXX
> PROBLEM: etax-srv: SSL Certificate is CRITICAL▒
+CMGS: 76
OK
|
Thu Sep 17, 2009 18:43
|
svs: ok
I'll try to change cable. I'll be difficult to do because servers are on Internet provider far from me.
But I still can't understand why modem can send some SMS.
I think if cable or connector is wrong modem can send nothing
|
Thu Sep 17, 2009 18:16
|
svs: 2009-09-17 22:06:32,6, GSM1: Initializing modem
2009-09-17 22:06:32,7, GSM1: -> ATE1+CMEE=1
2009-09-17 22:06:49,7, GSM1: Command is sent, waiting for the answer
2009-09-17 22:06:49,7, GSM1: <- ATE1+CMEE=1 OK
2009-09-17 22:06:49,6, GSM1: Checking if Modem is registered to the network
2009-09-17 22:06:49,7, GSM1: -> AT+CREG?
2009-09-17 22:07:02,7, GSM1: Command is sent, waiting for the answer
2009-09-17 22:07:02,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2009-09-17 22:07:02,6, GSM1: Modem is registered to the network
2009-09-17 22:07:02,6, GSM1: Selecting PDU mode
2009-09-17 22:07:02,7, GSM1: -> AT+CMGF=0
2009-09-17 22:07:16,7, GSM1: Command is sent, waiting for the answer
2009-09-17 22:00:57,7, GSM1: Command is sent, waiting for the answer
2009-09-17 22:00:57,7, GSM1: <- AT+CMGF=0 OK
2009-09-17 22:00:57,7, GSM1: -> AT+CMGS=106
2009-09-17 22:01:14,7, GSM1: Command is sent, waiting for the answer
2009-09-17 22:01:14,7, GSM1: <- AT+CMGS=106 >
2009-09-17 22:01:14,7, GSM1: -> 0011000B919712898342F80008FF5C00500052004F0042004C0045004D003A0020006500740061007
8002D007300720076003A002000530053004C0020004300650072007400690066006900630061007400650020006900730020004300520049
0054004900430041004C^Z
2009-09-17 22:06:17,7, GSM1: Command is sent, waiting for the answer
2009-09-17 22:06:18,7, GSM1: <- 0011000B919712898342F80008FF5C00500052004F +CMS ERROR: 500
Seems that modem for some reason stop receive after 0011000B919712898342F80008FF5C00500052004F
|
Thu Sep 17, 2009 18:09
|
svs: I set baudrate = 9600. Doesn't help
The most important thing: when running with init = ATE1+CMEE=1, did you verify the sent PDU against the echoed PDU? When an error still happened, is it sure that echoed string was exactly the same than what was sent?
How can I verify?
Is it possible to try to send this kind of failed message (with exactly the same content) to the different GSM number, which probably is registered into the different network?
Modem and phone which i send to is on the same gsm network.
|
Thu Sep 17, 2009 16:37
|
svs: stty -a </dev/cua/1
speed 9600 baud;
rows = 0; columns = 0; ypixels = 0; xpixels = 0;
csdata ?
eucw ?, scrw ?
min = 0; time = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>;
eof = <undef>; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = <undef>; stop = <undef>; susp = <undef>; dsusp = <undef>;
rprnt = <undef>; flush = <undef>; werase = <undef>; lnext = <undef>;
-parenb -parodd cs8 -cstopb -hupcl cread clocal -loblk -crtscts -crtsxoff -parext
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -iuclc
-ixon -ixany -ixoff -imaxbel
-isig -icanon -xcase -echo -echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -defecho -flusho -pendin -iexten
-opost -olcuc -onlcr -ocrnl -onocr -onlret -ofill -ofdel
cat /etc/smsd.conf
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
[GSM1]
device = /dev/cua/1
incoming = no
init = ATE1+CMEE=1
pre_init = no
Still the same error :(
|
Thu Sep 17, 2009 13:03
|
svs: May be problem in some setting serial port in Solaris?
|
Thu Sep 17, 2009 12:08
|
svs: I can send SMS to the same phone number with other text.
Do I need make codeset conversation if I use onle 7-bit character?
I play with Alphabet:
Now I set it to
Alphabet: UCS2
And also add line to smssend script:
/usr/ucb/echo -n "$TEXT" | iconv -t UCS-2BE -f utf-8 >> $FILE
But it doesn't help.
I can even send sms using utf-8 with cyrillic. It works.
sendsms +7XXXXXXXXXX "PROBLEM: etax-srv: SSL Certificate is CRITICAL
smsd.log
...
2009-09-17 16:05:38,7, GSM1: -> 0011000B919712898342F80008FF5C00500052004F0042004C0045004D003A002
00065007400610078002D007300720076003A002000530053004C00200043006500720074006900660069006300610074
006500200069007300200043005200490054004900430041004C^Z
Here modem didn't answer long time and then got error
2009-09-17 16:07:28,7, GSM1: Command is sent, waiting for the answer
2009-09-17 16:07:28,7, GSM1: <- +CMS ERROR: 500
2009-09-17 16:07:28,7, GSM1: Explanation: Unknown error
2009-09-17 16:07:28,3, GSM1: The modem said ERROR or did not answer.
spool file
To: +7XXXXXXXXXX
Alphabet: UCS2
UDH: false
^@P^@R^@O^@B^@L^@E^@M^@:^@ ^@e^@t^@a^@x^@-^@s^@r^@v^@:^@ ^@S^@S^@L^@ ^@C^@e^@r^@t^@i^@f^@i^@c^@a
^@t^@e^@ ^@i^@s^@ ^@C^@R^@I^@T^@I^@C^@A^@L
|
Thu Sep 17, 2009 10:54
|
svs: Thank you for answer.
...
2009-09-17 14:37:34,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_Vdaik
Y
2009-09-17 14:37:34,6, GSM1: Sending SMS from to 792198XXXXX
2009-09-17 14:37:34,6, GSM1: Checking if modem is ready
2009-09-17 14:37:34,7, GSM1: -> AT
2009-09-17 14:37:36,7, GSM1: Command is sent, waiting for the answer
2009-09-17 14:37:36,7, GSM1: <- OK
2009-09-17 14:37:36,6, GSM1: Pre-initializing modem
2009-09-17 14:37:36,7, GSM1: -> ATE0+CMEE=1
2009-09-17 14:37:42,7, GSM1: Command is sent, waiting for the answer
2009-09-17 14:37:42,7, GSM1: <- OK
2009-09-17 14:37:42,6, GSM1: Checking if Modem is registered to the network
2009-09-17 14:37:42,7, GSM1: -> AT+CREG?
2009-09-17 14:37:47,7, GSM1: Command is sent, waiting for the answer
2009-09-17 14:37:47,7, GSM1: <- +CREG: 0,1 OK
2009-09-17 14:37:47,6, GSM1: Modem is registered to the network
2009-09-17 14:37:47,6, GSM1: Selecting PDU mode
2009-09-17 14:37:47,7, GSM1: -> AT+CMGF=0
2009-09-17 14:37:52,7, GSM1: Command is sent, waiting for the answer
2009-09-17 14:37:53,7, GSM1: <- OK
2009-09-17 14:37:53,7, GSM1: -> AT+CMGS=96
2009-09-17 14:37:58,7, GSM1: Command is sent, waiting for the answer
2009-09-17 14:37:58,7, GSM1: <- >
2009-09-17 14:37:58,7, GSM1: -> PDU moved to private block
( PRIVATE BLOCK )
2009-09-17 14:39:38,7, GSM1: Command is sent, waiting for the answer
2009-09-17 14:39:38,7, GSM1: <- +CMS ERROR: 500
2009-09-17 14:39:38,7, GSM1: Explanation: Unknown error
2009-09-17 14:39:38,3, GSM1: The modem said ERROR or did not answer.
2009-09-17 14:39:38,5, GSM1: Waiting 10 sec. before retrying
...
|
Thu Sep 17, 2009 09:39
|
svs: I use smstools with nagios to send notification.
Some sms produce error 500 (unknown error)
I can't undestand what difference between sms produced error 500 and sms send without error
Here is example of sms with error 500:
PROBLEM: etax-srv: SSL Certificate is CRITICAL
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|