[asterisk-commits] oej: branch oej/silence-detection-games-1.8 r411789 - /team/oej/silence-detec...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 7 07:13:38 CDT 2014


Author: oej
Date: Mon Apr  7 07:13:30 2014
New Revision: 411789

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=411789
Log:
Use silence. 

Modified:
    team/oej/silence-detection-games-1.8/channels/chan_sip.c

Modified: team/oej/silence-detection-games-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/silence-detection-games-1.8/channels/chan_sip.c?view=diff&rev=411789&r1=411788&r2=411789
==============================================================================
--- team/oej/silence-detection-games-1.8/channels/chan_sip.c (original)
+++ team/oej/silence-detection-games-1.8/channels/chan_sip.c Mon Apr  7 07:13:30 2014
@@ -8019,7 +8019,7 @@
 		fr = &ast_null_frame;
 	}
 	if (p->sildet && fr->frametype == AST_FRAME_VOICE && ast->_state == AST_STATE_UP) {
-		ast_dsp_func(p->sildet, fr, &dsptime);
+		ast_dsp_silence(p->sildet, fr, &dsptime);
 		if (p->silencecounter == 0 && dsptime) {
 			ast_debug(8, " ++++ Silence started ++++ on chan %s\n", ast->name);
 		}




More information about the asterisk-commits mailing list