Calling PSTN numbers from Bot

Milan Zivic 1 Reputation point
2022-01-21T11:11:22.953+00:00

Hello,

I m trying to initiate a call from bot and having issues with calling PSTN numbers. The bot is calling perfectly Teams user, playing media files and receiving notifications via subscribed callback function, but calling PSTN number failed with terminated call as shown in the screenshot. Application instance is also defined and the phone number is assigned to the bot.

Is there anything I am missing here?

167168-screenshot-2022-01-21-120801.jpg

167223-thumbnail-image003.jpg

Azure Bot Service
Azure Bot Service
An Azure service that provides an integrated environment for bot development.
554 questions
Microsoft Graph Teamwork API
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Milan Zivic 1 Reputation point
    2022-01-21T17:07:17.05+00:00

    Update:

    This is detailed notification received by callback function:

    {
    "@odata.type":"#microsoft.graph.commsNotifications",
    "value":[
    {
    "@odata.type":"#microsoft.graph.commsNotification",
    "changeType":"deleted",
    "resource":"/app/calls/b31f5e00-1104-4367-9684-2605bedf588f",
    "resourceUrl":"/communications/calls/b31f5e00-1104-4367-9684-2605bedf588f",
    "resourceData":{
    "@odata.type":"#microsoft.graph.call",
    "state":"terminated",
    "resultInfo":{
    "@odata.type":"#microsoft.graph.resultInfo",
    "code":500,
    "subcode":560500,
    "message":"Server Internal Error. DiagCode: 500#560500.@"
    },
    "callChainId":"c9f6735e-7f6f-4640-9c65-2cddf86f4b4f",
    "terminationSender":{
    "@odata.type":"#microsoft.graph.identitySet",
    "phone":{
    "@odata.type":"#microsoft.graph.identity",
    "id":"+4512345678",
    "displayName":"TelDispName",
    "identityProvider":"None"
    }
    }
    }
    }
    ]
    }

  2. Milan Zivic 1 Reputation point
    2022-01-24T13:46:59.257+00:00

    Problem solved with proper use of SBC based phone number.
    :-)