- use correct value for timestamp

This commit is contained in:
MelwareDE 2006-06-25 17:59:17 +00:00
parent 1d00abbdfc
commit 333d4bffdc
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ int capi_write_rtp(struct ast_channel *c, struct ast_frame *f)
rtpheader = (unsigned int *)buf;
rtpheader[1] = htonl(i->timestamp);
i->timestamp += (len - RTP_HEADER_SIZE);
i->timestamp += CAPI_MAX_B3_BLOCK_SIZE;
if (len > (CAPI_MAX_B3_BLOCK_SIZE + RTP_HEADER_SIZE)) {
cc_verbose(4, 0, VERBOSE_PREFIX_4 "%s: rtp write data: frame too big (len = %d).\n",