From baee8b9a549b3d5d68958ba961a65ca4d6e2bbd8 Mon Sep 17 00:00:00 2001 From: David Ruggles Date: Tue, 10 Nov 2009 22:01:50 +0000 Subject: Merged revisions 229355 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r229355 | diruggles | 2009-11-10 16:45:15 -0500 (Tue, 10 Nov 2009) | 9 lines Fix ExternalIVR Documentation Remove documentation for event that doesn't function (closes issue #16220) Reported by: thedavidfactor Patches: externalivr.txt.20091110.1622.patch uploaded by thedavidfactor (license 903) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@229356 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- doc/externalivr.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'doc/externalivr.txt') diff --git a/doc/externalivr.txt b/doc/externalivr.txt index bac315b83..cc61c6997 100644 --- a/doc/externalivr.txt +++ b/doc/externalivr.txt @@ -30,7 +30,7 @@ use the 'L' command as a replacement for this. The application will also create an audio generator to play audio to the channel, and will start playing silence. When your application wants to send audio to the channel, it can send a command (see below) -to add file(s) to the generator's playlist. The generator will then +to add a file to the generator's playlist. The generator will then work its way through the list, playing each file in turn until it either runs out of files to play, the channel is hung up, or a command is received to clear the list and start with a new file. At any time, @@ -74,8 +74,7 @@ A-D: DTMF event for keys A through D #: DTMF event for key # H: the channel was hung up by the connected party E: the script requested an exit -Z: the previous command was unable to be executed (file does not -exist, etc.) +Z: the previous command was unable to be executed T: the play list was interrupted (see S command below) D: a file was dropped from the play list due to interruption (the data element will be the dropped file name) NOTE: this tag conflicts @@ -113,11 +112,10 @@ 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 file cannot -be found, a 'Z' event (see above) will be sent to the child. 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 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 -- cgit v1.2.3