|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 13:43 |
Page: 1
Keywords: Mode: All keywords (AND) |
Wed Jul 14, 2010 08:03
|
schtd: The problem is solved.
keke,you are so kind!
Thanks a lot.
|
Tue Jul 13, 2010 08:02
|
schtd: Operating system name and version: FreeBSD7.3
Version of smsd: 3.1.5
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone: M1206B
Interface: serial / USB / some adapter...serial
could anyone tell how to solve this problem?
thank in advance
The config
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
[GSM1]
device = /dev/cuad0
incoming = yes
The Log file
2010-07-13 15:33:10,6, GSM1: Checking if modem is ready
2010-07-13 15:33:10,7, GSM1: -> AT^M
2010-07-13 15:33:10,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:10,7, GSM1: <- OK
2010-07-13 15:33:10,6, GSM1: Pre-initializing modem
2010-07-13 15:33:10,7, GSM1: -> ATE0+CMEE=1^M
2010-07-13 15:33:11,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:11,7, GSM1: <- OK
2010-07-13 15:33:11,7, GSM1: -> AT+CSQ^M
2010-07-13 15:33:11,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:11,7, GSM1: <- +CSQ: 16,0 OK
2010-07-13 15:33:11,6, GSM1: Checking if Modem is registered to the network
2010-07-13 15:33:11,7, GSM1: -> AT+CREG?^M
2010-07-13 15:33:12,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:12,7, GSM1: <- +CREG: 0,5 OK
2010-07-13 15:33:12,6, GSM1: Modem is registered to a roaming partner network
2010-07-13 15:33:12,6, GSM1: Selecting PDU mode
2010-07-13 15:33:12,7, GSM1: -> AT+CMGF=0^M
2010-07-13 15:33:12,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:12,7, GSM1: <- OK
2010-07-13 15:33:12,7, GSM1: -> AT+CMGS=17^M
2010-07-13 15:33:13,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:13,7, GSM1: <- >
2010-07-13 15:33:13,7, GSM1: -> 0011000B913108919890F80000FF03E87408^Z
2010-07-13 15:33:13,7, GSM1: Command is sent, waiting for the answer
2010-07-13 15:33:16,7, GSM1: <- +CMS ERROR: 50 (Requested facility not subscribed)
2010-07-13 15:33:16,3, GSM1: The modem answer was not OK: +CMS ERROR: 50 (Requested facility not subscribed)
|
Tue Nov 24, 2009 12:36
|
schtd: i still can not send sms on my FreeBSD box
i think it was smsd which iterated sending AT^M & Z^M, that can be find in my smsd.log
2009-11-22 18:38:57,2, smsd: Smsd v3.1.5 started.
2009-11-22 18:38:57,2, smsd: Running as uucp:uucp.
2009-11-22 18:38:57,7, smsd: Running startup_check (shell): /tmp/smsd_script.QXHcll /tmp/smsd_data.Giz1dW
2009-11-22 18:38:57,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0
2009-11-22 18:38:57,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2009-11-22 18:38:57,5, smsd: Outgoing file checker has started. PID: 907.
2009-11-22 18:38:57,5, GSM1: Modem handler 0 has started. PID: 910.
2009-11-22 18:38:57,5, GSM1: Using check_memory_method 1: CPMS is used.
2009-11-22 18:38:57,6, GSM1: Checking device for incoming SMS
2009-11-22 18:38:57,6, GSM1: Checking if modem is ready
2009-11-22 18:38:58,7, GSM1: -> AT
2009-11-22 18:38:58,7, GSM1: Command is sent, waiting for the answer
2009-11-22 18:39:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
......
2009-11-22 18:41:14,7, GSM1: <-
2009-11-22 18:41:14,7, GSM1: -> AT
2009-11-22 18:41:14,7, GSM1: Command is sent, waiting for the answer
2009-11-22 18:41:19,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 25.
2009-11-22 18:41:19,7, GSM1: <-
2009-11-22 18:41:20,7, GSM1: -> .
as in my FreeBSD box it was displayed :
->AT^M
Command is sent, waiting for the answer
put_command expected (OK)|(ERROR), timeout occurred. 1
<-
.->^Z^M
Command is sent, waiting for the answer
put_command expected (OK)|(ERROR), timeout occurred. 2
<-
........
and i stop smsd, there will not display any more
:roll:
|
Tue Nov 24, 2009 09:47
|
schtd: My question is if I need add init config script in the smsd.conf.
i've seen that with "at+cpms? " others have three memories ,but there are only two memories in my case.
in the XP case, with "at+cmgf?",displayed :"+cmgf=0",which means ASCII mode.
but in FreeBSD box,displayed "+cmgf=1"
are these configures affect the result and how to change it?
i've add " init=at+cmgf="0" " in the smsd.conf ,but with cu -l commands,it still show "+cmgf=1" and can not send sms.
Why this?
waiting for your answer.
|
Mon Nov 23, 2009 14:00
|
schtd: the result is:
at+creg?
+creg:0,1
at+cpms?
+cpms:"sm",0,25,"sm",0,25
You are so kind
|
Mon Nov 23, 2009 13:49
|
schtd: I've used cu -l /dev/cuad0 before
it displayed
Connected
AT
ok
...
it always display "AT ok" quickly and I hardly have enough time to type commands
ATI
WAVECOM Modem
Multiband 900E 1800
AT+CREG
Error
AT+CPMS
Error
What's wrong with it ?
|
Mon Nov 23, 2009 13:19
|
schtd: And could you tell me how to use terminal program testing com port?
|
Mon Nov 23, 2009 13:15
|
schtd: this is the result of :
#ls -l /dev/cuad0
crw-rw---- 1 uucp dialer 0, 49 Nov 23 21:11 /dev/cuad0
|
Mon Nov 23, 2009 13:01
|
schtd: this is the test result on the other system
ver is 020925
start init GSM Modem
AT
ok
ATE0
ok
ATI
Wavecom Modem Multiband 900E 1800 ok
AT+CMGF = 0
ok
AT+CNMI=2,1
ok
AT+CSCA
+CSCA "+8613800210500",1450K
GSM Modem is initialized
and i've sended a sm successfully
|
Mon Nov 23, 2009 12:42
|
schtd: my modem & cable can work with another sms software on windows XP
and without or with "send_delay = 0" seems no difference
thanks for your reponse
|
Mon Nov 23, 2009 11:55
|
schtd: for on my pc it displayed that send -> AT^M & -> ^Z^M
so i add init = AT in my smsd.conf
I don't familier with AT code
Thank you for your answer
|
Mon Nov 23, 2009 11:47
|
schtd: this is my smsd.conf
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
receive_before_send = no
[GSM1]
init=AT
device = /dev/cuad0
baudrate = 9600
send_delay = 0
I've set low speed before i post my log file
|
Mon Nov 23, 2009 11:20
|
schtd: Operating system name and version: FreeBSD 7.2 Release
Version of smsd: 3.1.5
Smsd installed from: Ports
Name and model of a modem / phone: wavecom M1206B
Interface: serial / USB / some adapter...serial
and my logfile is as follow
2009-11-22 18:38:57,2, smsd: Smsd v3.1.5 started.
2009-11-22 18:38:57,2, smsd: Running as uucp:uucp.
2009-11-22 18:38:57,7, smsd: Running startup_check (shell): /tmp/smsd_script.QXHcll /tmp/smsd_data.Giz1dW
2009-11-22 18:38:57,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0
2009-11-22 18:38:57,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2009-11-22 18:38:57,5, smsd: Outgoing file checker has started. PID: 907.
2009-11-22 18:38:57,5, GSM1: Modem handler 0 has started. PID: 910.
2009-11-22 18:38:57,5, GSM1: Using check_memory_method 1: CPMS is used.
2009-11-22 18:38:57,6, GSM1: Checking device for incoming SMS
2009-11-22 18:38:57,6, GSM1: Checking if modem is ready
2009-11-22 18:38:58,7, GSM1: -> AT
2009-11-22 18:38:58,7, GSM1: Command is sent, waiting for the answer
2009-11-22 18:39:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
......
2009-11-22 18:41:14,7, GSM1: <-
2009-11-22 18:41:14,7, GSM1: -> AT
2009-11-22 18:41:14,7, GSM1: Command is sent, waiting for the answer
2009-11-22 18:41:19,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 25.
2009-11-22 18:41:19,7, GSM1: <-
2009-11-22 18:41:20,7, GSM1: -> .
Could someone kindly point out what wrong with it
thanks a lot
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|