From: Marc Olivier Chouinard Date: Thu, 26 Aug 2010 02:00:15 +0000 (-0400) Subject: mod_callcenter: Default the level to 0 since the new tier system will wait x second... X-Git-Tag: v1.2-rc1~459 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6558276a83af5630c7b8d40b93717009bc94d0ea;p=thirdparty%2Ffreeswitch.git 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) --- diff --git a/conf/autoload_configs/callcenter.conf.xml b/conf/autoload_configs/callcenter.conf.xml index 4da0c26b02..2e93a4e753 100644 --- a/conf/autoload_configs/callcenter.conf.xml +++ b/conf/autoload_configs/callcenter.conf.xml @@ -25,7 +25,7 @@ - + diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index 44a5622d3e..49f30de4ac 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -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) {