fix: added type of call select field, additional status for agent rejecting call
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user