FreePBX / issue-tracker

The unified FreePBX issue tracker.
https://www.freepbx.org
GNU General Public License v3.0
7 stars 1 forks source link

[new-feature]: Add support for playing voicemail greeting in early media #150

Open blazestudios97 opened 3 months ago

blazestudios97 commented 3 months ago

FreePBX Version

FreePBX 17

Feature Description

The voicemail application now supports the playback of greetings as early media with the new e option. With this option set and the channel has not been answered, greetings will use early media to be playback with the channel being answered just before the message can be recorded from the caller.

It would be worth noting that using features such as VMx Locator or the operator extension, basically anything that requires accepting DTMF during greeting playback, should not enable this option for that mailbox.

lgaetz commented 3 months ago

Testing this feature can be done by editing the file /etc/asterisk/globals_custom.conf and adding this single line:

VM_OPTS = e

Assuming the above passes QA tests, this would be a simple matter of providing a new GUI option somewhere in VM admin module, Settings tab, General tab that adds the above line to the [globals] section of extensions_additional.conf

Default behavior to remain as it is now with VM_OPTS not defined in globals, as there may be issues with long VM greetings where call goes unanswered for too long.