[asterisk-addons-commits] mnicholson: branch mnicholson/chan-mobile-refactor r789 - /team/mnicholson/ch...

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Fri Feb 20 17:00:10 CST 2009


Author: mnicholson
Date: Fri Feb 20 17:00:09 2009
New Revision: 789

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=789
Log:
fix usage of ast_dsp_process in mbl_read

Modified:
    team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c

Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=789&r1=788&r2=789
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Fri Feb 20 17:00:09 2009
@@ -971,13 +971,7 @@
 		}
 	}
 
-	f = ast_dsp_process(0, pvt->dsp, &pvt->fr);
-	if (f && (f->frametype == AST_FRAME_DTMF_END)) {
-		pvt->fr.frametype = AST_FRAME_DTMF_END;
-		pvt->fr.subclass = f->subclass;
-	}
-
-	return &pvt->fr;
+	return ast_dsp_process(ast, pvt->dsp, &pvt->fr);
 
 }
 




More information about the asterisk-addons-commits mailing list