question

KPRaviKishore-2586 avatar image
0 Votes"
KPRaviKishore-2586 asked Sridevi-MSFT answered

Microsoft Graph Communications APIs

Hi. I am trying to build an IVR/Calling bot in MS Teams using Graph communications APIs.

  1. In some of the Graph Communication APIs, we need to send the field 'clientContext' like in the example below. I am not sure what the value is supposed to be.
    https://docs.microsoft.com/en-us/graph/api/call-playprompt?view=graph-rest-1.0
    Is it Just a random number that we can generate for each session? Please assist

  2. As mentioned in the documentation, IVR concepts would work if the call is initiated with ServiceHostedMediaConfig. What exactly is ServiceHostedMediaConfig and how is it different from ApplicationHostedMediaConfig ? How can we achieve both ? Please help me understand.

  3. I am trying to use the Speech Service SDK for Text-to-Speech and vice vera for my IVR bot. Please let me know which Audio format does Graph Communications API(say, playPrompt) expect from the below link of available formats.
    https://docs.microsoft.com/en-us/javascript/api/microsoft-cognitiveservices-speech-sdk/speechsynthesisoutputformat?view=azure-node-latest

office-teams-app-devmicrosoft-graph-teamworkmicrosoft-graph-cloud-communications
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Adding right tags/teams to assist

0 Votes 0 ·

Did you look at Calling and Meeting bots documentation? I could see few samples here using callId being used as clientContext in sample code, check if that sample helps.


0 Votes 0 ·

@KPRaviKishore-2586, Please let us know if your issue has been resolved.

0 Votes 0 ·

1 Answer

Sridevi-MSFT avatar image
0 Votes"
Sridevi-MSFT answered

Posting the Answer for better knowledge.
Copying from @Wajeed-MSFT comments.

Did you look at Calling and Meeting bots documentation? I could see few samples here using callId being used as clientContext in sample code, check if that sample helps.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.