Part of my dialplan for “after hours”
[code]
exten => s,1,Verbose(1, Caller ${CALLERID(all)} has entered the auto attendant)
same => n,Answer()
same => n,Set(TIMEOUT(digit)=2) ;this sets the inter-digit timer
same => n,Wait(1) ;wait 1 sec to establish audio
same => n(menustart),GotoIfTime(9:00-21:00,mon-fri,,?daygreeting:afterhoursgreeting) ;depending if it’s work time or not go to labels
same => n(afterhoursgreeting),Background(/etc/asterisk/automated-attendant-prompts/ditat_afterhour_greeting) ; after hours greeting
same => n,VoiceMail(99@default,u)
same => n(daygreeting),Background(/etc/asterisk/automated-attendant-prompts/ditat_main_greeting) ; day greeting
same => n,WaitExten(4) ; wait 4 sec max before give up
same => n,Goto(0,1) [/code]
Idea here - I want to read a message to the user and then just take straight to recording. Or let voice say “Leave your message”.
With my voicemail.conf setup:
[code][default]
; Voicemail boxes setup here!
99 => 4444, After Hours,iiii@iiiii.net[/code]
I get “The person at extension 99 is unavailable, leave message after the tone…”. I want just beep or maybe just message “Please leave a message after the tone” but without letting caller know it’s a 99. Where do I control this?