summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-03-14 23:12:22 +0000
committerMark Spencer <markster@digium.com>2004-03-14 23:12:22 +0000
commitf997f9f139296f7d063f88a0d8835b9980c28ba0 (patch)
tree0a3feda0b69f414f912bed5641e3a8a2a1d47478 /rtp.c
parent0852f5a93084e7c54424288c7114bf46da99a1f1 (diff)
Increase amount of time we send tones on RTP to 100ms
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtp.c b/rtp.c
index a4061779a..5015c4750 100755
--- a/rtp.c
+++ b/rtp.c
@@ -919,8 +919,8 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
if (x ==0) {
/* Clear marker bit and increment seqno */
rtpheader[0] = htonl((2 << 30) | (101 << 16) | (rtp->seqno++));
- /* Make duration 240 */
- rtpheader[3] |= htonl((240));
+ /* Make duration 800 (100ms) */
+ rtpheader[3] |= htonl((800));
/* Set the End bit for the last 3 */
rtpheader[3] |= htonl((1 << 23));
}