[asterisk-commits] mmichelson: branch 1.4 r100418 - in /branches/1.4: ./ channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 25 16:32:41 CST 2008


Author: mmichelson
Date: Fri Jan 25 16:32:41 2008
New Revision: 100418

URL: http://svn.digium.com/view/asterisk?view=rev&rev=100418
Log:
Deprecating chan_vpb. It is now preferred that users of Voicetronix products
use chan_zap in combination with their zaptel drivers.


Modified:
    branches/1.4/UPGRADE.txt
    branches/1.4/channels/chan_vpb.cc

Modified: branches/1.4/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/branches/1.4/UPGRADE.txt?view=diff&rev=100418&r1=100417&r2=100418
==============================================================================
--- branches/1.4/UPGRADE.txt (original)
+++ branches/1.4/UPGRADE.txt Fri Jan 25 16:32:41 2008
@@ -384,6 +384,11 @@
   channel and module locks (which frequently caused deadlocks). An example of
   how to do this using AEL dialplan is in doc/queues-with-callback-members.txt.
 
+The VPB channel:
+
+* chan_vpb has been deprecated in favor of using chan_zap in combination with
+  the Zaptel drivers provided by Voicetronix
+
 The G726-32 codec:
 
 * It has been determined that previous versions of Asterisk used the wrong codeword

Modified: branches/1.4/channels/chan_vpb.cc
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_vpb.cc?view=diff&rev=100418&r1=100417&r2=100418
==============================================================================
--- branches/1.4/channels/chan_vpb.cc (original)
+++ branches/1.4/channels/chan_vpb.cc Fri Jan 25 16:32:41 2008
@@ -2863,6 +2863,12 @@
 	int bal2 = -1; 
 	int bal3 = -1;
 	char * callerid = NULL;
+	static int deprecation_warning = 1;
+
+	if (deprecation_warning) {
+		ast_log(LOG_NOTICE, "chan_vpb has been deprecated in favor of chan_zap in combination with Voicetronix's Zaptel drivers\n");
+		deprecation_warning = 0;
+	}
 
 	cfg = ast_config_load(config);
 




More information about the asterisk-commits mailing list