Bot making audio/video calls to peer but not able to see/hear

%3CLINGO-SUB%20id%3D%22lingo-sub-1435747%22%20slang%3D%22en-US%22%3EBot%20making%20audio%2Fvideo%20calls%20to%20peer%20but%20not%20able%20to%20see%2Fhear%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435747%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20followed%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fapplication-post-calls%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%23examples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fapplication-post-calls%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%23examples%3C%2FA%3E%26nbsp%3Barticle%20and%20did%20the%20following.%3C%2FP%3E%3CP%3E1.%20Registered%20the%20bot%20and%20allowed%20required%20permissions%3C%2FP%3E%3CP%3E2.%20Added%20one%20team%20member%20to%20my%20Team%20on%20Teams%3C%2FP%3E%3CP%3E3.%20Using%20above%20article%2C%20made%20a%20video%2Faudio%20call%20API%20from%20Postman%3C%2FP%3E%3CP%3E4.%20The%20call%20went%20through.%3C%2FP%3E%3CP%3E5.%20My%20teammate%20got%20an%20incoming%20call%20from%20%22MyBot%22%3C%2FP%3E%3CP%3E6.%20But%20I%20am%20unable%20to%20understand%20how%20can%20I%20communicate%20with%20him%20if%20my%20callback%20URL%20is%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Foauth.pstmn.io%2Fv1%2Fcallback%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foauth.pstmn.io%2Fv1%2Fcallback%3C%2FA%3E%26nbsp%3B(Postman)%3C%2FP%3E%3CP%3E7.%20I%20tried%20both%20bot-to-peer%20and%20peer-to-peer.%20But%20in%20latter%2C%20I%20am%20not%20sure%20what%20should%20be%20the%20media%20configuration%20values%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20help%20me%20here%20to%20setup%20this%20audio%2Fvideo%20call%20between%20me%20and%20my%20teammate%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1435747%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1436277%22%20slang%3D%22en-US%22%3ERe%3A%20Bot%20making%20audio%2Fvideo%20calls%20to%20peer%20but%20not%20able%20to%20see%2Fhear%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1436277%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F680878%22%20target%3D%22_blank%22%3E%40PriyaAcharya%3C%2FA%3E%26nbsp%3B-%20you%20can%20handle%20call%20by%20using%20the%20bot%20endpoint.%20Could%20you%20please%20go%20through%20the%20sample%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmicrosoft-graph-comms-samples%2Ftree%2Fmaster%2FSamples%2FV1.0Samples%2FRemoteMediaSamples%2FIncidentBot%2FBot%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3F%20Try%20if%20that%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442193%22%20slang%3D%22en-US%22%3ERe%3A%20Bot%20making%20audio%2Fvideo%20calls%20to%20peer%20but%20not%20able%20to%20see%2Fhear%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442193%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20your%20help.%20We%20actually%20got%20it%20working%20by%20using%20ServiceMediaReq.%20Both%20audio%20and%20video%20work%20fine.%20Just%20a%20quick%20question.%20In%20my%20Team%2C%20i%20have%20few%20members%20who%20are%20%22members%22%20and%20others%20are%20%22guests%22.%20When%20i%20make%20a%20call%2C%20only%20the%20%22members%22%20get%20a%20call.%20The%20%22guest%22%20users%20dont.%20Any%20suggestions%20here%20please%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442471%22%20slang%3D%22en-US%22%3ERe%3A%20Bot%20making%20audio%2Fvideo%20calls%20to%20peer%20but%20not%20able%20to%20see%2Fhear%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442471%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F680878%22%20target%3D%22_blank%22%3E%40PriyaAcharya%3C%2FA%3E%26nbsp%3B-%20Could%20you%20please%20try%20to%20invite%20the%20guest%20using%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fparticipant-invite%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Egraph%20Api%3C%2FA%3E%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

I followed https://docs.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-beta&tabs=http#exa... article and did the following.

1. Registered the bot and allowed required permissions

2. Added one team member to my Team on Teams

3. Using above article, made a video/audio call API from Postman

4. The call went through.

5. My teammate got an incoming call from "MyBot"

6. But I am unable to understand how can I communicate with him if my callback URL is https://oauth.pstmn.io/v1/callback (Postman)

7. I tried both bot-to-peer and peer-to-peer. But in latter, I am not sure what should be the media configuration values?

 

Can anyone help me here to setup this audio/video call between me and my teammate?

 

Thanks!

 

3 Replies
Highlighted

@PriyaAcharya - you can handle call by using the bot endpoint. Could you please go through the sample here? Try if that helps.

Highlighted

Thanks for your help. We actually got it working by using ServiceMediaReq. Both audio and video work fine. Just a quick question. In my Team, i have few members who are "members" and others are "guests". When i make a call, only the "members" get a call. The "guest" users dont. Any suggestions here please?

Highlighted

@PriyaAcharya - Could you please try to invite the guest using graph Api ?