mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 11:53:16 +00:00
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:
parent
86c9bed758
commit
6558276a83
@ -25,7 +25,7 @@
|
|||||||
<!--<agent name="1000@default" type="callback" contact="[call_timeout=10]user/1000@default" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" />-->
|
<!--<agent name="1000@default" type="callback" contact="[call_timeout=10]user/1000@default" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" />-->
|
||||||
</agents>
|
</agents>
|
||||||
<tiers>
|
<tiers>
|
||||||
<!-- if no level or position is provided, they will default to 1. You should do this to keep db value on restart -->
|
<!-- if no level or position is provided, they will default to 0. You should do this to keep db value on restart -->
|
||||||
<!-- <tier agent="1000@default" queue="support@default" level="0" position="1"/> -->
|
<!-- <tier agent="1000@default" queue="support@default" level="0" position="1"/> -->
|
||||||
</tiers>
|
</tiers>
|
||||||
|
|
||||||
|
@ -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));
|
cc_tier_add(queue_name, agent, cc_tier_state2str(CC_TIER_STATE_READY), atoi(level), atoi(position));
|
||||||
} else {
|
} else {
|
||||||
/* default to level 1 and position 1 within the level */
|
/* 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 {
|
} else {
|
||||||
if (level) {
|
if (level) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user