From a789ebb36407538eaf5941e4f4a5ce7a37d31f11 Mon Sep 17 00:00:00 2001 From: David Ruggles Date: Fri, 10 Sep 2010 13:13:16 +0000 Subject: [PATCH] Added missing documentation for ExternalIVR feature added in January 2010 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285992 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- CHANGES | 1 + doc/externalivr.txt | 14 ++++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 2f63402fbc..aea21e0354 100644 --- a/CHANGES +++ b/CHANGES @@ -174,6 +174,7 @@ Applications * Voicemail now runs the externnotify script when pollmailboxes is activated and notices a change. * Voicemail now includes rdnis within msgXXXX.txt file. + * Added 'D' command to ExternalIVR full details in doc/externalivr.txt Dialplan Functions ------------------ diff --git a/doc/externalivr.txt b/doc/externalivr.txt index 226b81c29f..d0fd34246d 100644 --- a/doc/externalivr.txt +++ b/doc/externalivr.txt @@ -117,6 +117,7 @@ S,filename A,filename H,message E,message +D,dtmf[,interval][,duration] O,option V,name=value[,name=value[,name=value]] G,name[,name[,name]] @@ -138,13 +139,18 @@ The 'A' command checks to see if there is a playable audio file with the specified name, and if so, appends it to the generator's playlist. The same playability and exception rules apply as for the 'S' command. +The 'H' command logs the supplied message to the Asterisk log, stops +the generator, hangs up the channel and terminates the ExternalIVR +application. + The 'E' command logs the supplied message to the Asterisk log, stops the generator and terminates the ExternalIVR application, but continues execution in the dialplan. -The 'H' command logs the supplied message to the Asterisk log, stops -the generator, hangs up the channel and terminates the ExternalIVR -application. +The 'D' command generates DTMF on the channel, dtmf is a string of one or +more valid DTMF digits, w can be used for a half second pause. Interval +is optional, defaults to 250 milliseconds and is the time between digits. +Duration is optional and is the duration of each digit. The 'O' command allows the child to set/clear options in the ExternalIVR() application. @@ -170,7 +176,7 @@ the options to ExternalIVR() itself: ExternalIVR(/usr/bin/foo(arg1,arg2),n) The response to the 'P' command would be: P,TIMESTAMP,/usr/bin/foo,arg1,arg2 -NOTE: This is the only way for a TCP/IP server to be able to get retrieve +NOTE: This is the only way for a TCP/IP server to be able to retrieve the arguments. The 'L' command puts a message into the Asterisk log. NOTE: This is