Feature Request: Request VM Prefix set in FreePBX

We're using FOP2 2.20 on Asterisk 1.4 with Fop2Admin / FreePBX.

I've been wondering why our transfer-to-voicemail feature was failing. It turns out that the autoconfig-buttons-freepbx.sh script has the default direct-to-VM prefix hard-coded as "*" and thus creates button-file entries such as "extenvoicemail=*<EXTEN>@default'. We changed our prefix and so this is incorrect for our environment.

Would it be possible to update the script to include a check for the "Direct Dial Voicemail Prefix" value that's stored in the General Settings in FreePBX?

I noticed that someone else had a similar issue last year: View Post 528 .

In case it helps, the value is stored in extensions_additional.conf - the key is "VM_PREFIX".
It's also stored in the DB in asterisk.globals with the key "VM_PREFIX".

Thanks so much - we really appreciate the hard work you've put into FOP2 !!

Comments

  • Thanks for the suggestion. I will see if I can get the prefix from the globals table and update the script, in the meantime it is not hard to patch the script with your actual prefix number, I assume you already did this.

    There is another update that I have made when checking the version, with a fix suggested by another user. I will post again with the updated script or diff file once I update it..

    Best regards,
Sign In or Register to comment.