I would like to automate the alerting of our on-call duty with Asterisk.
As it runs so far:
The monitoring system (Icinga 2) sends an email to a mailbox which is checked periodically by an external service provider. If an email is received, the person currently on standby is determined and called. This person confirms that he or she is ready to take over the job. Usually he or she does not receive any information about the content of the incident report.
Even if this approach works in principle, it has its disadvantages:
- The service is not cheap.
- There is a delay between the alarm in monitoring and the call to the technician. (0:10 – 1:00h)
- Human errors ( sporadic ), e.g: call of the wrong person, or even the absence of the call
As it should be:
- The monitoring system calls a number directly. (This may even be the same number every time, in which case we redirect the call from there)
- Waiting for call acceptance
- Playing a record / jingle to signal the called party that the connection has been established.
- Waiting for a PIN - DTMF code to be entered to confirm that the incident has been accepted and the call has not been answered by an answering machine.
- Optional: Confirmation whether the PIN has been accepted
- Optional: Possibility to re-enter the PIN
- Ending the call
- Returns a status (code) whether the incident has been accepted.
What I have so far:
- An Asterisk installation
- A successful registration with the Sip Provider
I have already read/viewed some tutorials, but they have a different objective and my request differs from that.