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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Aug 18 20:36:40 MST 2006


Author: file
Date: Fri Aug 18 22:36:40 2006
New Revision: 40487

URL: http://svn.digium.com/view/asterisk?rev=40487&view=rev
Log:
Moooooooo it works!

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=40487&r1=40486&r2=40487&view=diff
==============================================================================
--- team/group/vldtmf/rtp.c (original)
+++ team/group/vldtmf/rtp.c Fri Aug 18 22:36:40 2006
@@ -670,7 +670,8 @@
 			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 * 8;
+		ast_log(LOG_NOTICE, "Duration=%d\n", duration);
+		f->samples = duration;
 		rtp->resp = 0;
 		rtp->lasteventendseqn = seqno;
 	}



More information about the asterisk-commits mailing list