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 /channels/chan_vpb.cc | |
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
Diffstat (limited to 'channels/chan_vpb.cc')
-rw-r--r-- | channels/chan_vpb.cc | 6 |
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); |