diff options
author | diruggles <diruggles@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-10 13:13:16 +0000 |
---|---|---|
committer | diruggles <diruggles@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-10 13:13:16 +0000 |
commit | 2a17fa3c03daa68a753b8f1777976cb503306014 (patch) | |
tree | 1be05d1dd697f762cbc277b7b7108675e8a8ac65 | |
parent | 165b4f1cdfecd296afb2e717eb33b07dabef9f12 (diff) |
Added missing documentation for ExternalIVR feature added in January 2010
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@285992 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | doc/externalivr.txt | 14 |
2 files changed, 11 insertions, 4 deletions
@@ -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 226b81c29..d0fd34246 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 |