Issue in connecting cognitive service to communication

Laxmiprasad Putta 0 Reputation points
2024-06-16T12:29:02.3433333+00:00

I am trying to connect azure cognitive service to communication service. Followed the tutorial in mic learn for the process.

I have subscribed a phone number in communication service resource, created a webhook link. Any calls made to the number is being received to the webhook, I am able to answer the call. But, while recognizing the audio stream once the call has been connected, I am facing the error below :
"403 Action failed due to a forbidden request to Cognitive Services. Please check your subscription status and ensure it is active"
cognitiv service endpoint I mentioned is https :// resourcename. cognitiveservices.azure. com/

call_automation_client.answer_call (call_context, CALL_ANSWERED_URL,cognitive_services_endpoint=COGNITIVE_SERVICE_ENDPOINT)

Any solutions ?? Anything did I miss ?

User's image

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,774 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
895 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
830 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,902 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,115 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Richard Reukema (Phx) 20 Reputation points
    2024-08-12T16:43:03.89+00:00

    I believe the issue is related to 1) Creating a Managed Identity for Azure Communication Services, and 2) link ACS with Cognitive Services. In the navigation pane on the left, create a link between ACS and the defined Azure AI Services. One issue is that you can create "Speech Services" or recently renamed to "Azure AI Services". I choose AI Services as I may also use the other "Cognitive Services" that are under the umbrella of "Azure AI Services".

    My issue is a random (?) time-out issue with Azure AI Text to Speech. One call works, and the next call, I get a timeout.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.