[Asterisk-cvs] asterisk/channels chan_vpb.c,1.100,1.101

bkramer bkramer
Tue Nov 1 20:51:06 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv18111

Modified Files:
	chan_vpb.c 
Log Message:
/ fix to for compiling with both 2.4.x and 3.x vpb-drivers


Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- chan_vpb.c	2 Nov 2005 01:02:02 -0000	1.100
+++ chan_vpb.c	2 Nov 2005 01:43:03 -0000	1.101
@@ -1518,7 +1518,11 @@
 			vpb_echo_canc_enable();
 			ast_log(LOG_NOTICE, "Voicetronix echo cancellation ON\n");
 			if (ec_supp_threshold > -1){
+				#ifdef VPB_PRI
 				vpb_echo_canc_set_sup_thresh(0,(short *)&ec_supp_threshold);
+				#else
+				vpb_echo_canc_set_sup_thresh((short *)&ec_supp_threshold);
+				#endif
 				ast_log(LOG_NOTICE, "Voicetronix EC Sup Thres set\n");
 			}
 		}




More information about the svn-commits mailing list