[asterisk-users] Creating a Voicemail ...
Russell Bryant
russell at digium.com
Sun Jul 1 18:32:51 CDT 2007
Russell Bryant wrote:
> 1) Put this in your dialplan.
>
> [messages]
>
> ; Wait for 2 seconds of silence to ensure the voicemail
> ; greeting is done playing, so we can play the message.
You'll need an Answer in here, too.
exten => lighton,1,Answer
> exten => lighton,n,WaitForSilence(2000)
> exten => lighton,n,Playback(light-is-on)
> exten => lighton,n,Hangup
--
Russell Bryant
Software Engineer
Digium, Inc.
More information about the asterisk-users
mailing list