Compare commits

...

2 Commits

Author SHA1 Message Date
Troy Denton dd50384302
Merge 946c4ee50c into 96de8fd377 2025-01-16 16:15:41 +00:00
Troy Denton 946c4ee50c add delay after originator_cancel to prevent erratic behaviour 2020-08-16 21:10:48 -05:00
1 changed files with 3 additions and 0 deletions

View File

@ -2141,7 +2141,10 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
switch (cause) {
/* When we hang-up agents that did not answer in ring-all strategy */
case SWITCH_CAUSE_LOSE_RACE:
break;
/* originator cancel can happen when agent changes state during offering*/
case SWITCH_CAUSE_ORIGINATOR_CANCEL:
delay_next_agent_call = (h->busy_delay_time > delay_next_agent_call? h->busy_delay_time : delay_next_agent_call);
break;
/* Busy: Do Not Disturb, Circuit congestion */
case SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION: