https://retellai.com/?utm_source=discord&utm_medium=seo logo
Bug: Incorrect "inactivity" EndReason on long call...
# ❓・bug-report
a
Hello Retell Support Team, I am reporting a classification error regarding the end_reason for agent agent_e8afd94a0cd04cd89860fe4434 (Scenario: VB Referencia CF). The Issue: Calls are being marked with end_reason: "inactivity", which is factually incorrect. These calls have a duration of over 4 minutes, contain active two-way conversation, and successfully result in a transfer. If a call ends due to a transfer node or logic, it should not be flagged as inactivity. Identification Details: Organization ID: org_mDsWnQRksZj2fT5J Agent ID: agent_e8afd94a0cd04cd89860fe4434 Affected Call IDs: Call ID: call_d20d831dfb819517cdd2256bcb6 Actual behavior: Active conversation (> 4 mins) ending in Transfer. Current Error: Marked as Inactivity. Call ID: call_4b4c46133cc16773ac1d584bd21 Actual behavior: Active conversation (> 4 mins) ending in Transfer. Current Error: Marked as Inactivity. Request: Please investigate why the transfer event is not correctly setting the end reason. The system seems to be defaulting to "inactivity" despite clear user interaction and a transfer action taking place. We need this fixed to ensure accurate call disposition reporting.
c
hi there, do you have the detailed logs for these call recordings?
also what’s the max call duration that you have set?
Hiii!
c
from what it looks like, the transfer destination isn't a valid e.164 number, and from what the logs say, it could be yielding and not giving a response. it looks like .8166- is the max silence duration what ended it
a
Thanks for the feedback. Regarding the destination not being a valid E.164 number, I would like to point out that if the format were incorrect, no transfers would work. However, the transfers work correctly for the majority of calls and only fail in specific instances to the exact same number and agent. Since the configuration remains the same, could you please investigate why it fails intermittently? It seems like a connection or stability issue rather than a format issue. For reference, here are examples of calls that were successfully transferred to the same number/agent: call_48d93d0c830d415a0720dc8e38d call_fc3fafe42ca4653a319cccc0849 call_f65d6a90b760b117c7222d6b295 Please let me know what you find