--- main/rtp.c.orig 2008-01-27 15:59:53.000000000 -0600 +++ main/rtp.c 2008-02-05 12:23:54.015426568 -0600 @@ -1237,7 +1237,9 @@ /* Do not schedule RR if RTCP isn't run */ if (rtp->rtcp && rtp->rtcp->them.sin_addr.s_addr && rtp->rtcp->schedid < 1) { /* Schedule transmission of Receiver Report */ + /* XXX interferes with Cisco 7940 jitter buffer rtp->rtcp->schedid = ast_sched_add(rtp->sched, ast_rtcp_calc_interval(rtp), ast_rtcp_write, rtp); + */ } if ( (int)rtp->lastrxseqno - (int)seqno > 100) /* if so it would indicate that the sender cycled; allow for misordering */ rtp->cycles += RTP_SEQ_MOD; @@ -2671,9 +2673,11 @@ } else { rtp->txcount++; rtp->txoctetcount +=(res - hdrlen); - + + /* XXX interferes with Cisco 7940 jitterbuffer if (rtp->rtcp && rtp->rtcp->schedid < 1) rtp->rtcp->schedid = ast_sched_add(rtp->sched, ast_rtcp_calc_interval(rtp), ast_rtcp_write, rtp); + */ } if (rtp_debug_test_addr(&rtp->them))