Graph communications for call transfer throws call not found error and code 8522
My azure bot receives audio call from MS Teams. When I try to transfer the call to PSTN number, it throws Call not found error.
Details:
url=https://graph.microsoft.com/v1.0/communications/calls/00005080-7c05-4cec-ac7c-3cdf175101e9/transfer
payload={'transferTarget': {'@odata.type': '#microsoft.graph.invitationParticipantInfo', 'identity': {'phone': {'id': '+16667778888', 'displayName': 'Display Name'}}, 'participantId': '+16667778888}}
Error details:
{"error":{"code":"8522","message":"Call not found.","innerError":{"date":"2024-09-28T07:43:37","request-id":"b80f8da0-c261-4833-b95e-e923e80ae76e","client-request-id":"b80f8da0-c261-4833-b95e-e923e80ae76e"}}}
404
<Response [404]>
pls help me to fix this error.
Thanks.