Fix/Implement error events for non-existing files

also include a better cmd define for S command

Review: https://reviewboard.asterisk.org/r/430/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@230584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Ruggles
2009-11-20 17:28:01 +00:00
parent 3595fbb70c
commit 6e27759d33
2 changed files with 27 additions and 26 deletions

View File

@@ -103,10 +103,11 @@ The 'S' command checks to see if there is a playable audio file with
the specified name, and if so, clear's the generator's playlist and
places the file onto the list. Note that the playability check does
not take into account transcoding requirements, so it is possible for
the file to not be played even though it was found. If the generator
is not currently playing silence, then T and D events will be sent
to the child to signal the playlist interruption and notify it of
the files that will not be played.
the file to not be played even though it was found. If the file does
not exist it sends a Z response with the data element set to the file
requested. If the generator is not currently playing silence, then T
and D events will be sent to the child to signal the playlist
interruption and notify it of the files that will not be played.
The 'A' command checks to see if there is a playable audio file with
the specified name, and if so, adds it to the generator's