[Asterisk-Dev] RTP rfc2833 out-of-sequence problem

Gary Reuter gary.reuter at gmail.com
Wed May 18 06:51:58 MST 2005


Hmmm...
When I change the if statement on line 476 of rtp.c, in
ast_atp_read(), as shown below, DTMF sequences so far have been much
more stable:  no doubled-digits and no dropped digits.

< if (rtp->lasteventseqn <= seqno || rtp->resp == 0 ||
(rtp->lasteventseqn >= 65530 && seqno <= 6)) {
> if ((rtp->lasteventseqn <= seqno && rtp->resp == 0) || (rtp->lasteventseqn >= 65530 && seqno <= 6)) {

Still not sure if it's a proper fix though.



More information about the asterisk-dev mailing list