We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8fe04 commit 75aaca7Copy full SHA for 75aaca7
callautomation-openai-sample/main.py
@@ -247,7 +247,7 @@ def handle_callback(contextId):
247
elif event.type == "Microsoft.Communication.PlayCompleted":
248
context=event.data['operationContext']
249
if context.lower() == TRANSFER_FAILED_CONTEXT.lower() or context.lower() == GOODBYE_CONTEXT.lower() :
250
- handle_hangup()
+ handle_hangup(call_connection_id)
251
elif context.lower() == CONNECT_AGENT_CONTEXT.lower():
252
if not AGENT_PHONE_NUMBER or AGENT_PHONE_NUMBER.isspace():
253
app.logger.info(f"Agent phone number is empty")
0 commit comments