[asterisk-commits] file: branch group/vldtmf r40484 - /team/group/vldtmf/rtp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Aug 18 20:08:39 MST 2006


Author: file
Date: Fri Aug 18 22:08:39 2006
New Revision: 40484

URL: http://svn.digium.com/view/asterisk?rev=40484&view=rev
Log:
Properly put in the samples

Modified:
    team/group/vldtmf/rtp.c

Modified: team/group/vldtmf/rtp.c
URL: http://svn.digium.com/view/asterisk/team/group/vldtmf/rtp.c?rev=40484&r1=40483&r2=40484&view=diff
==============================================================================
--- team/group/vldtmf/rtp.c (original)
+++ team/group/vldtmf/rtp.c Fri Aug 18 22:08:39 2006
@@ -670,7 +670,7 @@
 			f = send_dtmf(rtp, AST_FRAME_DTMF_BEGIN);
 	} else if (event_end & 0x80 && rtp->lasteventendseqn != seqno && rtp->resp) {
 		f = send_dtmf(rtp, AST_FRAME_DTMF_END);
-		f->samples = duration;
+		f->samples = duration * 8;
 		rtp->resp = 0;
 		rtp->lasteventendseqn = seqno;
 	}



More information about the asterisk-commits mailing list