Forum Discussion
Graph API: create a PSTN call and invite a PSTN participant
Hello everybody,
We are using the MS Graph API within a C# project.
After successful creating a PSTN call from our bot like described here https://docs.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http#example-7-create-peer-to-peer-pstn-call-with-service-hosted-media we run into the next problem:
We want to invite another PSTN participant to this existing call like described here: https://docs.microsoft.com/en-us/graph/api/participant-invite?view=graph-rest-1.0&tabs=http#example-4-invite-one-pstn-participant-to-an-existing-group-call.
But we receive following event:
{
"value": [
{
"changeType": "Deleted",
"resourceUrl": "/communications/calls/981f6100-cb65-42d9-af3c-1390c68cac8b/operations/5fedb136-cff9-446d-a8bc-4166db960e19",
"resource": "/app/calls/981f6100-cb65-42d9-af3c-1390c68cac8b/operations/5fedb136-cff9-446d-a8bc-4166db960e19",
"resourceData": {
"@odata.type": "#microsoft.graph.inviteParticipantsOperation",
"participants": [
{
"@odata.type": "#microsoft.graph.invitationParticipantInfo",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"phone": {
"@odata.type": "#microsoft.graph.identity",
"id": "+49175********"
}
}
}
],
"status": "failed",
"resultInfo": {
"@odata.type": "#microsoft.graph.resultInfo",
"code": 403,
"subcode": 9999,
"message": "addParticipants failed for participant 4:+49175******. Underlying reason: Call does not contain the metadata required for making this PSTN dial out.. DiagCode: 403#10151"
},
"id": "5fedb136-cff9-446d-a8bc-4166db960e19"
},
"@odata.type": "#microsoft.graph.commsNotification"
}
],
"@odata.type": "#microsoft.graph.commsNotifications"
}
Any idea why we can not invite another PSTN participant to an existing call from the bot to a PSTN number?
Thanks.
Regards
Gerd
- HunaidHanfee-MSFTMicrosoftWe are looking into it. I will get back to you soon.
Thanks - HunaidHanfee-MSFTMicrosoftCould you please share the doc or steps that you have followed to setup the bot with PSTN?
- relkniwBrass Contributor
- relkniwBrass Contributor
Have you any news regarding this issue? Our customer is waiting and gets impatient ...
- HunaidHanfee-MSFTMicrosoftWe have tried this but right we are not having the repro. I will update you as soon we get anything.
Thanks
- Mad_hatterBrass ContributorI have the exactly same issue. +1
- Vikram505Copper ContributorHi,
Could you please share the doc or steps that you have followed to setup the bot with PSTN?
Thanks in advance.- relkniwBrass ContributorI just followed this manual: https://docs.microsoft.com/de-de/microsoftteams/platform/bots/calls-and-meetings/registering-calling-bot
- Vikram505Copper ContributorThanks
- Frank_Roger365Copper ContributorAny luck resolving this?
- relkniwBrass ContributorNo.
- yisroelpertonCopper Contributor
relkniw, have been looking into this issue, and it seems that when the bot makes a call between a Teams user and a PSTN, it now counts 3 identities in the call (including the bot), and escalates it to a group call, which it seems from this thread it doesn't currently support.
Is that still the case?
Thank you.