alireza976: ARM Linux:
3.1.14:
Smsd installed from: sources
moxa:
Interface: USB
hello
How to change serial port parity and character size(All of serial port characteristics like those that minicom has) in smsd.conf?
|
alireza976: Dear
My modem does not work after one or two day.
When i send atz command to modem , works without any problem.
This is my config file:
# Example smsd.conf. Read the manual for a description
devices = GSM1
outgoing = /var/spool/sms/outgoing
incoming = /var/spool/sms/incoming
sent= /var/spool/sms/sent
logfile = /var/log/smsd.log
loglevel = 8
failed= /var/spool/sms/failed
keep_filename = yes
stats = /var/spool/sms/stats
stats_interval = 0
[default]
regular_run_cmd = atz
regular_run_interval = 240
regular_run_logfile = /var/log/smsd_regular_run.log
#[queues]
#Q1 = /var/spool/sms/Q1
[GSM1]
device = /dev/ttyS0
baudrate = 115200
rtscts = no
send_delay = 10
keep_open = no
#pin = 111111
regular_run = /var/spool/sms/regular_run/GSM1.sh
regular_run_post_run = /var/spool/sms/regular_run/GSM1.sh
regular_run_cmdfile = /var/spool/sms/regular_run/GSM1.cmdfile
regular_run_statfile = /var/spool/sms/regular_run/GSM1.statfile
Is there a problem?
Thank you for reply
|
alireza976: Operating system name and version: ubuntu 10.04
Version of smsd: 3
Smsd installed from: sources
Name and model of a modem / phone: moxa external modem
Interface: serial / USB / some adapter...
hello
how to reset the modem after (for example) 60 min?
in minicom program i send this command : atz
when i change the (smsd.conf >>> regular_run_cmd = atz) ,between regular run command and GSM1.sh interference is caused.
2011-06-28 11:46:54,7, GSM1: Done: regular_run_post_run (modem), execution time 0 sec., status: 0 (0)
2011-06-28 11:46:54,3, GSM1: Exec: regular_run_post_run (modem) said something:
2011-06-28 11:46:54,3, GSM1: ! Error while parsing the answer (balance): 2011-06-28 11:46:54,5, GSM1: CMD: atz: OK
2011-06-28 11:46:54,3, GSM1: ! Error while parsing the answer (expiration): 2011-06-28 11:46:54,5, GSM1: CMD: atz: OK
2011-06-28 11:47:03,6, GSM1: Running a regular_run (PRE_RUN)
2011-06-28 11:47:03,7, GSM1: Running regular_run (modem): /var/spool/sms/regular_run/GSM1.sh PRE_RUN "/var/spool/sms/regular_run/GSM1.statfile" GSM1
2011-06-28 11:47:03,7, GSM1: Done: regular_run (modem), execution time 0 sec., status: 0 (0)
2011-06-28 11:47:03,7, GSM1: -> atz
2011-06-28 11:47:03,7, GSM1: Command is sent, waiting for the answer
2011-06-28 11:47:03,7, GSM1: <- OK
2011-06-28 11:47:03,6, GSM1: Running a regular_run POST_RUN
2011-06-28 11:47:03,7, GSM1: Running regular_run_post_run (modem): /var/spool/sms/regular_run/GSM1.sh POST_RUN "/var/spool/sms/regular_run/GSM1.statfile" GSM1
thank you
|
|
alireza976: hello
How can we use the program you mentioned?
|
alireza976: For example in mobile phone I send: *140*123456789# To operator
|
alireza976: Operating system name and version: ubuntu 10.1
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: GSM Modem
Interface: Serial
how can I load credit to my sim card that I put in my GSM modem?
|