Keywords: Mode: All keywords (AND) |
Wed Mar 16, 2011 20:46
|
einari: Hi, and sorry for a late reply.
No, this issue has been resolved successfully :-)
What was confusing me was the docs... when I read them, they seemed to imply that the use of the 'voicecall' parameter should have a body like:
TONE: TIME: 15 2
Where in fact, it was sufficient for me to use:
TIME: 20
to get my results.
But, I'm a happy camper now, and next step for me is to write a bit around the event handler, and work a bit with the statistics provided :-)
So, I'm a happy camper, and thank you very much for your assistance in this matter.
And thanks for following through as well.
Cheers,
--
EinarI
|
Fri Feb 25, 2011 22:48
|
einari: Ok... I found out a solution. Not quite clear, and it seems I just missed trying that one.
I changed the "spoolfile" to have contents like:
To: +XXXXXXXX
Voicecall: yes
TIME: 10
That is, I changed the content from: "TONE: TIME: 5 2 #" to simply: "TIME: 10"
and that seems to have worked :-)
Thanks again :-)
--
EinarI
|
Fri Feb 25, 2011 22:11
|
einari: Yes, I run the smsd with the -t switch, and I press CTRL-C in between, so yes.
When I had no explicit settings for "voicecall*" (voicecall_cpas / voicecall_clcc), the timeout didn't work either.
I tried the following in minicom (when smsd was not running)
ATDTxxxxxxxxxx;
and the phone rang. I then pressed <enter> and I got a hangup, in minicom. If this helps?
Thanks for a speedy answer for a smstool newbie :-)
Cheers, and thanks,
--
EinarI
|
Fri Feb 25, 2011 20:59
|
einari: Operating system name and version: Linux, Debian Squeeze
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Siemens Cinerion MC55i
Interface: rs232 serial connection over a usb<->serial dongle
Hi... I apologize in advance if I am asking a question that has aldready had an answer. If so, my google-fu is not strong enough.
Is there a way to configure smstools3 (via Voicecall parameter) to time out, and hang up after X many seconds, regardless if someone answers or not?
The idea being: We are running monitoring system at work, Nagios. And we have people on call 24/7. There are certain events that we want to notify, not only with sms, but also with a phone call. And in order to reach as many people as we can in as short a span of time as possible, I have the idea of: send sms out, then phone the person in question - letting the phone ring for 10-15 seconds, hang up, and move to the next recipient. (For our settings, this would be sufficient.)
I have been playing a bit around with the Voicecall parameters, currently with:
voicecall_cpas = yes
voicecall_ignore_modem_response = yes
voicecall_hangup_ath = yes
(using the defaults, with no explicit settings made no changes.)
The "spool-file" I created looks like:
To: +XXXXXXXXX
Voicecall: yes
TONE: TIME: 5 2 #
But no go. I haven't found out yet, how I can get my modem to hangup while dialing, after a timeout.
Am I missing something obvious?
Cheers, and thanks in advance.
|