No code yet, just ideas.
A Zabbix remote action calls a script that generats an asterisk call file that will initiate the call. This can be done by dropping call files into /var/spool/asterisk/outgoing
Needed information to create a call:
Next, the call starts and it needs to be scripted. This can be done with AGI, AEL, or good 'ol extensions. During the call script, it is necessary to be able to act in based on the discussed anticipated outcomes from the call.
A few things to anticipate.
Based on the above:
Use asterisk 1.4 and the archive=yes option so that we have a file created after the call completes and we can read the results of the phone call. Another option would be to use asterisk manager.
Suggestions welcome.