Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv6604
Modified Files:
rtp.c
Log Message:
Revert silly "sipura fix" which breaks RFC compatibility (bug #4549)
Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- rtp.c 18 Jun 2005 16:46:44 -0000 1.135
+++ rtp.c 18 Jun 2005 17:13:01 -0000 1.136
@@ -1096,7 +1096,11 @@
rtpheader[0] = htonl((2 << 30) | (payload << 16) |
(rtp->seqno++));
/* For the last three packets, set the duration and the end bit
*/
if (x == 2) {
+#if 0
+ /* No, this is wrong... Do not increment lastdigitts,
that's not according
+ to the RFC, as best we can determine */
rtp->lastdigitts++; /* or else the SPA3000 will click
instead of beeping... */
+#endif
rtpheader[1] = htonl(rtp->lastdigitts);
/* Make duration 800 (100ms) */
rtpheader[3] |= htonl((800));
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs