aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-25 16:01:56 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-25 16:01:56 +0000
commitcc7c7c90e0da61dfcc0fad5f3e4c252dfe838728 (patch)
treeaf55d413c9a277153a91393866cea2b66561992d /channel.c
parent5ab3234353ec730154f81651f131ad577d246c94 (diff)
Increase length of DTMF tones in SIP et all, in-band
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2241 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/channel.c b/channel.c
index 8a156df96..b05ea7589 100755
--- a/channel.c
+++ b/channel.c
@@ -1272,22 +1272,22 @@ static int do_senddigit(struct ast_channel *chan, char digit)
* 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')