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);