mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
remove remaining Zaptel references in various places
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1620,16 +1620,6 @@ static void pbx_load_users(void)
|
||||
dahdichan = ast_variable_retrieve(cfg, cat, "dahdichan");
|
||||
if (!dahdichan)
|
||||
dahdichan = ast_variable_retrieve(cfg, "general", "dahdichan");
|
||||
if (!dahdichan) {
|
||||
/* no dahdichan, but look for zapchan too */
|
||||
dahdichan = ast_variable_retrieve(cfg, cat, "zapchan");
|
||||
if (!dahdichan) {
|
||||
dahdichan = ast_variable_retrieve(cfg, "general", "zapchan");
|
||||
}
|
||||
if (!ast_strlen_zero(dahdichan)) {
|
||||
ast_log(LOG_WARNING, "Use of zapchan in users.conf is deprecated. Please update configuration to use dahdichan instead.\n");
|
||||
}
|
||||
}
|
||||
if (!ast_strlen_zero(dahdichan)) {
|
||||
ast_copy_string(dahdicopy, dahdichan, sizeof(dahdicopy));
|
||||
c = dahdicopy;
|
||||
|
Reference in New Issue
Block a user