mod_callcenter: Default the level to 0 since the new tier system will wait x second at level 1... just level 0 that will ring agent right away (if set to do so)

This commit is contained in:
Marc Olivier Chouinard committed 2010-08-25 22:00:15 -04:00
1 parent 86c9bed758
commit 6558276a83
2 files changed
+2 -2

No files matched your search

@@ -1243,7 +1243,7 @@ static switch_status_t load_config(void)
cc_tier_add(queue_name, agent, cc_tier_state2str(CC_TIER_STATE_READY), atoi(level), atoi(position));
} else {
/* default to level 1 and position 1 within the level */
cc_tier_add(queue_name, agent, cc_tier_state2str(CC_TIER_STATE_READY), 1, 1);
cc_tier_add(queue_name, agent, cc_tier_state2str(CC_TIER_STATE_READY), 0, 1);
}
} else {
if (level) {