Skip to content

Commit

Permalink
updating the GA version of call automation
Browse files Browse the repository at this point in the history
  • Loading branch information
v-vdharmaraj committed Nov 28, 2023
1 parent 7cf1d4d commit 235be8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Azure.AI.OpenAI" Version="1.0.0-beta.5" />
<PackageReference Include="Azure.Communication.CallAutomation" Version="1.1.0-beta.1" />
<PackageReference Include="Azure.Communication.CallAutomation" Version="1.1.0" />
<PackageReference Include="Azure.Communication.Identity" Version="1.0.0-beta.4" />
<PackageReference Include="Azure.Messaging.EventGrid" Version="4.13.0" />
<PackageReference Include="CliWrap" Version="3.6.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ You are an assisant designed to answer the customer query and analyze the sentim
Console.WriteLine($"Callback Url: {callbackUri}");
var options = new AnswerCallOptions(incomingCallContext, callbackUri)
{
CognitiveServicesEndpoint = new Uri(cognitiveServicesEndpoint)
CallIntelligenceOptions = new CallIntelligenceOptions() { CognitiveServicesEndpoint = new Uri(cognitiveServicesEndpoint) }
};

AnswerCallResult answerCallResult = await client.AnswerCallAsync(options);
Expand All @@ -118,7 +118,7 @@ You are an assisant designed to answer the customer query and analyze the sentim
logger.LogInformation($"Call transfer failed, disconnecting the call...");
await answerCallResult.CallConnection.HangUpAsync(true);
}
else if (!string.IsNullOrWhiteSpace(playCompletedEvent.OperationContext)&& playCompletedEvent.OperationContext.Equals(connectAgentContext, StringComparison.OrdinalIgnoreCase))
else if (!string.IsNullOrWhiteSpace(playCompletedEvent.OperationContext) && playCompletedEvent.OperationContext.Equals(connectAgentContext, StringComparison.OrdinalIgnoreCase))
{
if (string.IsNullOrWhiteSpace(agentPhonenumber))
{
Expand Down

0 comments on commit 235be8f

Please sign in to comment.