diff options
author | Jonathan Rose <jrose@digium.com> | 2011-12-09 20:27:03 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2011-12-09 20:27:03 +0000 |
commit | 518ccb67066cb659bd9760c093c0e5603401659a (patch) | |
tree | a772514c6d14d23ce63ef76bff2a6cea39326b6d /include | |
parent | 01d3fd2167cba91a2a56902b082153f08b921248 (diff) |
Remove autojump extensions from SayUnixTime, make an option to perform automatic jumps.
When a caller sends DTMF while the SayUnixTime application is saying the time, The call
would jump to the next extension much like it does during Background(). This patch adds
option 'j' to SayUnixTime which when used employs the old behavior. Also, this patch
allows arguments to sayunixtime to not be used as empty strings in the case of something
like 'sayunixtime(,,,j)' or 'sayunixtime(,,pattern).
(closes issue ASTERISK-16675)
Reported by: jlpedrosa
Patches:
patch_SayUnixTime_noJump.patch uploaded by jlpedrosa (license 5959)
Review: https://reviewboard.asterisk.org/r/956/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@347866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h index 4b0325101..e7817b377 100644 --- a/include/asterisk/file.h +++ b/include/asterisk/file.h @@ -44,6 +44,7 @@ struct ast_format; #define AST_MAX_FORMATS 10 /*! Convenient for waiting */ +#define AST_DIGIT_NONE "" #define AST_DIGIT_ANY "0123456789#*ABCD" #define AST_DIGIT_ANYNUM "0123456789" |