From: Michael Jerris Date: Thu, 20 Nov 2008 23:42:39 +0000 (+0000) Subject: FSCORE-213 add support for "F" for flash in dtmf X-Git-Tag: v1.0.2~442 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca32bb9e10823a8e37ce553eaf55931e2d18496;p=thirdparty%2Ffreeswitch.git FSCORE-213 add support for "F" for flash in dtmf git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10486 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 99fbca0974..b3e136a138 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -211,7 +211,7 @@ SWITCH_DECLARE(unsigned char) switch_char_to_rfc2833(char key); \param key the key to test \return TRUE or FALSE */ -#define is_dtmf(key) ((key > 47 && key < 58) || (key > 64 && key < 69) || (key > 96 && key < 101) || key == 35 || key == 42 || key == 87 || key == 119) +#define is_dtmf(key) ((key > 47 && key < 58) || (key > 64 && key < 69) || (key > 96 && key < 101) || key == 35 || key == 42 || key == 87 || key == 119 || key == 70) #define end_of(_s) *(*_s == '\0' ? _s : _s + strlen(_s) - 1) #define end_of_p(_s) (*_s == '\0' ? _s : _s + strlen(_s) - 1)