I fixed that bug for a client a couple of years ago, but it seems to
have re-appeared in 1.2 and trunk.

The below diff was posted to one of the mantis bugs, and has fixed the
problem for me on sip calls.  If you are seeing the duplication on rtp
calls (sip, h323) try it.  If you are seeing the dups on zap channels,
the other reply in this thread looks to be on point.  If you get dups
on iax calls, I'd suggest opening a new bug report at bugs.digium.com.

-JimC

:; svn diff rtp.c 
Index: rtp.c
===================================================================
--- rtp.c       (revision 38270)
+++ rtp.c       (working copy)
@@ -663,7 +663,7 @@
        } else if (rtp->resp && rtp->dtmfduration && (duration < 
rtp->dtmfduration)) {
                f = send_dtmf(rtp);
        }
-       if (!(event_end & 0x80))
+       if ((!(event_end & 0x80)) && rtp->lasteventendseqn<seqno)
                rtp->resp = resp;
        rtp->dtmfcount = dtmftimeout;
        rtp->dtmfduration = duration;



-- 
James Cloos <[EMAIL PROTECTED]>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-biz

Reply via email to