diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-24 19:03:16 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-24 19:03:16 +0000 |
commit | e3343b3289e878c143ae7952edfec370dd065a9d (patch) | |
tree | 9eefe7fc138bb94d7fbf65ba50cf30aa241559ad /include/asterisk/channel.h | |
parent | 27f1a378b7221e31f52548f9a307f1637cb65ea8 (diff) |
Merged revisions 61781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61781 | russell | 2007-04-24 14:00:06 -0500 (Tue, 24 Apr 2007) | 6 lines
Improve DTMF handling in ast_read() even more in response to a discussion on
the asterisk-dev mailing list. I changed the enforced minimum length of a
digit from 100ms to 80ms. Furthermore, I made it now enforce a gap of 45ms in
between digits. These values are not configurable in a configuration file
right now, but they can be easily changed near the top of main/channel.c.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61782 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 6fa71ad11..6b1ab4a83 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -487,7 +487,7 @@ struct ast_channel { char emulate_dtmf_digit; /*!< Digit being emulated */ unsigned int emulate_dtmf_duration; /*!< Number of ms left to emulate DTMF for */ - struct timeval dtmf_begin_tv; /*!< The time that an in process digit began */ + struct timeval dtmf_tv; /*!< The time that an in process digit began, or the last digit ended */ /*! \brief Data stores on the channel */ AST_LIST_HEAD_NOLOCK(datastores, ast_datastore) datastores; |