From: Mark Michelson Date: Fri, 25 Jan 2008 22:32:41 +0000 (+0000) Subject: Deprecating chan_vpb. It is now preferred that users of Voicetronix products X-Git-Tag: 1.4.18~12^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53859e0bfc8cae8e5cb1774378b4374cbeb3a0cd;p=thirdparty%2Fasterisk.git Deprecating chan_vpb. It is now preferred that users of Voicetronix products use chan_zap in combination with their zaptel drivers. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100418 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/UPGRADE.txt b/UPGRADE.txt index 3f6e0aa1e5..a6ec2838bc 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -384,6 +384,11 @@ The Agent channel: 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 diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc index c12af7ccf0..223eae02f6 100644 --- a/channels/chan_vpb.cc +++ b/channels/chan_vpb.cc @@ -2863,6 +2863,12 @@ int load_module() 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);