Issue in connecting cognitive service to communication
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 ?