From 98c830f3ae1b60def4da946f658fce7c47f2e292 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 15 Jul 2025 14:52:19 +0530 Subject: [PATCH 1/3] fix: set status correctly (cherry picked from commit 2f34fdd40917bb084e0d648d03b75791ce2c7689) --- crm/integrations/exotel/handler.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/crm/integrations/exotel/handler.py b/crm/integrations/exotel/handler.py index 8809be6a..e070cbce 100644 --- a/crm/integrations/exotel/handler.py +++ b/crm/integrations/exotel/handler.py @@ -242,19 +242,18 @@ def get_call_log_status(call_payload, direction="inbound"): elif status == "failed": return "Failed" - status = call_payload.get("DialCallStatus") call_type = call_payload.get("CallType") - dial_call_status = call_payload.get("DialCallStatus") + status = call_payload.get("DialCallStatus") or call_payload.get("Status") - if call_type == "incomplete" and dial_call_status == "no-answer": + if call_type == "incomplete" and status == "no-answer": status = "No Answer" - elif call_type == "client-hangup" and dial_call_status == "canceled": + elif call_type == "client-hangup" and status == "canceled": status = "Canceled" - elif call_type == "incomplete" and dial_call_status == "failed": + elif call_type == "incomplete" and status == "failed": status = "Failed" elif call_type == "completed": status = "Completed" - elif dial_call_status == "busy": + elif status == "busy": status = "Ringing" return status From 6d164cdac49c9b8a0d15d62430b08acc6110952b Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 15 Jul 2025 14:55:10 +0530 Subject: [PATCH 2/3] fix: only show edit button to system manager (cherry picked from commit 713571469b81b773413e4f2287f25bde372cc044) --- frontend/src/pages/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Dashboard.vue b/frontend/src/pages/Dashboard.vue index 0cb7fbd9..51b873fe 100644 --- a/frontend/src/pages/Dashboard.vue +++ b/frontend/src/pages/Dashboard.vue @@ -15,7 +15,7 @@