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.

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to