[asterisk-users] Asterisk Dial Plan to Play Message

Russell Bryant russell at digium.com
Sat Jul 22 18:29:23 MST 2006


On Sat, 2006-07-22 at 19:38 -0500, brandon kruz wrote:
> [internal]
> exten => s,1,Answer()
> exten => s,n,Playback(custom)
> exten => s,n,Hangup()

This, by itself, does not solve the problem where you want the message
to be played back when the phone is picked up without any user
intervention.  If you're using zap phones, you can simply set this
option:

immediate=yes

Then, as soon as the phone goes off hook, the call will begin at the 's'
extension in the configured context instead of providing dialtone.

-- 
Russell Bryant
Software Developer
Digium, Inc.




More information about the asterisk-users mailing list