I need to change the e-mail address of an extension when someone leaves in his inbox a voice message, so Asterisk shall send the e-mail to the new address instead of a fixed one.
Is it possible to establish the voicemail address based on a query rather than a fixed parameter?
I’ve been trying to figure out where to input my query, but since the voicemail works with config files (voicemail.conf which includes vm_general.inc and vm_email.inc), I can’t execute a query inside of those.
I haven’t succeeded on checking which process triggers the postfix and sendmail programs since the CLI doesn’t provide that info as well
Regards