mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add none as a valid callgroup/pickupgroup option. I consider it a bug that it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10440,9 +10440,15 @@ static int setup_zap(int reload)
|
||||
} else if (!strcasecmp(v->name, "group")) {
|
||||
cur_group = ast_get_group(v->value);
|
||||
} else if (!strcasecmp(v->name, "callgroup")) {
|
||||
cur_callergroup = ast_get_group(v->value);
|
||||
if (!strcasecmp(v->value, "none"))
|
||||
cur_callergroup = 0;
|
||||
else
|
||||
cur_callergroup = ast_get_group(v->value);
|
||||
} else if (!strcasecmp(v->name, "pickupgroup")) {
|
||||
cur_pickupgroup = ast_get_group(v->value);
|
||||
if (!strcasecmp(v->value, "none"))
|
||||
cur_pickupgroup = 0;
|
||||
else
|
||||
cur_pickupgroup = ast_get_group(v->value);
|
||||
} else if (!strcasecmp(v->name, "immediate")) {
|
||||
immediate = ast_true(v->value);
|
||||
} else if (!strcasecmp(v->name, "transfertobusy")) {
|
||||
|
Reference in New Issue
Block a user