Hello,
I am using FreePBX with Asterisk, and I am trying to disable the default prompts played before the beep in the voicemail application. Specifically, I want to bypass the following messages:
if-correct-press
digits/1
I only want to play my custom voicemail greeting (e.g., custom/segreteria-interno
) followed directly by the beep (beep.alaw
), without any intermediate prompts asking the caller to press a key.
What I’ve Tried:
- Customized Dialplan in
extensions_override_freepbx.conf
:
I tried overriding the dialplan forapp-vmblast
using the following code:
[app-vmblast]
exten => vmblast,1,NoOp(Skip confirmation messages)
exten => vmblast,n,Playback(custom/segreteria-interno)
exten => vmblast,n,Playback(beep)
exten => vmblast,n,Return()
However, this caused the call to hang up immediately, and no audio was played.
2. Modified Voicemail Settings:
I disabled review=yes
, tempgreetwarn=yes
, and other related settings in voicemail configuration files (e.g., voicemail.conf
), but the default prompts still play.
3. File Overrides:
I considered replacing the audio files for the prompts (if-correct-press
, digits/1
) with empty files, but I would prefer a proper dialplan solution to keep these prompts intact for other use cases.
Logs:
Here’s an example log showing the prompts being played:
[2025-01-26 02:49:33] VERBOSE[154850][C-00000014] file.c: <PJSIP/TIM-00000013> Playing 'if-correct-press.alaw' (language 'it')
[2025-01-26 02:49:35] VERBOSE[154850][C-00000014] file.c: <PJSIP/TIM-00000013> Playing 'digits/1.alaw' (language 'it')
[2025-01-26 02:49:39] VERBOSE[154850][C-00000014] file.c: <PJSIP/TIM-00000013> Playing 'beep.alaw' (l