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

Dan Evans devans at invores.com
Wed May 18 07:41:46 MST 2005


I made somewhat the same fix, with the same positive results, but also 
was not sure.  I just dropped the rtp->resp == 0 check:

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

Dan

Gary Reuter wrote:
> 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.
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 




More information about the asterisk-dev mailing list