aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-14 23:12:22 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-14 23:12:22 +0000
commitc2cea1f430eb3b13e9d8b3f689475332b7ea2ea9 (patch)
tree0a3feda0b69f414f912bed5641e3a8a2a1d47478 /rtp.c
parentae3e1ee9091365645a1cd9a2db07bb5814aa7a1e (diff)
Increase amount of time we send tones on RTP to 100ms
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2428 f38db490-d61c-443f-a65b-d21fe96a405b
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));
}