Is there a way to alter the caller id value from the dialplan when a new voicemail is left?
For example, I’m using ODBC to save all voicemails to the MySQL DB. When a new voicemail is left - I have the following record in the DB:
dir | callerid
/var/spool/asterisk/voicemail/101/101/INBOX | "+123456789" <+123456789>
How can I change the caller id value directly from the dialplan before the Voicemail application is called?
I tried to change ‘VM_CALLERID’, ‘VM_CIDNUM’ variables - but it’s not working.
Thanks.