I’m doing for my company, a management alert by phone if something goes wrong on a server (with nagios).
I use the command “originate” to call, and also with the outgoing files “.call”
I would, if the user declines the call, that my program call another person, for example with a “.call” file.
The worry is in the Asterisk’s CLI, if the person does not answer or declined, the call does not go in my [context] in the extensions.conf, and so I can not have access to the status DIALSTATUS.
Is there any way to know the status, or force the .call file to go in the [contexte] and then blocked at the Dial lines ?