Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv3239
Modified Files:
rtp.c
Log Message:
ensure that sequential DTMF sent via RTP has some 'dead air' between digits
(bug #3675)
Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- rtp.c 6 Apr 2005 03:43:59 -0000 1.122
+++ rtp.c 20 Apr 2005 16:46:25 -0000 1.123
@@ -1167,11 +1167,12 @@
rtpheader[3] |= htonl((1 << 23));
}
}
- /* Increment the digit timestamp by 100ms, to ensure that digits
+ /* Increment the digit timestamp by 120ms, to ensure that digits
sent sequentially with no intervening non-digit packets do not
- get sent with the same timestamp.
+ get sent with the same timestamp, and that sequential digits
+ have some 'dead air' in between them
*/
- rtp->lastdigitts += 800;
+ rtp->lastdigitts += 960;
return 0;
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs