process_agent_dial_outcome only recognized hangup causes 17/18/19/21/34/38. When the reserved agent AOR has zero registered contacts, Asterisk hangs up immediately with cause 3 (no route) instead of a proper DialEnd/NOANSWER, so the retry listener silently ignored it and the escalation stayed dangling in ringing status.
Added causes 1, 3, 20, 22.
Tests: test_escalation_retry.py + test_asterisk_bridge_service.py + test_routing_engine.py all green.
process_agent_dial_outcome only recognized hangup causes 17/18/19/21/34/38. When the reserved agent AOR has zero registered contacts, Asterisk hangs up immediately with cause 3 (no route) instead of a proper DialEnd/NOANSWER, so the retry listener silently ignored it and the escalation stayed dangling in ringing status.
Added causes 1, 3, 20, 22.
Tests: test_escalation_retry.py + test_asterisk_bridge_service.py + test_routing_engine.py all green.
process_agent_dial_outcome only recognized hangup causes 17/18/19/21/34/38.
When the reserved agent's AOR has zero registered contacts (e.g. the
softphone dropped, or nobody ever registered), Asterisk immediately
hangs up with cause 3 (no route to destination) instead of running a
Dial() long enough to produce a DialEnd/NOANSWER at all - so the retry
listener silently ignored it and the escalation was left dangling in
'ringing' status (the agent itself still got released via the
call-ended fallback path, but no retry to the next agent was ever
attempted and the escalation record never reflects the failure).
Added causes 1 (unallocated number), 3 (no route), 20 (subscriber
absent), 22 (number changed) alongside the existing set.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
process_agent_dial_outcome only recognized hangup causes 17/18/19/21/34/38. When the reserved agent AOR has zero registered contacts, Asterisk hangs up immediately with cause 3 (no route) instead of a proper DialEnd/NOANSWER, so the retry listener silently ignored it and the escalation stayed dangling in ringing status.
Added causes 1, 3, 20, 22.
Tests: test_escalation_retry.py + test_asterisk_bridge_service.py + test_routing_engine.py all green.