diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-25 22:32:41 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-25 22:32:41 +0000 |
commit | 74e414e5f2dbf490e4c2f67ce638e0ec9e4ad0ae (patch) | |
tree | d7000381416ead8b8d98b5c32c153c6ad618ba33 | |
parent | 68cb626f3f4477118415e8d46d9129afc60fc798 (diff) |
Deprecating chan_vpb. It is now preferred that users of Voicetronix products
use chan_zap in combination with their zaptel drivers.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100418 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | UPGRADE.txt | 5 | ||||
-rw-r--r-- | channels/chan_vpb.cc | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt index 3f6e0aa1e..a6ec2838b 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 c12af7ccf..223eae02f 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); |