Forum Discussion

Mad_hatter's avatar
Mad_hatter
Brass Contributor
Mar 15, 2022

Roster update empty

Hi community,

 

I'm having trouble with a simple scenario involving cloud communication. I'm using directly the GRAPH API, without SDK.

A PSTN caller calls a bot, that answers then escalates the call to a conference by inviting a user from its tenant.

Sometimes, not always, the roster update is empty, then only the bot appears to be involved in the conversation. The caller is missing from the roster. As soon as the user accepts the call, a roster update is received, containing the caller.

 

Why would I create a thread ? It's because if the caller drops the call before the user accepts the invitation, I'd like to revoke this invitation. And it is not possible when this behavior happens cause no roster update is received.

 

In the samples below, two invitations to two distinct users are made for the same call. All times are UTC.

 

Here is a sample where the roster received is OK

 

 

 

220315;09:18:12.701;[00429];020;APP_CALL;INVITE_PARTICIPANT_ACK;915E;RestRequest;Read;T;<<<<<< request type=InviteParticipantsRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#inviteParticipantsOperation","@odata.type":"#microsoft.graph.inviteParticipantsOperation","id":"9584dd74-e2f2-495f-a95f-250282ab8a3e","status":"Running","clientContext":"9e333142-510d-48e4-8604-ffd7de710ab0","resultInfo":null,"participants":[{"endpointType":null,"replacesCallId":null,"hidden":null,"removeFromDefaultAudioRoutingGroup":null,"participantId":"9a6d30ea-3815-41d6-b2a9-933cbc466cf0","identity":{"phone":null,"guest":null,"encrypted":null,"onPremises":null,"applicationInstance":null,"application":null,"device":null,"user":{"id":"a75f8483-9fb4-4e07-8e41-6ef5d1e928b0","displayName":null,"tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","registrantId":null}}}]}
220315;09:18:12.774;[00429];020;APP_CALL;INVITE_PARTICIPANT_ACK;FDCC;RestRequest;Read;T;<<<<<< request type=InviteParticipantsRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#inviteParticipantsOperation","@odata.type":"#microsoft.graph.inviteParticipantsOperation","id":"7528f45b-8c6c-4329-891d-77bdf980148a","status":"Running","clientContext":"df9b1330-0a48-4740-b542-d1f528f801fe","resultInfo":null,"participants":[{"endpointType":null,"replacesCallId":null,"hidden":null,"removeFromDefaultAudioRoutingGroup":null,"participantId":"e2cbb2a2-76ea-47cd-8b8d-81c5ec56e459","identity":{"phone":null,"guest":null,"encrypted":null,"onPremises":null,"applicationInstance":null,"application":null,"device":null,"user":{"id":"79564ab8-3085-407b-b03d-2a658a769843","displayName":null,"tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","registrantId":null}}}]}
220315;09:18:14.030;[00760];027;SERVER;CALLBACK_CALL_ACK;405C;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/561f5d00-258a-400f-95a0-bf91ce681ddf","resourceUrl":"/communications/calls/561f5d00-258a-400f-95a0-bf91ce681ddf","resourceData":{"@odata.type":"#microsoft.graph.call","state":"established","mediaState":{"@odata.type":"#microsoft.graph.callMediaState","audio":"active"},"meetingInfo":{"@odata.type":"#microsoft.graph.tokenMeetingInfo","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USIsInR5cCI6IkpXVCIsIng1dCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USJ9.eyJhcHBJZCI6ImRjMTMzMTg0LTFkYWItNDgxYS05Njc3LTkyMmViMTA5ZjNiMSIsImNvbnZlcnNhdGlvbkNvbnRyb2xsZXIiOiJodHRwczovL2FwaS5mbGlnaHRwcm94eS50ZWFtcy5taWNyb3NvZnQuY29tL2FwaS92Mi9lcC9jb252LWZyY2UtMTAuY29udi5za3lwZS5jb20vY29udi80QzFDS1U2ZXNFQ0JtMGItYVFWNjBBP2k9NjImZT02Mzc4MjU2NzA0ODY4MDM3MjQiLCJhY3Rpdml0eUlkIjoiZTU3OTY2MzctMmJmOC00YmZkLWJmNDgtNmExYTY3ZTU3NzNlIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9pZGVudGl0eS9jbGFpbXMvdGVuYW50aWQiOiJiZDE5NGRlNS1jOTMzLTQ5OWYtYWM4MS0yZjU0NzE1Yjc1MjUiLCJuYmYiOjE2NDczMzU4OTMsImV4cCI6MTY0NzQyMjI5MywiaXNzIjoiaHR0cHM6Ly9hcGkuYm90ZnJhbWV3b3JrLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBpLmJvdGZyYW1ld29yay5jb20ifQ.oifx0dRzDrxNApcB7tYuUYihbOFY-i-hcWJUT6GffWMSVPNBuOb7mNKM127x6cWU8-msB4aP4Aa76nEiT0BBNZ5ygwhTkcmLziKa7po2RUfVWs-G3AtF7HJ8hUQ0EnVWZ3REFqDYdEbS_mYP_ueIsnLAuaUH_t8fvxOH9v89yqThKKrcG9SlCof8U436PPhq-bBHoN4_np5q5lGYXgdWWwmyvWM0YlwOQ7Q5qGIuSIOpz7VKU0KOoAiGjgiX_S6DVDf9iLyAFFV1K7O-Orx1PLYBlyZDsDWmHnG-6JGYZvZ-8yA3AzH3Sun6mcbSeIgo5V7scVVc8AuAwcitv_n58A"},"callChainId":"e5796637-2bf8-4bfd-bf48-6a1a67e5773e","replacesContext":"aHR0cHM6Ly9jYy1mcmNlLTA5LmNjLnNreXBlLmNvbS9jYy92MS9jYWxsUGFydGljaXBhbnQvY2YyMjI2OGQtYTg3Mi00ZGQyLTg0MWUtZjY0Y2JhMjU1ODY3LzEwL2szLzMwMy9yZXBsYWNlbWVudD9ydD05OWQ3NWQ3ZmVlN2Q0OWIyOGVhNTFlNTg4ZmVhYjIyYyZyYz1leUp5ZEd4aWNtTWlPbnNpWlhScFpDSTZJbUprTVRrMFpHVTFMV001TXpNdE5E ...
220315;09:18:14.038;[00760];027;SERVER;CALLBACK_CALL_ACK;7DBD;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/561f5d00-258a-400f-95a0-bf91ce681ddf/participants","resourceUrl":"/communications/calls/561f5d00-258a-400f-95a0-bf91ce681ddf/participants","resourceData":[{"@odata.type":"#microsoft.graph.participant","info":{"@odata.type":"#microsoft.graph.participantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","applicationInstance":{"@odata.type":"#microsoft.graph.identity","id":"3fd63780-6492-4f09-a7c0-090716856c94","tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","identityProvider":"AAD"}},"endpointType":"default","endpointId":"7ef5817b-f241-43b3-b3b8-e2a862f16fb3","clientVersion":"IVR (appid:dc133184-1dab-481a-9677-922eb109f3b1)","participantId":"93a0def8-c238-4f76-b0fe-0364cd3b1070","replacementLink":"https://cc-frce-09.cc.skype.com/cc/v1/callParticipant/cf22268d-a872-4dd2-841e-f64cba255867/24/k2/329/replacement?rt=93a0def8c2384f76b0fe0364cd3b1070&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=51&e=637826308293557791"},"mediaStreams":[{"@odata.type":"#microsoft.graph.mediaStream","mediaType":"audio","label":"main-audio","sourceId":"2","direction":"sendReceive","serverMuted":false}],"isMuted":false,"isInLobby":false,"publishedStates":[],"meetingRole":"none","replacementLink":"https://cc-frce-09.cc.skype.com/cc/v1/callParticipant/cf22268d-a872-4dd2-841e-f64cba255867/24/k2/329/replacement?rt=93a0def8c2384f76b0fe0364cd3b1070&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=51&e=637826308293557791","id":"93a0def8-c238-4f76-b0fe-0364cd3b1070"},{"@odata.type":"#microsoft.graph.participant","info":{"@odata.type":"#microsoft.graph.participantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","phone":{"@odata.type":"#microsoft.graph.identity","id":"+33620198460","di ...
220315;09:18:18.524;[00760];027;SERVER;CALLBACK_CALL_ACK;B197;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/561f5d00-258a-400f-95a0-bf91ce681ddf/participants","resourceUrl":"/communications/calls/561f5d00-258a-400f-95a0-bf91ce681ddf/participants","resourceData":[{"@odata.type":"#microsoft.graph.participant","info":{"@odata.type":"#microsoft.graph.participantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","applicationInstance":{"@odata.type":"#microsoft.graph.identity","id":"3fd63780-6492-4f09-a7c0-090716856c94","tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","identityProvider":"AAD"}},"endpointType":"default","endpointId":"7ef5817b-f241-43b3-b3b8-e2a862f16fb3","clientVersion":"IVR (appid:dc133184-1dab-481a-9677-922eb109f3b1)","participantId":"93a0def8-c238-4f76-b0fe-0364cd3b1070","replacementLink":"https://cc-frce-09.cc.skype.com/cc/v1/callParticipant/cf22268d-a872-4dd2-841e-f64cba255867/24/k2/329/replacement?rt=93a0def8c2384f76b0fe0364cd3b1070&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=51&e=637826308293557791"},"mediaStreams":[{"@odata.type":"#microsoft.graph.mediaStream","mediaType":"audio","label":"main-audio","sourceId":"2","direction":"sendReceive","serverMuted":false}],"isMuted":false,"isInLobby":false,"publishedStates":[],"meetingRole":"none","replacementLink":"https://cc-frce-09.cc.skype.com/cc/v1/callParticipant/cf22268d-a872-4dd2-841e-f64cba255867/24/k2/329/replacement?rt=93a0def8c2384f76b0fe0364cd3b1070&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=51&e=637826308293557791","id":"93a0def8-c238-4f76-b0fe-0364cd3b1070"}]}]}

 

 

 

Here is a sample where the roster received is KO

 

 

 

220315;09:08:30.391;[00429];020;APP_CALL;INVITE_PARTICIPANT_ACK;CB58;RestRequest;Read;T;<<<<<< request type=InviteParticipantsRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#inviteParticipantsOperation","@odata.type":"#microsoft.graph.inviteParticipantsOperation","id":"590c9175-c90f-42ab-81e8-96e4ecd981d8","status":"Running","clientContext":"db9a0190-be81-4ac5-8d6c-b6456d0757ed","resultInfo":null,"participants":[{"endpointType":null,"replacesCallId":null,"hidden":null,"removeFromDefaultAudioRoutingGroup":null,"participantId":"11312193-c89e-4ff3-9270-20c96374cc56","identity":{"phone":null,"guest":null,"encrypted":null,"onPremises":null,"applicationInstance":null,"application":null,"device":null,"user":{"id":"79564ab8-3085-407b-b03d-2a658a769843","displayName":null,"tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","registrantId":null}}}]}
220315;09:08:30.470;[00429];020;APP_CALL;INVITE_PARTICIPANT_ACK;36C6;RestRequest;Read;T;<<<<<< request type=InviteParticipantsRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#inviteParticipantsOperation","@odata.type":"#microsoft.graph.inviteParticipantsOperation","id":"a0158c87-4b5c-41a7-8b06-ae33f887ae4d","status":"Running","clientContext":"fc54f090-8cc7-4ba1-b428-cec94048d1cf","resultInfo":null,"participants":[{"endpointType":null,"replacesCallId":null,"hidden":null,"removeFromDefaultAudioRoutingGroup":null,"participantId":"ec183a90-2830-4eb6-a169-ce18f3fa1432","identity":{"phone":null,"guest":null,"encrypted":null,"onPremises":null,"applicationInstance":null,"application":null,"device":null,"user":{"id":"a75f8483-9fb4-4e07-8e41-6ef5d1e928b0","displayName":null,"tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","registrantId":null}}}]}
220315;09:08:31.259;[00760];027;SERVER;CALLBACK_CALL_ACK;EDB2;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/931f6100-3b1c-40a1-81f9-29f9db5d6587","resourceUrl":"/communications/calls/931f6100-3b1c-40a1-81f9-29f9db5d6587","resourceData":{"@odata.type":"#microsoft.graph.call","state":"established","mediaState":{"@odata.type":"#microsoft.graph.callMediaState","audio":"active"},"meetingInfo":{"@odata.type":"#microsoft.graph.tokenMeetingInfo","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USIsInR5cCI6IkpXVCIsIng1dCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USJ9.eyJhcHBJZCI6ImRjMTMzMTg0LTFkYWItNDgxYS05Njc3LTkyMmViMTA5ZjNiMSIsImNvbnZlcnNhdGlvbkNvbnRyb2xsZXIiOiJodHRwczovL2FwaS5mbGlnaHRwcm94eS50ZWFtcy5taWNyb3NvZnQuY29tL2FwaS92Mi9lcC9jb252LXVrc28tMDYuY29udi5za3lwZS5jb20vY29udi9EUlJEWnNyWlVVR2djRFpQUGhGUElBP2k9NjImZT02Mzc4MjM3MjQyMDg0OTgwNTUiLCJhY3Rpdml0eUlkIjoiMDdlN2U3MGQtZmMzMy00NjZjLWJiMTUtYzFlZmE2NzRiMDk3IiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9pZGVudGl0eS9jbGFpbXMvdGVuYW50aWQiOiJiZDE5NGRlNS1jOTMzLTQ5OWYtYWM4MS0yZjU0NzE1Yjc1MjUiLCJuYmYiOjE2NDczMzUzMTEsImV4cCI6MTY0NzQyMTcxMSwiaXNzIjoiaHR0cHM6Ly9hcGkuYm90ZnJhbWV3b3JrLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBpLmJvdGZyYW1ld29yay5jb20ifQ.Ev2nF4U0CMBTvmqUu2ezZkRaYMIgj_ua-D9FZ0QebBacAbXvfJRVUFntRQzOjw2eQDvJBju5hedgOF_Vaa-8Jcb4tfHARsv4bzNpQWqwUPhoOjrEHwuOtQ1R27EYMfy86tvBScBO3e9t_pkcmD22Rn6xqqY7Mnyb8_ladQ2sJzTqPWJEnFlPWU-F2mfFgYWIElLr7Ac6hP_EZXrmfScyg7c5ycB50-MJvIGgdBkEI7KmjG6E7Lc70a1nId-6v9zAMQ5cCahhS5dls_HF1Inxb_JP9dISG8x0aqBhjSK2TzHwOI4ZneKna1Z0aYSRZLa_QyMidViHRZ28t2xOZMeuig"},"callChainId":"07e7e70d-fc33-466c-bb15-c1efa674b097","replacesContext":"aHR0cHM6Ly9jYy11a3NvLTA4LmNjLnNreXBlLmNvbS9jYy92MS9jYWxsUGFydGljaXBhbnQvYmRhYzQ4OTQtNDIxMy00YzYwLWI4YzMtMDg5YmQ1N2UyZmQyLzEwL2szLzMwMy9yZXBsYWNlbWVudD9ydD0yMzFlN2FlN2I5ZmM0NjQyYjk3NGFlNzkwYjZmYzJmZCZyYz1leUp5ZEd4aWNtTWlPbnNpWlhScFpDSTZJbUprTVRrMFpHVTFMV001TXpNdE5E ...
220315;09:08:31.661;[00760];027;SERVER;CALLBACK_CALL_ACK;E514;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/931f6100-3b1c-40a1-81f9-29f9db5d6587/participants","resourceUrl":"/communications/calls/931f6100-3b1c-40a1-81f9-29f9db5d6587/participants","resourceData":[]}]}
220315;09:08:35.268;[00760];027;SERVER;CALLBACK_CALL_ACK;3F6B;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/931f6100-3b1c-40a1-81f9-29f9db5d6587/participants","resourceUrl":"/communications/calls/931f6100-3b1c-40a1-81f9-29f9db5d6587/participants","resourceData":[{"@odata.type":"#microsoft.graph.participant","info":{"@odata.type":"#microsoft.graph.participantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","applicationInstance":{"@odata.type":"#microsoft.graph.identity","id":"3fd63780-6492-4f09-a7c0-090716856c94","tenantId":"bd194de5-c933-499f-ac81-2f54715b7525","identityProvider":"AAD"}},"endpointType":"default","endpointId":"9019a56a-9b31-452c-95b6-a89312473370","clientVersion":"IVR (appid:dc133184-1dab-481a-9677-922eb109f3b1)","participantId":"fb1f76b1-b2c3-40b6-a8e7-2c0bc63cdb4d","replacementLink":"https://cc-ukso-08.cc.skype.com/cc/v1/callParticipant/bdac4894-4213-4c60-b8c3-089bd57e2fd2/24/k2/329/replacement?rt=fb1f76b1b2c340b6a8e72c0bc63cdb4d&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=2&e=637828033865584566"},"mediaStreams":[{"@odata.type":"#microsoft.graph.mediaStream","mediaType":"audio","label":"main-audio","sourceId":"1","direction":"sendReceive","serverMuted":false}],"isMuted":false,"isInLobby":false,"publishedStates":[],"meetingRole":"none","replacementLink":"https://cc-ukso-08.cc.skype.com/cc/v1/callParticipant/bdac4894-4213-4c60-b8c3-089bd57e2fd2/24/k2/329/replacement?rt=fb1f76b1b2c340b6a8e72c0bc63cdb4d&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=2&e=637828033865584566","id":"fb1f76b1-b2c3-40b6-a8e7-2c0bc63cdb4d"}]}]}

 

 

 

I can give further details on demand, just let me know.

Thank you in advance for your answer.

 

Regards,

 

David CHOLLET

 

 

  • Mad_hatter 

    I'm writing here the Microsoft answer on this, received on another thread.

     

    Nivedipa-MSFT
    replied to Mad_hatter

    ‎Apr 22 2022 07:57 AM
    @Mad_hatter - It'll happen whenever PMA gets the RetargetCompletion call from CC. This would happen after the Invite gets accepted but apparently not. CC likely just starts the retarget to MC as soon as it gets the invite. We could change this behavior to subscribe the bot to rosters as soon as we get the invite.

     

    David CHOLLET

     

  • Mad_hatter's avatar
    Mad_hatter
    Brass Contributor
    Could I have a feedback on this ?
    It is really annoying, especially for a bot running at the customer's site.

    Regards,

    David CHOLLET
    • Mad_hatter's avatar
      Mad_hatter
      Brass Contributor

      Mad_hatter 

      I'm writing here the Microsoft answer on this, received on another thread.

       

      Nivedipa-MSFT
      replied to Mad_hatter

      ‎Apr 22 2022 07:57 AM
      @Mad_hatter - It'll happen whenever PMA gets the RetargetCompletion call from CC. This would happen after the Invite gets accepted but apparently not. CC likely just starts the retarget to MC as soon as it gets the invite. We could change this behavior to subscribe the bot to rosters as soon as we get the invite.

       

      David CHOLLET

       

Resources