aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_vpb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_vpb.cc')
-rw-r--r--channels/chan_vpb.cc6
1 files changed, 6 insertions, 0 deletions
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);