Asterisk Project : Application_Playback

Asterisk Project : Application_Playback This page last changed on Mar 30, 2011 by wikibot. # Playback() ### Synopsis Play a file. ### Description Plays back given filenames (do not put extension of wav/alaw etc). The playback command answer the channel if no options are specified. If the file is non-existant it will fail This application sets the following channel variable upon completion: `PLAYBACKSTATUS` - The status of the playback attempt as a text string. `SUCCESS` `FAILED` See Also: Background (application) – for playing sound files that are interruptible WaitExten (application) – wait for digits from caller, optionally play music on hold ### Syntax
    Playback(filename[&filename2[&...]][,options])
##### Arguments `filenames` `filename` `filename2` `options` - Comma separated list of options `skip` - Do not play if not answered `noanswer` - Playback without answering, otherwise the channel will be answered before the sound is played. Not all channel types support playing messages while still on hook.Not all channel types support playing messages while still on hook. ### See Also ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42