Podrška #14444
Zatvoren
http://lists.digium.com/pipermail/asterisk-dev/2003-March/000183.html
On Sun, 2003-03-30 at 12:59, Brian Capouch wrote:
I hope this doesn't sound dumb. . . I would like to try to send a
command to asterisk (or otherwise invoke an instance of asterisk) to
make a phone call to a given number, and then play a voice file.
What I'm after is the ability to have my "systems up" monitoring
apparatus make some calls in case there are problems. Ideally, I could
choose the message based on input from the monitoring program.
Is this going to be heavy-duty programming, or might there be an example
of such out there somewhere?
AGI is for dealing with inprogress calls. Construct a sample.call file
to call out and play the message you need. sample.call is in the
asterisk cvs checkout. You would want something that looks like below.
--Sample.call--
Channel: Zap/g1/9XXXXXX
MaxRetries: 5
RetryTime: 60
WaitTime: 30
Application: Play
Data: DNS-down
---------------
- Naslov promijenjeno iz asterisk agi ruby u asterisk agi ruby, sample.call - asterisk poziv iz externe aplikacije
- Naslov promijenjeno iz asterisk agi ruby, sample.call - asterisk poziv iz externe aplikacije u adhearison: asterisk agi ruby, sample.call - asterisk poziv iz externe aplikacije
- Naslov promijenjeno iz adhearison: asterisk agi ruby, sample.call - asterisk poziv iz externe aplikacije u Adhearsion: asterisk agi ruby, sample.call - asterisk poziv iz externe aplikacije
- Status promijenjeno iz Dodijeljeno u Odbačeno
Također dostupno kao Atom
PDF