I am using FreePBX 2.0.1, and I am wondering if the following is possible…
I have an extension 709 (IAX2)
I want the voicemail box number for this extension to be 9
Currently, when I click apply, the perl script that runs to populate extensions_additional.conf automatically gives the voicemail box number 709…
exten => 709,1,Macro(exten-vm,709,709)
However, I notice that the macro exten-vm accepts two parameters, first being the extension? and the second being the voicemail box?
So I can modify extensions_additional.conf to…
exten => 709,1,Macro(exten-vm,709,9)
but of course, if I change an extension, this gets removed.
I have also tried modifying extensions_custom.conf, but it never gets there…
How can I change it so that the voicemail box number is different?
I have thought of adding a new field to extensions table in asterisk mysql database and modifying the perl script… BUT… given that there are two parameters for exten-vm, there must allready be a way to do this?
If so… how can this be done?