microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

How can I prevent call going to voicemail if enable.

Open
#463 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

When receiving a call if it is timed out or rejected then it goes to voicemail and terminate notification comes after 5mins. I want to ditect this and terminate the call straightaway. The sample is taken from Graph Api docs. Microsoft IVR already doing this but I could not find any resources related to this. Could someone please tell me how to do this? Thanks.

`POST https://graph.microsoft.com/v1.0/communications/calls
Content-Type: application/json

{
"@odata.type": "#microsoft.graph.call",
"callbackUri": "https://bot.contoso.com/callback",
"targets": [
{
"@odata.type": "#microsoft.graph.invitationParticipantInfo",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"user": {
"@odata.type": "#microsoft.graph.identity",
"displayName": "John",
"id": "112f7296-5fa4-42ca-bae8-6a692b15d4b8"
}
}
}
],
"requestedModalities": [
"audio"
],
"mediaConfig": {
"@odata.type": "#microsoft.graph.serviceHostedMediaConfig"
}
}`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names a Microsoft Graph communications call POST using callbackUri, targets, requestedModalities, and serviceHostedMediaConfig, but no repository file or test. Start by reviewing the relevant Graph communications call documentation and the callback behavior described there. Done means documenting or implementing a supported way to detect the timeout or rejection and terminate promptly, if the API permits it.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.