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");
}
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs