fix: added type of call select field, additional status for agent rejecting call

This commit is contained in:
Subin Tom
2022-02-25 13:38:57 +05:30
parent fd20713bd7
commit 00b0f10100
4 changed files with 26 additions and 4 deletions

View File

@@ -41,6 +41,8 @@ def handle_missed_call(**kwargs):
status = 'No Answer'
elif CallType == "client-hangup" and DialCallStatus == "canceled":
status = 'Canceled'
elif CallType == "incomplete" and DialCallStatus == "failed":
status = 'Failed'
update_call_log(kwargs, status)