Graph API - SIP trunk (direct routing) -> SBC -> PSTN

Ian Porter 0 Reputation points
2023-02-10T16:39:56.23+00:00

Hi Microsoft

I have tried the

https://learn.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-beta&tabs=http

https://learn.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-beta&tabs=http

to obtain PSTN information, the setup appears to be for teams calls

  1. SIP trunk (direct routing)
  2. SBC (on prem)
  3. PSTN

and I am unable to obtain any information, I have been given CallRecord-PstnCalls.Read.All, CallRecords.Read.All the access.
All I am getting is this as a response

         "message": "Could not find the requested call record. Records about calls or online meetings that started more than 30 days ago are not available.",
        "innerError": {

any advice please

Microsoft Security | Microsoft Graph

1 answer

Sort by: Most helpful
  1. Ian Porter 0 Reputation points
    2023-02-15T12:37:48.0433333+00:00

    Hi

    Thanks very much for your response, but we are using the MS graph API's and not the teams UI.

    Regards

    Ian

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.