|
@@ -153,7 +153,7 @@ class AgentEventService:
|
|
|
if DETECTED_TONE == event_name and not is_agent:
|
|
|
self.push_handler.push_on_detected_tone(saas_id, flow_id, call_id, AgentScene.MANUAL, call_id)
|
|
|
|
|
|
- if PLAYBACK_STOP == event_name and is_agent:
|
|
|
+ if (CHANNEL_UNBRIDGE == event_name or PLAYBACK_STOP == event_name) and is_agent:
|
|
|
self.push_handler.push_on_ring_end(saas_id, flow_id, call_id, AgentScene.MANUAL, call_id)
|
|
|
|
|
|
|