From 1fda861ff8520cb2f16a16f2304fe8ec460ad558 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 23 Jan 2007 04:45:43 +0000 Subject: Make 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue #8165 reported by mnicholson) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51592 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- doc/externalivr.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/externalivr.txt') diff --git a/doc/externalivr.txt b/doc/externalivr.txt index a1d4757e7..73fb5820f 100644 --- a/doc/externalivr.txt +++ b/doc/externalivr.txt @@ -55,6 +55,7 @@ A-D: DTMF event for keys A through D *: DTMF event for key * #: 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.) T: the play list was interrupted (see below) @@ -76,7 +77,9 @@ The child process can send commands on stdout in the following formats: S,filename A,filename H,message +E,message O,option +V,name=value 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 @@ -93,6 +96,9 @@ the specified name, and if so, adds it to the generator's playlist. The same playability and exception rules apply as for the 'S' command. +The 'E' command stops the generator and continues execution in the dialplan, +and logs the supplied message to the Asterisk log. + The 'H' command stops the generator and hangs up the channel, and logs the supplied message to the Asterisk log. @@ -102,6 +108,8 @@ ExternalIVR() application. The supported options are: Automatically interrupt and clear the playlist upon reception of DTMF input. +The 'V' command sets the specified channel variable to the specified value. + Errors ------ -- cgit v1.2.3