[Asterisk-cvs] asterisk channel.c,1.76,1.77
markster at lists.digium.com
markster at lists.digium.com
Wed Feb 25 11:13:06 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv1243
Modified Files:
channel.c
Log Message:
Increase length of DTMF tones in SIP et all, in-band
Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- channel.c 20 Feb 2004 20:00:49 -0000 1.76
+++ channel.c 25 Feb 2004 16:01:56 -0000 1.77
@@ -1272,22 +1272,22 @@
* it by doing our own generation. (PM2002)
*/
static const char* dtmf_tones[] = {
- "!941+1336/50,!0/50", /* 0 */
- "!697+1209/50,!0/50", /* 1 */
- "!697+1336/50,!0/50", /* 2 */
- "!697+1477/50,!0/50", /* 3 */
- "!770+1209/50,!0/50", /* 4 */
- "!770+1336/50,!0/50", /* 5 */
- "!770+1477/50,!0/50", /* 6 */
- "!852+1209/50,!0/50", /* 7 */
- "!852+1336/50,!0/50", /* 8 */
- "!852+1477/50,!0/50", /* 9 */
- "!697+1633/50,!0/50", /* A */
- "!770+1633/50,!0/50", /* B */
- "!852+1633/50,!0/50", /* C */
- "!941+1633/50,!0/50", /* D */
- "!941+1209/50,!0/50", /* * */
- "!941+1477/50,!0/50" }; /* # */
+ "!941+1336/100,!0/100", /* 0 */
+ "!697+1209/100,!0/100", /* 1 */
+ "!697+1336/100,!0/100", /* 2 */
+ "!697+1477/100,!0/100", /* 3 */
+ "!770+1209/100,!0/100", /* 4 */
+ "!770+1336/100,!0/100", /* 5 */
+ "!770+1477/100,!0/100", /* 6 */
+ "!852+1209/100,!0/100", /* 7 */
+ "!852+1336/100,!0/100", /* 8 */
+ "!852+1477/100,!0/100", /* 9 */
+ "!697+1633/100,!0/100", /* A */
+ "!770+1633/100,!0/100", /* B */
+ "!852+1633/100,!0/100", /* C */
+ "!941+1633/100,!0/100", /* D */
+ "!941+1209/100,!0/100", /* * */
+ "!941+1477/100,!0/100" }; /* # */
if (digit >= '0' && digit <='9')
ast_playtones_start(chan,0,dtmf_tones[digit-'0'], 0);
else if (digit >= 'A' && digit <= 'D')
More information about the svn-commits
mailing list