Index: rtp.c =================================================================== --- rtp.c (revision 8784) +++ rtp.c (working copy) @@ -1161,7 +1161,7 @@ /* Clear marker bit and set seqno */ 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 (x >= 1) { #if 0 /* No, this is wrong... Do not increment lastdigitts, that's not according to the RFC, as best we can determine */ @@ -1171,7 +1171,7 @@ /* Make duration 800 (100ms) */ rtpheader[3] |= htonl((800)); /* Set the End bit */ - rtpheader[3] |= htonl((1 << 23)); + /* rtpheader[3] |= htonl((1 << 23)); */ } } /* Increment the digit timestamp by 120ms, to ensure that digits