From 9adfe631429ea69254880e380a1d9535ee7a5bc7 Mon Sep 17 00:00:00 2001 From: Dev PC Date: Tue, 5 Aug 2025 12:29:53 +0300 Subject: [PATCH] debug10 --- call_handler.py | 6 ++---- medods.py | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/call_handler.py b/call_handler.py index bf69653..ee52560 100644 --- a/call_handler.py +++ b/call_handler.py @@ -101,10 +101,8 @@ class CallHandler: for var in config.ID_VARS: answered = event.get(var) if answered in config.OPERATORS: - await self.call_started( - linkedid, answered, event_now - ) - break + await self.call_started(linkedid, answered) + return if event.get("Disposition") == "NO ANSWER": await self.call_lost(linkedid) return diff --git a/medods.py b/medods.py index c16a3f5..2a4d256 100644 --- a/medods.py +++ b/medods.py @@ -45,7 +45,6 @@ async def send_post_request(body: dict): } if config.DEBUG: loggingDict("Sending data to Medods", data, call_id) - loggingDict("Headers", headers, call_id) r = await post_request(url=config.MEDODS_SERVER, headers=headers, json=data) try: res = {