Mar 16 2022 09:16 AM
Hi,
I'm having trouble again with a simple scenario involving cloud communication. I'm still using directly the GRAPH API, without SDK.
This thread references this other one here.
A PSTN caller calls a bot, that answers then escalates the call to a conference by inviting a user, or several users from its tenant. While escalating to a conference, the bot plays an audio file for the caller, using the playPrompt GRAPH API route.
This works well, except that one hear a blank during the playback, at the exact moment the call is escalating to a conference. I suppose it is when escalating cause it happens only when the first user is invited, not for the others.
Regards,
David CHOLLET
Mar 16 2022 11:02 PM
Mar 17 2022 12:41 AM - edited Mar 17 2022 01:45 AM
@Nivedipa-MSFT- I do not refer to any sample. I just do the following
Result: the audio message is played fine, but the caller hears a blank during the playback when the new user participant receives the invitation to the conference.
If you invite other participants to this group call (step 4/ again and again), no more "blank" will be heard from the playback.
Regards,
David CHOLLET
Mar 22 2022 04:15 AM
Mar 22 2022 05:46 AM - edited Mar 22 2022 05:50 AM
@Nivedipa-MSFT- I just used my cellular phone. I'm located in France.
Here is a full log extraction of all JSON communications between my public web site and microsoft cloud, except for token acquisition.
All timestamps are UTC. I've hidden my company name, my company tenant id, and my personal phone number (XXX, YYY and ZZZ)
<<<<<<<<<< is a HTTP communication from microsoft cloud to my web site.
>>>>>> is a HTTP communication from my web site to microsoft cloud.
<<<<<< is a HTTP response from microsoft cloud
220322;12:19:07.885;[00760];027;SERVER;CALLBACK_CALL_ACK;07E6;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"created","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"incoming","direction":"incoming","callbackUri":"https://preprod.XXX.cloud:8544/callback/call","callRoutes":[{"@odata.type":"#microsoft.graph.callRoute","routingType":"lookup","original":{"@odata.type":"#microsoft.graph.identitySet","phone":{"@odata.type":"#microsoft.graph.identity","id":"+33970710793","displayName":"+33970710793","identityProvider":"None"}},"final":{"@odata.type":"#microsoft.graph.identitySet","applicationInstance":{"@odata.type":"#microsoft.graph.identity","id":"3fd63780-6492-4f09-a7c0-090716856c94","identityProvider":"AAD"}}}],"source":{"@odata.type":"#microsoft.graph.participantInfo","id":"1dd9f980-5919-43e4-837f-303cdc7c7bcd","identity":{"@odata.type":"#microsoft.graph.identitySet","phone":{"@odata.type":"#microsoft.graph.identity","id":"ZZZ","displayName":"ZZZ","identityProvider":"None"}},"endpointType":"default"},"targets":[{"@odata.type":"#microsoft.graph.invitationParticipantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","applicationInstance":{"@odata.type":"#microsoft.graph.identity","id":"3fd63780-6492-4f09-a7c0-090716856c94","tenantId":"YYY","identityProvider":"AAD"}},"endpointType":"default","id":"b0c53ec0-8e19-4e53-a624-5003a13c527f","region":"emea","languageId":null}],"tenantId":"YYY","myParticipantId":"b0c53ec0-8e19-4e53-a624-5003a13c527f","callChainId":"b98d6c1f-8f20-47e8-9551-d581ca3e4218","incomingContext":{"@odata.type":"#microsoft.graph.incomingContext","sourceParticipantId":"1dd9f980-5919-43e4-837f-303cdc7c7bcd"},"mediaHostedRegion":"Unknown","id":"9a1f6100-608e-4f15-8d80-bdfaffe79653","applicationMetadata":{"botData":{"isMultiParty":false}},"pstnServiceType":"DirectRouting"}}]}
220322;12:19:08.017;[00410];020;APP_CALL;ANSWER_CALL;D7B0;RestRequest;GetWebRequest;T;>>>>>> request type=AnswerCallRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/answer method=POST content=application/json raw={"callbackUri":"https://preprod.XXX.cloud:8544/callback/call","mediaConfig":{"@odata.type":"#microsoft.graph.serviceHostedMediaConfig","preFetchMedia":[]},"acceptedModalities":["audio","video"]}
220322;12:19:08.137;[00429];020;APP_CALL;ANSWER_CALL_ACK;D7B0;RestRequest;Read;T;<<<<<< request type=AnswerCallRequest response=
220322;12:19:08.240;[00760];027;SERVER;CALLBACK_CALL_ACK;5EA6;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"establishing","callChainId":"b98d6c1f-8f20-47e8-9551-d581ca3e4218"}}]}
220322;12:19:08.774;[00760];027;SERVER;CALLBACK_CALL_ACK;613A;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"establishing","mediaState":{"@odata.type":"#microsoft.graph.callMediaState","audio":"active"},"callChainId":"b98d6c1f-8f20-47e8-9551-d581ca3e4218"}}]}
220322;12:19:09.044;[00760];027;SERVER;CALLBACK_CALL_ACK;99E7;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"established","mediaState":{"@odata.type":"#microsoft.graph.callMediaState","audio":"active"},"callChainId":"b98d6c1f-8f20-47e8-9551-d581ca3e4218","replacesContext":"aHR0cHM6Ly9jYy11a3NvLTA4LmNjLnNreXBlLmNvbS9jYy92MS9jYWxsUGFydGljaXBhbnQvYWFkZjg4NjQtNmJjOS00N2M4LTg0ZDEtYzdlMjI4MjYyOWFiLzEwL2szLzMwMy9yZXBsYWNlbWVudD9ydD0xZGQ5Zjk4MDU5MTk0M2U0ODM3ZjMwM2NkYzdjN2JjZCZyYz1leUp5ZEd4aWNtTWlPbnNpWlhScFpDSTZJbUprTVRrMFpHVTFMV001TXpNdE5EazVaaTFoWXpneExUSm1OVFEzTVRWaU56VXlOU0lzSW1sd1pHbDBZeUk2Wm1Gc2MyVXNJbkJ6ZENJNklrUnBjbVZqZEZKdmRYUnBibWNpZlN3aWNuUnBaQ0k2SWpRNkt6TXpOakl3TVRrNE5EWXdJbjAlMjUzZCZpPTQ2JmU9NjM3ODMyMzA0OTAwNzEzNTM0"}}]}
220322;12:19:09.052;[00410];020;APP_CALL;SUBSCRIBE_TO_TONE;2DBF;RestRequest;GetWebRequest;T;>>>>>> request type=SubscribeToToneRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/subscribeToTone method=POST content=application/json raw={"ClientContext":"DEFAULT_TONE"}
220322;12:19:09.310;[00429];020;APP_CALL;SUBSCRIBE_TO_TONE_ACK;2DBF;RestRequest;Read;T;<<<<<< request type=SubscribeToToneRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#subscribeToToneOperation","@odata.type":"#microsoft.graph.subscribeToToneOperation","id":"7eec36b1-955a-4256-b2da-9a9768cf3190","status":"Completed","clientContext":"DEFAULT_TONE","resultInfo":null}
220322;12:19:09.327;[00410];020;APP_CALL;PLAY_PROMPT;E82E;RestRequest;GetWebRequest;T;>>>>>> request type=PlayPromptRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/playPrompt method=POST content=application/json raw={"prompts":[{"@odata.type":"#microsoft.graph.mediaPrompt","mediaInfo":{"uri":"https://preprod.XXX.cloud:8544/file/DATA/audio/TANNCE/YYY/8b2275bb-c677-44e3-abeb-c98e42cc2e37\\audio_02_01.wav"},"loop":1}]}
220322;12:19:09.591;[00429];020;APP_CALL;PLAY_PROMPT_ACK;E82E;RestRequest;Read;T;<<<<<< request type=PlayPromptRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#playPromptOperation","@odata.type":"#microsoft.graph.playPromptOperation","id":"1ac59194-7581-410e-a268-4fc176838379","status":"Running","clientContext":null,"completionReason":null,"resultInfo":null,"prompts":[{"@odata.type":"#microsoft.graph.mediaPrompt","loop":1,"mediaInfo":{"uri":"https://preprod.XXX.cloud:8544/file/DATA/audio/TANNCE/YYY/8b2275bb-c677-44e3-abeb-c98e42cc2e37\\audio_02_01.wav","resourceId":null,"resourceCacheScope":null}}]}
220322;12:19:14.240;[00760];027;SERVER;CALLBACK_CALL_ACK;0DE6;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"established","toneInfo":{"@odata.type":"#microsoft.graph.toneInfo","sequenceId":1,"tone":"tone2"}}}]}
220322;12:19:14.250;[00410];020;APP_CALL;CANCEL_MEDIA;66EC;RestRequest;GetWebRequest;T;>>>>>> request type=CancelMediaRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/cancelMediaProcessing method=POST content=application/json raw={"clientContext":"FILE0 => FILE2"}
220322;12:19:14.425;[00429];020;APP_CALL;CANCEL_MEDIA_ACK;66EC;RestRequest;Read;T;<<<<<< request type=CancelMediaRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#cancelMediaProcessingOperation","@odata.type":"#microsoft.graph.cancelMediaProcessingOperation","id":"f963ee9e-423a-42cb-acc1-a27bb4b355ed","status":"Completed","clientContext":"FILE0 => FILE2","all":null,"resultInfo":null}
220322;12:19:14.443;[00410];023;USER;PRESENCE;FA52;RestRequest;GetWebRequest;T;>>>>>> request type=GetPresenceRequest uri=https://graph.microsoft.com/v1.0/users/a75f8483-9fb4-4e07-8e41-6ef5d1e928b0/presence method=GET content=application/json raw=null
220322;12:19:14.443;[00410];020;APP_CALL;PLAY_PROMPT;7D35;RestRequest;GetWebRequest;T;>>>>>> request type=PlayPromptRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/playPrompt method=POST content=application/json raw={"prompts":[{"@odata.type":"#microsoft.graph.mediaPrompt","mediaInfo":{"uri":"https://preprod.XXX.cloud:8544/file/DATA/audio/TANNCE/YYY/8b2275bb-c677-44e3-abeb-c98e42cc2e37\\audio_01.wav"},"loop":1}]}
220322;12:19:14.488;[00429];023;USER;PRESENCE_ACK;FA52;RestRequest;Read;T;<<<<<< request type=GetPresenceRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('a75f8483-9fb4-4e07-8e41-6ef5d1e928b0')/presence/$entity","id":"a75f8483-9fb4-4e07-8e41-6ef5d1e928b0","availability":"Available","activity":"Available"}
220322;12:19:14.523;[00410];020;APP_CALL;INVITE_PARTICIPANT;9D80;RestRequest;GetWebRequest;T;>>>>>> request type=InviteParticipantsRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants/invite method=POST content=application/json raw={"participants":[{"identity":{"user":{"id":"a75f8483-9fb4-4e07-8e41-6ef5d1e928b0"}}}],"clientContext":"57d6bffd-9493-4999-ab9e-352460d2bec6"}
220322;12:19:14.564;[00760];027;SERVER;CALLBACK_CALL_ACK;E7AB;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"deleted","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/operations/1ac59194-7581-410e-a268-4fc176838379","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/operations/1ac59194-7581-410e-a268-4fc176838379","resourceData":{"@odata.type":"#microsoft.graph.playPromptOperation","prompts":[{"@odata.type":"#microsoft.graph.mediaPrompt","mediaInfo":{"@odata.type":"#microsoft.graph.mediaInfo","uri":"https://preprod.XXX.cloud:8544/file/DATA/audio/TANNCE/YYY/8b2275bb-c677-44e3-abeb-c98e42cc2e37\\audio_02_01.wav"},"loop":1}],"completionReason":"completedSuccessfully","status":"completed","resultInfo":{"@odata.type":"#microsoft.graph.resultInfo","code":400,"subcode":8508,"message":"Action falied, the operation was cancelled."},"id":"1ac59194-7581-410e-a268-4fc176838379"}}]}
220322;12:19:14.670;[00429];020;APP_CALL;INVITE_PARTICIPANT_ACK;9D80;RestRequest;Read;T;<<<<<< request type=InviteParticipantsRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#inviteParticipantsOperation","@odata.type":"#microsoft.graph.inviteParticipantsOperation","id":"a3f0bd6e-73e5-4663-a329-66a736df51c5","status":"Running","clientContext":"57d6bffd-9493-4999-ab9e-352460d2bec6","resultInfo":null,"participants":[{"endpointType":null,"replacesCallId":null,"hidden":null,"removeFromDefaultAudioRoutingGroup":null,"participantId":"672038c7-0efb-4edf-8eff-4e2ea4492cfa","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":"YYY","registrantId":null}}}]}
220322;12:19:14.694;[00429];020;APP_CALL;PLAY_PROMPT_ACK;7D35;RestRequest;Read;T;<<<<<< request type=PlayPromptRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#playPromptOperation","@odata.type":"#microsoft.graph.playPromptOperation","id":"642bd92f-70d3-4ba5-aca4-265847f9f183","status":"Running","clientContext":null,"completionReason":null,"resultInfo":null,"prompts":[{"@odata.type":"#microsoft.graph.mediaPrompt","loop":1,"mediaInfo":{"uri":"https://preprod.XXX.cloud:8544/file/DATA/audio/TANNCE/YYY/8b2275bb-c677-44e3-abeb-c98e42cc2e37\\audio_01.wav","resourceId":null,"resourceCacheScope":null}}]}
220322;12:19:15.652;[00760];027;SERVER;CALLBACK_CALL_ACK;EA5A;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"established","mediaState":{"@odata.type":"#microsoft.graph.callMediaState","audio":"active"},"meetingInfo":{"@odata.type":"#microsoft.graph.tokenMeetingInfo","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USIsInR5cCI6IkpXVCIsIng1dCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USJ9.eyJhcHBJZCI6ImRjMTMzMTg0LTFkYWItNDgxYS05Njc3LTkyMmViMTA5ZjNiMSIsImNvbnZlcnNhdGlvbkNvbnRyb2xsZXIiOiJodHRwczovL2FwaS5mbGlnaHRwcm94eS50ZWFtcy5taWNyb3NvZnQuY29tL2FwaS92Mi9lcC9jb252LXVrc28tMDYuY29udi5za3lwZS5jb20vY29udi93LUJORjkwYl9FU2V6ZEFjbFlVM2p3P2k9MSZlPTYzNzgzMDYwODg0NTU3MTQ1MyIsImFjdGl2aXR5SWQiOiJiOThkNmMxZi04ZjIwLTQ3ZTgtOTU1MS1kNTgxY2EzZTQyMTgiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL2lkZW50aXR5L2NsYWltcy90ZW5hbnRpZCI6ImJkMTk0ZGU1LWM5MzMtNDk5Zi1hYzgxLTJmNTQ3MTViNzUyNSIsIm5iZiI6MTY0Nzk1MTU1NSwiZXhwIjoxNjQ4MDM3OTU1LCJpc3MiOiJodHRwczovL2FwaS5ib3RmcmFtZXdvcmsuY29tIiwiYXVkIjoiaHR0cHM6Ly9hcGkuYm90ZnJhbWV3b3JrLmNvbSJ9.muISiIsrP1MIRjPKbq27tJ3o1yHR03PDkmMUdVI3CyLYaxZJIWb5RvZqo7FWxVBUQKlqDOU6DACr5fkMsMB7bh3BsqJDdBCyuXemEIHAy2pUVUhMHBNd7X4vh6x8IOytDSwW7wgogXE4B7EvhWza53iLSZCGFttKtNdVnOKSmbf6CAW-YHAFboWL_gim93YiDxv-f-BMJjsFnc2ZRWa1vYpkwzBuzWtuwFIxyw2IMRgCt-CTJNzGCCWCDqSx3gVxGCcR7-Sw4n6v2QylJxqvjRGjMV6B0RuE2fPVu7AwDBIq9-db2iqbbNC4Kn-pdBFHpPE48Tzr6xqHGdsbz7Qhxg"},"callChainId":"b98d6c1f-8f20-47e8-9551-d581ca3e4218","replacesContext":"aHR0cHM6Ly9jYy11a3NvLTA4LmNjLnNreXBlLmNvbS9jYy92MS9jYWxsUGFydGljaXBhbnQvYWFkZjg4NjQtNmJjOS00N2M4LTg0ZDEtYzdlMjI4MjYyOWFiLzEwL2szLzMwMy9yZXBsYWNlbWVudD9ydD0xZGQ5Zjk4MDU5MTk0M2U0ODM3ZjMwM2NkYzdjN2JjZCZyYz1leUp5ZEd4aWNtTWlPbnNpWlhScFpDSTZJbUprTVRrMFpHVTFMV001TXpNdE5EazVaaTFoWXpneExUSm1OVFEzTVRWaU56VXlOU0lzSW1sd1pHbDBZeUk2Wm1Gc2MyVXNJbkJ6ZENJNklrUnBjbVZqZEZKdmRYUnBibWNpZlN3aWNuUnBaQ0k2SWpRNkt6TXpOakl3TVRrNE5EWXdJbjAlMjUzZCZpPTQ2JmU9NjM3ODMyMzA0OTAwNzEzNTM0"}}]}
220322;12:19:15.692;[00760];027;SERVER;CALLBACK_CALL_ACK;9AD0;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants","resourceData":[{"@odata.type":"#microsoft.graph.participant","info":{"@odata.type":"#microsoft.graph.participantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","phone":{"@odata.type":"#microsoft.graph.identity","id":"ZZZ","displayName":"ZZZ","identityProvider":"None"}},"endpointType":"default","endpointId":"1750eba6-676e-4734-a677-3a963e6d3217","participantId":"1dd9f980-5919-43e4-837f-303cdc7c7bcd","replacementLink":"https://cc-ukso-08.cc.skype.com/cc/v1/callParticipant/aadf8864-6bc9-47c8-84d1-c7e2282629ab/10/k3/303/replacement?rt=1dd9f980591943e4837f303cdc7c7bcd&rc=eyJydGxicmMiOnsiZXRpZCI6ImJkMTk0ZGU1LWM5MzMtNDk5Zi1hYzgxLTJmNTQ3MTViNzUyNSIsImlwZGl0YyI6ZmFsc2UsInBzdCI6IkRpcmVjdFJvdXRpbmcifSwicnRpZCI6IjQ6KzMzNjIwMTk4NDYwIn0%253d&i=46&e=637832304900713534"},"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/aadf8864-6bc9-47c8-84d1-c7e2282629ab/10/k3/303/replacement?rt=1dd9f980591943e4837f303cdc7c7bcd&rc=eyJydGxicmMiOnsiZXRpZCI6ImJkMTk0ZGU1LWM5MzMtNDk5Zi1hYzgxLTJmNTQ3MTViNzUyNSIsImlwZGl0YyI6ZmFsc2UsInBzdCI6IkRpcmVjdFJvdXRpbmcifSwicnRpZCI6IjQ6KzMzNjIwMTk4NDYwIn0%253d&i=46&e=637832304900713534","id":"1dd9f980-5919-43e4-837f-303cdc7c7bcd"},{"@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":"YYY","identityProvider":"AAD"}},"endpointType":"default","endpointId":"0dd5fd39-0706-4176-a572-b342c12d25dc","clientVersion":"IVR (appid:dc133184-1dab-481a-9677-922eb109f3b1)","participantId":"b0c53ec0-8e19-4e53-a624-5003a13c527f","replacementLink":"https://cc-ukso-08.cc.skype.com/cc/v1/callParticipant/aadf8864-6bc9-47c8-84d1-c7e2282629ab/24/k2/329/replacement?rt=b0c53ec08e194e53a6245003a13c527f&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=46&e=637832304900713534"},"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-ukso-08.cc.skype.com/cc/v1/callParticipant/aadf8864-6bc9-47c8-84d1-c7e2282629ab/24/k2/329/replacement?rt=b0c53ec08e194e53a6245003a13c527f&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=46&e=637832304900713534","id":"b0c53ec0-8e19-4e53-a624-5003a13c527f"}]}]}
220322;12:19:22.512;[00410];020;APP_CALL;REMOVE_PARTICIPANT;1714;RestRequest;GetWebRequest;T;>>>>>> request type=RemoveParticipantRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants/672038c7-0efb-4edf-8eff-4e2ea4492cfa method=DELETE content=application/json raw=null
220322;12:19:22.513;[00410];023;USER;PRESENCE;E8A3;RestRequest;GetWebRequest;T;>>>>>> request type=GetPresenceRequest uri=https://graph.microsoft.com/v1.0/users/79564ab8-3085-407b-b03d-2a658a769843/presence method=GET content=application/json raw=null
220322;12:19:22.622;[00429];023;USER;PRESENCE_ACK;E8A3;RestRequest;Read;T;<<<<<< request type=GetPresenceRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('79564ab8-3085-407b-b03d-2a658a769843')/presence/$entity","id":"79564ab8-3085-407b-b03d-2a658a769843","availability":"Available","activity":"Available"}
220322;12:19:22.624;[00410];020;APP_CALL;INVITE_PARTICIPANT;4886;RestRequest;GetWebRequest;T;>>>>>> request type=InviteParticipantsRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants/invite method=POST content=application/json raw={"participants":[{"identity":{"user":{"id":"79564ab8-3085-407b-b03d-2a658a769843"}}}],"clientContext":"78fae13b-0745-480a-bbbd-4c9552098389"}
220322;12:19:22.717;[00429];020;APP_CALL;REMOVE_PARTICIPANT_ACK;1714;RestRequest;Read;T;<<<<<< request type=RemoveParticipantRequest response=
220322;12:19:22.736;[00429];020;APP_CALL;INVITE_PARTICIPANT_ACK;4886;RestRequest;Read;T;<<<<<< request type=InviteParticipantsRequest response={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#inviteParticipantsOperation","@odata.type":"#microsoft.graph.inviteParticipantsOperation","id":"906d0988-dea8-404a-9ac3-2edcc0b3c9d5","status":"Running","clientContext":"78fae13b-0745-480a-bbbd-4c9552098389","resultInfo":null,"participants":[{"endpointType":null,"replacesCallId":null,"hidden":null,"removeFromDefaultAudioRoutingGroup":null,"participantId":"ccad3ddb-ec25-495a-ba03-f7bbe768eb61","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":"YYY","registrantId":null}}}]}
220322;12:19:22.808;[00760];027;SERVER;CALLBACK_CALL_ACK;2501;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"deleted","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/operations/a3f0bd6e-73e5-4663-a329-66a736df51c5","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/operations/a3f0bd6e-73e5-4663-a329-66a736df51c5","resourceData":{"@odata.type":"#microsoft.graph.inviteParticipantsOperation","participants":[{"@odata.type":"#microsoft.graph.invitationParticipantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","user":{"@odata.type":"#microsoft.graph.identity","id":"a75f8483-9fb4-4e07-8e41-6ef5d1e928b0","tenantId":"YYY"}},"participantId":"672038c7-0efb-4edf-8eff-4e2ea4492cfa"}],"status":"failed","clientContext":"57d6bffd-9493-4999-ab9e-352460d2bec6","resultInfo":{"@odata.type":"#microsoft.graph.resultInfo","code":487,"subcode":5234,"message":"addParticipants failed for participant 8:orgid:a75f8483-9fb4-4e07-8e41-6ef5d1e928b0. Underlying reason: The Call Has Been Cancelled. DiagCode: 487#5234.@"},"id":"a3f0bd6e-73e5-4663-a329-66a736df51c5"}}]}
220322;12:19:24.560;[00760];027;SERVER;CALLBACK_CALL_ACK;3515;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"updated","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/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":"YYY","identityProvider":"AAD"}},"endpointType":"default","endpointId":"0dd5fd39-0706-4176-a572-b342c12d25dc","clientVersion":"IVR (appid:dc133184-1dab-481a-9677-922eb109f3b1)","participantId":"b0c53ec0-8e19-4e53-a624-5003a13c527f","replacementLink":"https://cc-ukso-08.cc.skype.com/cc/v1/callParticipant/aadf8864-6bc9-47c8-84d1-c7e2282629ab/24/k2/329/replacement?rt=b0c53ec08e194e53a6245003a13c527f&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=46&e=637832304900713534"},"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-ukso-08.cc.skype.com/cc/v1/callParticipant/aadf8864-6bc9-47c8-84d1-c7e2282629ab/24/k2/329/replacement?rt=b0c53ec08e194e53a6245003a13c527f&rc=eyJydGlkIjoiMjg6b3JnaWQ6M2ZkNjM3ODAtNjQ5Mi00ZjA5LWE3YzAtMDkwNzE2ODU2Yzk0In0%253d&i=46&e=637832304900713534","id":"b0c53ec0-8e19-4e53-a624-5003a13c527f"}]}]}
220322;12:19:24.565;[00410];020;APP_CALL;REMOVE_PARTICIPANT;79F1;RestRequest;GetWebRequest;T;>>>>>> request type=RemoveParticipantRequest uri=https://graph.microsoft.com/v1.0/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/participants/ccad3ddb-ec25-495a-ba03-f7bbe768eb61 method=DELETE content=application/json raw=null
220322;12:19:24.839;[00429];020;APP_CALL;REMOVE_PARTICIPANT_ACK;79F1;RestRequest;Read;T;<<<<<< request type=RemoveParticipantRequest response=
220322;12:19:24.874;[00760];027;SERVER;CALLBACK_CALL_ACK;419F;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"deleted","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/operations/906d0988-dea8-404a-9ac3-2edcc0b3c9d5","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653/operations/906d0988-dea8-404a-9ac3-2edcc0b3c9d5","resourceData":{"@odata.type":"#microsoft.graph.inviteParticipantsOperation","participants":[{"@odata.type":"#microsoft.graph.invitationParticipantInfo","identity":{"@odata.type":"#microsoft.graph.identitySet","user":{"@odata.type":"#microsoft.graph.identity","id":"79564ab8-3085-407b-b03d-2a658a769843","tenantId":"YYY"}},"participantId":"ccad3ddb-ec25-495a-ba03-f7bbe768eb61"}],"status":"failed","clientContext":"78fae13b-0745-480a-bbbd-4c9552098389","resultInfo":{"@odata.type":"#microsoft.graph.resultInfo","code":200,"subcode":5300,"message":"addParticipants failed for participant 8:orgid:79564ab8-3085-407b-b03d-2a658a769843. Underlying reason: The conversation has ended. DiagCode: 0#5300.@"},"id":"906d0988-dea8-404a-9ac3-2edcc0b3c9d5"}}]}
220322;12:19:24.964;[00760];027;SERVER;CALLBACK_CALL_ACK;CE48;QServer;EndOp;X;<<<<<<<<<< {"@odata.type":"#microsoft.graph.commsNotifications","value":[{"@odata.type":"#microsoft.graph.commsNotification","changeType":"deleted","resource":"/app/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceUrl":"/communications/calls/9a1f6100-608e-4f15-8d80-bdfaffe79653","resourceData":{"@odata.type":"#microsoft.graph.call","state":"terminated","resultInfo":{"@odata.type":"#microsoft.graph.resultInfo","code":200,"subcode":5003,"message":"The conversation has ended. DiagCode: 0#5003.@"},"meetingInfo":{"@odata.type":"#microsoft.graph.tokenMeetingInfo","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USIsInR5cCI6IkpXVCIsIng1dCI6InBid0FFbGduc25NSGc4aWhucElISHlKdmI5USJ9.eyJhcHBJZCI6ImRjMTMzMTg0LTFkYWItNDgxYS05Njc3LTkyMmViMTA5ZjNiMSIsImNvbnZlcnNhdGlvbkNvbnRyb2xsZXIiOiJodHRwczovL2FwaS5mbGlnaHRwcm94eS50ZWFtcy5taWNyb3NvZnQuY29tL2FwaS92Mi9lcC9jb252LXVrc28tMDYuY29udi5za3lwZS5jb20vY29udi93LUJORjkwYl9FU2V6ZEFjbFlVM2p3P2k9MSZlPTYzNzgzMDYwODg0NTU3MTQ1MyIsImFjdGl2aXR5SWQiOiJiOThkNmMxZi04ZjIwLTQ3ZTgtOTU1MS1kNTgxY2EzZTQyMTgiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL2lkZW50aXR5L2NsYWltcy90ZW5hbnRpZCI6ImJkMTk0ZGU1LWM5MzMtNDk5Zi1hYzgxLTJmNTQ3MTViNzUyNSIsIm5iZiI6MTY0Nzk1MTU1NSwiZXhwIjoxNjQ4MDM3OTU1LCJpc3MiOiJodHRwczovL2FwaS5ib3RmcmFtZXdvcmsuY29tIiwiYXVkIjoiaHR0cHM6Ly9hcGkuYm90ZnJhbWV3b3JrLmNvbSJ9.muISiIsrP1MIRjPKbq27tJ3o1yHR03PDkmMUdVI3CyLYaxZJIWb5RvZqo7FWxVBUQKlqDOU6DACr5fkMsMB7bh3BsqJDdBCyuXemEIHAy2pUVUhMHBNd7X4vh6x8IOytDSwW7wgogXE4B7EvhWza53iLSZCGFttKtNdVnOKSmbf6CAW-YHAFboWL_gim93YiDxv-f-BMJjsFnc2ZRWa1vYpkwzBuzWtuwFIxyw2IMRgCt-CTJNzGCCWCDqSx3gVxGCcR7-Sw4n6v2QylJxqvjRGjMV6B0RuE2fPVu7AwDBIq9-db2iqbbNC4Kn-pdBFHpPE48Tzr6xqHGdsbz7Qhxg"},"callChainId":"b98d6c1f-8f20-47e8-9551-d581ca3e4218"}}]}
The first call of INVITE_PARTICIPANT at 12:19:14.523 produces a blank during the reading of audio file audio_01.wav. The second call of INVITE_PARTICIPANT at 12:19:22.624 does not.
Best regards,
David CHOLLET
Mar 27 2022 10:45 PM - edited Mar 31 2022 05:31 AM
@Mad_hatter - We tried to repro this issue. Whenever I am calling playprompt garph API only that time I got the callback for playprompt. But When I am calling invite participants the playprompt callback not getting at our end.
Mar 31 2022 05:50 AM
@Nivedipa-MSFTWhere do you get the callback problem from ? I have no callback issue in this case, I'm a bit confused ...
My bot plays an audio message to the caller using GRAPH API. When the bot escalates the call to a conference, by inviting a TEAMS user, the caller hears a small blank during the audio message playback. That's all.
You have all the message exchanges in JSON format between the bot and microsoft cloud.
Regards,
David CHOLLET
Mar 31 2022 07:11 AM
Apr 01 2022 05:05 AM
@Nivedipa-MSFT- Please find attach a video where you can see
Regards,
David CHOLLET
Apr 06 2022 11:33 PM
SolutionThanks,
Nivedipa
-----------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Apr 07 2022 12:32 AM - edited Apr 07 2022 12:32 AM
Great, thanks. Could I have a feedback concerning my other problem ?
The problem with the roster empty ?
You can find the description here :
https://techcommunity.microsoft.com/t5/teams-developer/roster-update-empty/m-p/3257482#M5008
Regards,
David CHOLLET
Apr 13 2022 09:37 PM
@Mad_hatter - Could you please share the detailed repro steps for this roster empty issue?
Apr 14 2022 12:41 AM - edited Apr 14 2022 12:41 AM
@Nivedipa-MSFT- Yes, of course, it is the exact same scenario as above. When the bot escalates the call to a conference, there is a 50% percent chance that no roster is received (or rather a single roster empty) until the first participant accepts the invitation and enter the conference. When running fine, and while inviting participants, I receive usually a roster with the caller and the bot.
This becomes an issue when the caller drops the call before the first participant accepts, cause the bot is then "blind" and doesn't know the fact that the caller has quit.
Regards,
David CHOLLET
Apr 21 2022 10:57 PM
Apr 22 2022 02:06 AM
@Nivedipa-MSFTI don't understand the acronyms PMA, CC and MC. But I'm glad to here that you plan to fix this issue !
Regards,
David CHOLLET
Apr 22 2022 03:25 AM
Apr 22 2022 05:59 AM
@Nivedipa-MSFT- It is done, please refer to this link here
Apr 06 2022 11:33 PM
SolutionThanks,
Nivedipa
-----------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.