Forum Discussion
relkniw
Oct 26, 2021Brass Contributor
Cannot initiate PSTN calls from bot
Hi everybody, within my calling bot I try to initiate a PSTN call like https://docs.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http#example-8-create-peer-to-pee...
- Nov 08, 2021We could solve the problem. We used the wrong object ID for creating the call. After using the object ID from the assigned service user, it works.
lukaszzwierko
Apr 15, 2022Copper Contributor
Hi, would you mind sharing where exactly in the API / code do you user the service user object id instead of bot registration ID. Basically I'm trying to get the IncidentBot sample to call PSTN, I did all the configuration as described is this thread but getting the same error "DiagCode: 500#510543".
thanks in advance.
Łukasz
thanks in advance.
Łukasz
lukaszzwierko
Apr 15, 2022Copper Contributor
Ok, I've found the issue, you need to add call source "applicationInstance" with id of the service account. It's not well documented and not in c# api, must be done manually through additional data.