Keywords: Mode: All keywords (AND) |
Thu Aug 05, 2010 10:13
|
etn: I notice something, i was trying to parse the status file and discover something strange:
Status:^I10-08-05 12:09:03,^Irii-------------------------------------------------------------$
OT:^I10-08-05 12:09:03,^IReceiving,^Issi: -67 dBm, ber: < 0.2 %$
BT:^I10-08-05 12:08:58,^IIdle,^I^Issi: -57 dBm, ber: < 0.2 %$
SFR:^I10-08-05 12:08:58,^IIdle,^I^Issi: -69 dBm, ber: < 0.2 %$
As you can see with this invlist display from vi, there's 2 tab between Idle and Issi whereas there's only one between Receiving and ssi.
It's just a little more difficult to parse.
Etienne
|
Thu Aug 05, 2010 08:11
|
etn:
A last question,
i have one file generated per minute in /var/log/smstools/smsd_stats in addition with status file update.
Is there a way to only have status file updated ?
thanks
Etienne
Forget this question, RTFM :o)
|
Thu Aug 05, 2010 07:58
|
etn: A last question,
i have one file generated per minute in /var/log/smstools/smsd_stats in addition with status file update.
Is there a way to only have status file updated ?
thanks
Etienne
|
Wed Aug 04, 2010 17:20
|
etn: Noted, I'll delete init line.
Thanks again for your support
Etienne
|
Wed Aug 04, 2010 16:26
|
etn: In fact in only use my modem for incoming SMS so i'm not impacted with this bug.
In all case i just add the line.
My init line has been stolen from Minicom so i was absolutly not safe with it :). Your setting resolves the issue, thanks a lot, i will use the stat file in order to get the signal quality.
Do you know if i really need this init line with my modem?
Thanks
Etienne
|
Wed Aug 04, 2010 15:54
|
etn: Hello,
thanks for your fast answer :)
I already have stats = /var/log/smstools/smsd_stats in my global settings but the file only contains:
Status: 10-08-04 17:50:14, iri-------------------------------------------------------------
OT: 10-08-04 17:50:04, Idle, 0, 0, 0
BT: 10-08-04 17:50:14, Receiving, 0, 0, 0
SFR: 10-08-04 17:50:02, Idle, 0, 0, 0
In the event log i can see sometimes theses kind of line:
<- AT+CSQ +CSQ: 24,0 OK
My configuration is :
devices = OT,BT,SFR
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
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
stats = /var/log/smstools/smsd_stats
loglevel = 7
stats_interval = 60
receive_before_send = no
autosplit = 3
[queues]
SFR=/var/spool/sms/SFR
BT=/var/spool/sms/BT
OT=/var/spool/sms/OT
[provider]
SFR=33684
BT=33660
OT=33680
[SFR]
init = AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
device = /dev/ttyS2
incoming = yes
status_signal_quality = yes
status_include_counters = yes
baudrate = 115200
queues = SFR
[BT]
init = AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
device = /dev/ttyS0
incoming = yes
status_signal_quality = yes
status_include_counters = yes
baudrate = 115200
queues = BT
[OT]
init = AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
device = /dev/ttyS1
incoming = yes
status_signal_quality = yes
status_include_counters = yes
baudrate = 115200
queues = OT
is there any mistake on my conf?
Thanks
Etienne
|
Wed Aug 04, 2010 14:27
|
etn: Operating system name and version: Debian Squeeze (testing)
Version of smsd: 3.1.11-1
Smsd installed from: package repository
Name and model of a modem / phone: Modem GSM GPRS Wavecom Fastrack
Interface: serial
Hello everybody,
firstly thanks a lot to creator(s), you save me a lot of time, i was writing a perl script that made exactly the same thing than smsd and i discover your software...
My modems are working like a charm, receiving all my sms ( i use smsd mainly for receiving sms)
I have one rookie question: smsd is connected to my 3 Modem in background but i want to speak sometime directly with each modem from an external script in order to get signal quality.
It seems that smsd -C permits to do that but i don't want to interrupt smsd in background. Is it the best way ?
Thanks a lot
Etn
|
Wed Aug 04, 2010 14:13
|
etn: Description: As a Backend in order to monitor SMS delay from our SMS Gateways to customer
Usage: Private (internal users) organizations.
Number of users: undisclosed
Deployment: 1
Volume of 160-character SMs per day: 600
Hardware : Debian + 3 Modem GSM GPRS Wavecom Fastrack
|