Graph API: create a PSTN call and invite a PSTN participant

%3CLINGO-SUB%20id%3D%22lingo-sub-2938855%22%20slang%3D%22en-US%22%3EGraph%20API%3A%20create%20a%20PSTN%20call%20and%20invite%20a%20PSTN%20participant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2938855%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everybody%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20the%20MS%20Graph%20API%20within%20a%20C%23%20project.%3C%2FP%3E%3CP%3EAfter%20successful%20creating%20a%20PSTN%20call%20from%20our%20bot%20like%20described%20here%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fapplication-post-calls%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%23example-7-create-peer-to-peer-pstn-call-with-service-hosted-media%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fapplication-post-calls%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%23example-7-create-peer-to-peer-pstn-call-with-service-hosted-media%3C%2FA%3E%20we%20run%20into%20the%20next%20problem%3A%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20want%20to%20invite%20another%20PSTN%20participant%20to%20this%20existing%20call%20like%20described%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fparticipant-invite%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%23example-4-invite-one-pstn-participant-to-an-existing-group-call%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fparticipant-invite%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%23example-4-invite-one-pstn-participant-to-an-existing-group-call%3C%2FA%3E.%3CBR%20%2F%3EBut%20we%20receive%20following%20event%3A%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22value%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22changeType%22%3A%20%22Deleted%22%2C%3CBR%20%2F%3E%22resourceUrl%22%3A%20%22%2Fcommunications%2Fcalls%2F981f6100-cb65-42d9-af3c-1390c68cac8b%2Foperations%2F5fedb136-cff9-446d-a8bc-4166db960e19%22%2C%3CBR%20%2F%3E%22resource%22%3A%20%22%2Fapp%2Fcalls%2F981f6100-cb65-42d9-af3c-1390c68cac8b%2Foperations%2F5fedb136-cff9-446d-a8bc-4166db960e19%22%2C%3CBR%20%2F%3E%22resourceData%22%3A%20%7B%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.inviteParticipantsOperation%22%2C%3CBR%20%2F%3E%22participants%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.invitationParticipantInfo%22%2C%3CBR%20%2F%3E%22identity%22%3A%20%7B%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.identitySet%22%2C%3CBR%20%2F%3E%22phone%22%3A%20%7B%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.identity%22%2C%3CBR%20%2F%3E%22id%22%3A%20%22%2B49175********%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%2C%3CBR%20%2F%3E%22status%22%3A%20%22failed%22%2C%3CBR%20%2F%3E%22resultInfo%22%3A%20%7B%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.resultInfo%22%2C%3CBR%20%2F%3E%22code%22%3A%20403%2C%3CBR%20%2F%3E%22subcode%22%3A%209999%2C%3CBR%20%2F%3E%22message%22%3A%20%22addParticipants%20failed%20for%20participant%204%3A%2B49175******.%20Underlying%20reason%3A%20Call%20does%20not%20contain%20the%20metadata%20required%20for%20making%20this%20PSTN%20dial%20out..%20DiagCode%3A%20403%2310151%22%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22id%22%3A%20%225fedb136-cff9-446d-a8bc-4166db960e19%22%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.commsNotification%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%2C%3CBR%20%2F%3E%22%40odata.type%22%3A%20%22%23microsoft.graph.commsNotifications%22%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20idea%20why%20we%20can%20not%20invite%20another%20PSTN%20participant%20to%20an%20existing%20call%20from%20the%20bot%20to%20a%20PSTN%20number%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGerd%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2938855%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECalling%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2940035%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%3A%20create%20a%20PSTN%20call%20and%20invite%20a%20PSTN%20participant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2940035%22%20slang%3D%22en-US%22%3EWe%20are%20looking%20into%20it.%20I%20will%20get%20back%20to%20you%20soon.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2956346%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%3A%20create%20a%20PSTN%20call%20and%20invite%20a%20PSTN%20participant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2956346%22%20slang%3D%22en-US%22%3ECould%20you%20please%20share%20the%20doc%20or%20steps%20that%20you%20have%20followed%20to%20setup%20the%20bot%20with%20PSTN%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2957739%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%3A%20create%20a%20PSTN%20call%20and%20invite%20a%20PSTN%20participant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2957739%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1092873%22%20target%3D%22_blank%22%3E%40HunaidHanfee-MSFT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20send%20you%20a%20private%20message%20with%20the%20dokumentation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2966390%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%3A%20create%20a%20PSTN%20call%20and%20invite%20a%20PSTN%20participant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2966390%22%20slang%3D%22en-US%22%3EI%20have%20the%20exactly%20same%20issue.%20%2B1%3C%2FLINGO-BODY%3E
Contributor

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#exam... 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-....
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

5 Replies
We are looking into it. I will get back to you soon.

Thanks
Could you please share the doc or steps that you have followed to setup the bot with PSTN?

@HunaidHanfee-MSFT 

 

I have send you a private message with the dokumentation.

I have the exactly same issue. +1

@HunaidHanfee-MSFT 

Have you any news regarding this issue? Our customer is waiting and gets impatient ...