[asterisk-users] Asterisk Dial Plan to Play Message

Eric "ManxPower" Wieling eric at fnords.org
Sat Jul 22 18:09:41 MST 2006


brandon kruz wrote:
> youll have to decide what context this goes in
> either
> [internal]
> or [incoming]
> but i hope you can figure this out yourself
> here is an idea
> 
> [internal]
> exten => s,1,Answer()
> exten => s,n,Playback(pbx-invalid)
> exten => s,n,Hangup()

*sigh*

Playback will BY DEFAULT answer the line.  The only time you need an 
Answer() before a Playback() is if you want a Wait() between them.

Doesn't anyone read the docs for the applications they use?  For a good 
time type: show application playback

-- 
Now accepting new clients in Birmingham, Atlanta, Huntsville, 
Chattanooga, and Montgomery.



More information about the asterisk-users mailing list