I noticed a glitch on the voicemail setting on FreePBX. A customer called us and said that they could not acces there voicemail that everytime that they entered the password it said invalid password. I did some digging and found out that when they were in there confereance room phone which is a Polycom 501 they would press the message button which would dial *97. Since the Conf phones does not have a voicemail box it would ask for the voicemail box number which they would add and then ask for the password but it would never work. I explained to them that they need to dial *98 which they replied was stupid. I guess I kind of agreed with them and wrote the following code which works great. My only problem is it keeps getting overwritten in the config files because I cant get it to stick. Every time I make a change in FreePBX and press the apply button it gets overwritten. I was hoping you could maybe incorporate it in a new release or tell me how I can make it as a permant fix. I know your a busy guy and I dont like to big people but my customer really wants this feature. Thank You
[app-vmmain]
include => app-vmmain-custom
exten => *97,1,Answer
exten => *97,2,Wait(1)
exten => *97,3,Macro(user-callerid,)
exten => *97,4,Macro(get-vmcontext,${CALLERID(num)})
exten => *97,5,MailboxExists(${CALLERID(num)}@${VMCONTEXT})
exten => *97,6,VoiceMailMain()
exten => *97,7,Macro(hangupcall,)
exten => *97,106,VoiceMailMain(${CALLERID(num)}@${VMCONTEXT})
exten => *97,107,Macro(hangupcall,)