I am aware that the voicemail application syntax has chnaged. Can you please help me with new syntax to get old behavior.
In my extensionss.conf I used to have this line.
exten => 8,1,VoiceMail
When I called into asterisk the prompt would ask for a voicemail box number, I would dial the number and then be able to leave a voicemail in that box.
Now with this same line this no longer happens. Now the mail box number is not able to be “found”.
No entry in voicemail config file for ‘1001’
With an example I found this works but not as I want.
exten => 8,1,VoiceMail(1001@cj)
But I can only leave a message in box 1001. I want to be able to provide a box from a list of 10 different boxes for the context. For example these from voicemail.conf
1001 => 9999,cj,email@example.com
1002 => 9999,cj,firstname.lastname@example.org
1003 => 9999,cj,email@example.com
If any one can help this is greatly appreciated.