FS-10298 [mod_callcenter] Firing bridge-agent-end if we failed to bridge answered agent with member.

This commit is contained in:
Italo Rossi 2017-05-09 11:19:59 -03:00
parent 521d74dae0
commit 97cece8968
1 changed files with 1 additions and 1 deletions

View File

@ -1932,7 +1932,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
}
tiers_state = CC_TIER_STATE_READY;
if (bridged && switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CALLCENTER_EVENT) == SWITCH_STATUS_SUCCESS) {
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CALLCENTER_EVENT) == SWITCH_STATUS_SUCCESS) {
switch_channel_event_set_data(agent_channel, event);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Queue", h->queue_name);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Action", "bridge-agent-end");