Merge 946c4ee50c11bb83ff5b71ffa4fc95163c28f735 into 3b58ebc5f309708bde0ad26eef73e606144792f6

This commit is contained in:
Troy Denton 2025-01-21 00:15:14 +00:00 committed by GitHub
commit 15ad4da545
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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