DavidLiu 5 mesi fa
parent
commit
0fe064222d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/core/callcenter/agent.py

+ 1 - 1
src/core/callcenter/agent.py

@@ -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)