Giter Club home page Giter Club logo

communication-services-web-calling-tutorial's Introduction

page_type languages products
sample
javascript
nodejs
azure
azure-communication-services

ACS Calling Tutorial

Prerequisites

Code structure

  • ./Project/src: client side source code
  • ./Project/webpack.config.js: Project bundler. Has a simple local server for user token provisioning.
  • ./Project/serverConfig.json: configuration file for specifying the connection strings.

Cloning the repo

  1. Open a terminal or command prompt, and cd into a folder where you would like to clone this repo. The run:
    • git clone https://github.com/Azure-Samples/communication-services-web-calling-tutorial
    • cd communication-services-web-calling-tutorial/Project

Running the app locally

  1. Get your Azure Communication Services resource connection string from the Azure portal, and put it as the value for connectionString in serverConfig.json file.
  2. From the terminal/command prompt, Run:
    • npm install
    • npm run build-local
    • npm run start-local
  3. Open localhost:5000 in a browser. (Supported browsers are Chrome, Edge, and Safari)

Deploying to Azure App Service

  • This app has been setup to be easily deployed to Azure App Service
    • webpack.config.js.
      • allowedHosts: Specifies that it allows this app to be hosted in <appname>.azurewebsites.org which is how Azure App Service hosts web apps.
      • contentBase: The folder where public assets can be served from. For example, a request to your app like GET https://<appname>.azurewebsites.org/file.txt, will serve the file.txt that resides in the contentBase folder. This app has this field set to the './public' folder.
    • package.json. Azure app service will run these scripts when deploying.
      • "build" script. Used by Azure App Service when deploying to build the application.
      • "start" script. Used by Azure App Service when deploying. This will start server in port 8080. Port 8080 is specified in webpack.config.js. Do not change this port when deploying to Azrue App Service becaue this is the port that Azure App Service uses. Tutorial on how to deploy a NodeJs app to Azure App Service Note: If you want to deploy this application with a different deployment environment other than Azure App Service, you may need to change these configurations according to your deployment environment specifications.

Troubleshooting

  • Make sure your ACS connecting string is specified in serverConfig.json or you wont be able to provision ACS User Access tokens for the app.
  • If any errors occur, check the browser console logs for errors. Also, check the webpack server side console logs for errors.
  • Web Push Notifications - In order to test web push notifications, we must run the app in HTTPS, hence you will need to deploy this app to a secured server that will serve the application with HTTPS. You will need to specify value in ./clientConfig.json for the key "oneSignalAppId". And you will need to specify value for "functionAppOneSignalTokenRegistrationUrl" in ./serverConfig.json. To learn how to set up a web push notification architecture for the ACS Web Calling SDK, please follow our ACS Web Calling SDK - Web push notifications tutorial:

Resources

  1. Documentation on how to use the ACS Calling SDK for Javascript can be found on https://docs.microsoft.com/en-gb/azure/communication-services/quickstarts/voice-video-calling/calling-client-samples?pivots=platform-web
  2. ACS Calling SDK for Javascript API reference documentation can be found on https://docs.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/?view=azure-communication-services-js
  3. Documentation on Communications Calling SDK with Teams identity can be found on https://learn.microsoft.com/en-us/azure/communication-services/concepts/teams-interop
  4. Documentation on how to setup and get access tokens for teams User can be found on https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/manage-teams-identity?pivots=programming-language-javascript

communication-services-web-calling-tutorial's People

Contributors

akania avatar ankeshni avatar chriswhilar avatar cn0151 avatar csandjon avatar ddematheu2 avatar dependabot[bot] avatar edwardlee-msft avatar elavarasidc avatar enricohuang avatar fizampou avatar hkharoud avatar hyunoosung avatar jannovak-msft avatar kuipan-msft avatar lei-msft avatar lpx1989 avatar microsoft-github-operations[bot] avatar microsoftopensource avatar minnieliu avatar mohtasim avatar pkestikar avatar rorezende avatar rzdor avatar sharifrahaman avatar shaunasong avatar snyk-bot avatar sravanthivelidandla avatar tinaharter avatar vriosrada-msft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

communication-services-web-calling-tutorial's Issues

Join Teems Meeting Fails

Built and Running the App.

Using communication-calling": "1.0.0-beta.6"

Have created a Teams meeting.
Am in it.

Try joining via meeting link.

If no one is in the meeting, I will be put in lobby,
When I am let in things work well.
Great!

If someone is already in the meeting
When I try to join via ACS I get

Call end reason: code: 403, subcode: 5221

How can I avoid this?

Thanks

Calling phone number fails with " Call end reason: code: 500, subcode: 511404"

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

cloned repo
cd communication-services-web-calling-tutorial/Project
npm install
npm run build
npm run start
entered my personal cell phone number into "Destination Phone Identity or Phone Identities" input field
entered another personal cell phone (my wife's number) into "Alternate Caller Id (For calling phone numbers only)" input field
clicked Place Call
I can't find any guidance on how to enter phone numbers. Should I include region code like +1 for US or not? Neither seems to work, and including +1 vs 1 doesn't seem to help.

Any log messages given by the failure

Red error alert box appears with text: "Call end reason: code: 500, subcode: 511404"

Expected/desired behavior

Phone call completes

OS and Version?

Windows 10.

Versions

Node version 12.13.1. npm version 6.12.1

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Quickstart fails at npm install step

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

git clone "repo"
npm install

Any log messages given by the failure

npm install

[email protected] install C:\Users\copennin\node_modules\contextify
node-gyp rebuild

C:\Users\copennin\node_modules\contextify>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
contextify.cc
win_delay_load_hook.cc
c:\users\copennin\node_modules\contextify\src\contextify.cc(52): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\context
ify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(6482): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(52): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\node_modules\contextify\src\contextify.cc(62): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(62): error C2512: 'ContextifyContext::ContextifyContext': no appropriate default constructor available [C:\Users\copennin\node_modules\contextify\
build\contextify.vcxproj]
c:\users\copennin\node_modules\contextify\src\contextify.cc(77): error C2660: 'v8::Value::ToString': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2810): note: see declaration of 'v8::Value::ToString' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(83): error C2660: 'v8::Value::ToString': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2810): note: see declaration of 'v8::Value::ToString' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(83): error C2512: 'v8::ScriptOrigin::ScriptOrigin': no appropriate default constructor available [C:\Users\copennin\node_modules\contextify\build\
contextify.vcxproj]
c:\users\copennin\node_modules\contextify\src\contextify.cc(126): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contex
tify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(6482): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(126): error C2660: 'Nan::Persistent<v8::Function,v8::NonCopyablePersistentTraits>::Reset': function does not take 1 arguments [C:\Users\copenni
n\node_modules\contextify\build\contextify.vcxproj]
with
[
T=v8::Function
]
c:\users\copennin\node_modules\nan\nan_persistent_12_inl.h(25): note: see declaration of 'Nan::Persistent<v8::Function,v8::NonCopyablePersistentTraits>::Reset'
with
[
T=v8::Function
] (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(131): error C2661: 'v8::Function::NewInstance': no overloaded function takes 0 arguments [C:\Users\copennin\node_modules\contextify\build\contexti
fy.vcxproj]
c:\users\copennin\node_modules\contextify\src\contextify.cc(140): error C2039: 'SetHiddenPrototype': is not a member of 'v8::FunctionTemplate' [C:\Users\copennin\node_modules\contextify\build\contextify.vcx
proj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(6461): note: see declaration of 'v8::FunctionTemplate'
c:\users\copennin\node_modules\contextify\src\contextify.cc(150): error C2039: 'SetAccessCheckCallbacks': is not a member of 'v8::ObjectTemplate' [C:\Users\copennin\node_modules\contextify\build\contextify.
vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(6754): note: see declaration of 'v8::ObjectTemplate'
c:\users\copennin\node_modules\contextify\src\contextify.cc(176): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(182): error C2660: 'v8::Object::GetRealNamedProperty': function does not take 1 arguments [C:\Users\copennin\node_modules\contextify\build\context
ify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(3988): note: see declaration of 'v8::Object::GetRealNamedProperty' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(192): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(198): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj
]
c:\users\copennin\node_modules\contextify\src\contextify.cc(203): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(209): error C2660: 'v8::Object::GetRealNamedProperty': function does not take 1 arguments [C:\Users\copennin\node_modules\contextify\build\context
ify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(3988): note: see declaration of 'v8::Object::GetRealNamedProperty' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(210): error C2660: 'v8::Object::GetRealNamedProperty': function does not take 1 arguments [C:\Users\copennin\node_modules\contextify\build\context
ify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(3988): note: see declaration of 'v8::Object::GetRealNamedProperty' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(218): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(224): error C2661: 'v8::Object::Delete': no overloaded function takes 1 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxp
roj]
c:\users\copennin\node_modules\contextify\src\contextify.cc(229): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(237): error C2661: 'v8::Object::GetPropertyNames': no overloaded function takes 0 arguments [C:\Users\copennin\node_modules\contextify\build\conte
xtify.vcxproj]
c:\users\copennin\node_modules\contextify\src\contextify.cc(277): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contex
tify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(6482): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(277): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj
]
c:\users\copennin\node_modules\contextify\src\contextify.cc(286): error C2660: 'v8::Value::ToString': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2810): note: see declaration of 'v8::Value::ToString' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(291): error C2660: 'v8::Value::ToString': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2810): note: see declaration of 'v8::Value::ToString' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(319): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
c:\users\copennin\node_modules\contextify\src\contextify.cc(322): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [C:\Users\copennin\node_modules\contextify\build\contextify.vcxproj]
c:\users\copennin\appdata\local\node-gyp\cache\14.17.6\include\node\v8.h(2822): note: see declaration of 'v8::Value::ToObject' (compiling source file ..\src\contextify.cc)
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.22000
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\copennin\node_modules\contextify
gyp ERR! node -v v14.17.6
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\contextify):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

audited 58 packages in 4.734s

2 packages are looking for funding
run npm fund for details

found 1 high severity vulnerability
run npm audit fix to fix them, or npm audit for details
PS C:\Users\copennin\communication-services-web-calling-tutorial>

Expected/desired behavior

A clean installation

OS and Version?

Windows 11 21H2

Versions

npm 6.14.15
node v14.17.6

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Joining Teams Meeting with Azure Communication service fails

Initially was able to connect to a teams meeting using the sample and it worked fine. However, after trying continuously , unable to connect with teams meeting call. Tried regenerating the keys however call ends. Call end reason: code: 403, subcode: 5222

Following README instructions do not result in running app locally

This issue is for a: (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Clone repo and follow README ## Before running the sample for the first time

Any log messages given by the failure

No failure in the console, but browser does not open the web app

Expected/desired behavior

When the browser is opened, the app is loaded

OS and Version?

Windows 11

Versions

Edge latest version

Mention any other details that might be useful

Couple things that are suspicious:

Package.json

  • "start-local": "webpack-dev-server --port 5000 --mode development",
  • "start": "webpack-dev-server --host 0.0.0.0",
    README
    1. Open localhost:5000 in a browser. (Supported browsers are Chrome, Edge Chromium, and Safari)
  • Deployment to Azure mentions, but it is not in the first section
      • "start-local" script. This will start the server on local machine at port 5000.
        webpack.config.js
  • const PORT = process.env.port || 8080;

So is it localhost/0.0.0.0 and 5000/8080 port? Can someone update the code/config/readme to make it work for local deployment?


Thanks! We'll be in touch soon.

Placing a call, permission check

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

clone repository && cd communication-services-web-calling-tutorial/Project
npm install
change the function "placeCall", replace communicationUserId with microsoftTeamsUserId
npm run build
npm run start
on the site opening click "provision user"
enter an azure AD user-id into the "destination identity" field
click on place call / place call with video

Any log messages given by the failure

UI shows "Call end reason: code: 403, subcode: 10124"
develer tools shows "ResultDetail":"Permission check for callee to interact with caller is not allowed.","ResultValue":"Failure","ResultCode":403

Expected/desired behavior

Call should start

OS and Version?

Windows 10

Versions

"@azure/communication-calling": "1.5.4-beta.1",

Mention any other details that might be useful

I have a request to build a solution for unattended offices where a guest can request to call an employee with the provided info screen system.
Is there any permission I can toggle to allow this?

Video not streaming

Bug report:

  • The video is not streaming in the web, as shown in the image below. I receive this error in my console -
    azure:ACS-calling:warning 2023-07-13T12:23:56.085Z CallClient1:CallStack:MA:webrtc2-2:SSM:localStreamWatcher WebRTC Stats for send video not found

Could you please fix this?

image

Azure Communication Service - unable to run the quickstart app in Azure App Service

i have deployed the app into Azure App Service.

It's working fine locally. However, when I deploy it into Azure App Service it fails with a 404 error. Please see below the error.

YIqPe 1

In the section, Code Structure it says

./webpack.config.js: Project bundler. Has a simple local server for user token provisioning.

Does it mean it doesn't work after deployment to Production? If not, then how do I get it work?

operationFailure: Acs user is not allowed to join conversation.

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

The meeting is in progress but the attendee is unable to join the meeting.
"Acs user is not allowed to join conversation."

Minimal steps to reproduce

Host creates 'New Meeting'
Host sends an invite to attendee
Host joins the meeting
Attendee enters meeting link
Attendee attempts to 'Join meeting'
error: Call end reason: code: 403, subcode: undefined

Any log messages given by the failure

sdk.bundle.js:56 POST https://api.flightproxy.teams.microsoft.com/api/v2/ep/conv-usea-08.conv.skype.com/conv/urcKNy2Y2EGfOahh3ATf5A?i=122&e=637480785215135816 403
(anonymous) @ sdk.bundle.js:56
e.exports @ sdk.bundle.js:56
e.exports @ sdk.bundle.js:64
Promise.then (async)
c.request @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:56
(anonymous) @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
i @ sdk.bundle.js:64
e.sendRequest @ sdk.bundle.js:64
e.postAsync @ sdk.bundle.js:64
e.attempt @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:56
setTimeout (async)
e.start @ sdk.bundle.js:56
scheduleNextRequest @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
e.sendRequest @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
Promise.then (async)
sendRequest @ sdk.bundle.js:64
sendPostRequest @ sdk.bundle.js:64
e.startOrJoinCall @ sdk.bundle.js:64
joinGivenConversation @ sdk.bundle.js:64
e.handleConversationResolutionConflict @ sdk.bundle.js:64
e.handleCallEnd @ sdk.bundle.js:64
r.<computed> @ sdk.bundle.js:64
handleIncomingMsgAsync @ sdk.bundle.js:64
(anonymous) @ sdk.bundle.js:64
setTimeout (async)
handleIncomingNotification @ sdk.bundle.js:64
e.handleMessage @ sdk.bundle.js:40
e.safeExecuteHandle @ sdk.bundle.js:20
e.handleMessage @ sdk.bundle.js:20
e.tryMessageHandlers @ sdk.bundle.js:28
e.onTrouterRequest @ sdk.bundle.js:28
e.onDownstreamRequest @ sdk.bundle.js:20
e.dispatchDownstreamRequest @ sdk.bundle.js:28
e.onDownstreamRequest @ sdk.bundle.js:28
e.onSocketMessage @ sdk.bundle.js:28
(anonymous) @ sdk.bundle.js:28
n.emit @ sdk.bundle.js:20
n.onPacket @ sdk.bundle.js:20
i.onPacket @ sdk.bundle.js:20
n.onPacket @ sdk.bundle.js:20
n.onData @ sdk.bundle.js:20
websocket.onmessage @ sdk.bundle.js:20
react_devtools_backend.js:2430 azure:ACS:error 2/9/2021, 13:29:35:635 [CallClient][ACSCall{080da94b-1d2d-47c1-938a-727951d799b7}{Connecting}] Call end reason=CallSetupError, code=403, subCode=5221

See attached screenshot

Expected/desired behavior

Expect to join meeting in progress

OS and Version?

macOS Big Sur Version 11.2

Versions

Mention any other details that might be useful


Screen Shot 2021-02-09 at 1 30 33 PM

How to receive incoming phone calls?

This issue is for a:

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Description

We are using PSTN phone integration, and were able to perform outbound calls from the Web Sample towards the phone number.

But we were not able to receive incoming calls, as we found no way to indicate the phone number of the client.

Is there a way to do it? (The UI suggests that there is a way of doing it.)

Thanks,
Yehoshua

Error: Invalid meeting link

Screen Shot 2021-02-04 at 5 46 32 PM

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

'Click here to join the meeting' in the invite email
and joining the meeting
in the Microsoft Teams.app or the browser worked.

Entering the meeting link directly in the web-calling-tutorial failed: Error: Invalid meeting link

Minimal steps to reproduce

Enter MeetingLink

https://teams.microsoft.com/l/meetup-join/19%3ameeting_Mjg3ZDE1NDctNTYyZS00NWFjLTk3MmQtNTk5YzkyYzQ1Yjk2%40thread.v2/0?context=%7b%22Tid%22%3a%2231ebb41f-b13e-48f9-be32-d2a71ea9524a%22%2c%22Oid%22%3a%22528af7a9-6368-471a-b023-407973a07025%22%7d

Any log messages given by the failure

Failed to join teams meeting: Error: Invalid meeting link

Expected/desired behavior

Expected to join meeting

OS and Version?

macOS Big Sur Version 11.2

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

https://52.168.169.1/identities' does not support the API version '2020-07-20-preview2'

This issue is for a: (mark with an x)

- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Start the web example and then press "Provision user and initialize SDK"

Any log messages given by the failure

RestError: The HTTP resource that matches the request URI 'https://52.168.169.1/identities' does not support the API version '2020-07-20-preview2'.
{
"name": "RestError",
"code": "UnsupportedApiVersion",
"statusCode": 400,
"request": {
"streamResponseBody": false,
"url": "https://contactfinder-communicationservice.communication.azure.com/identities?api-version=2020-07-20-preview2",
"method": "POST",
"headers": {
"_headersMap": {
"content-type": "application/json; charset=utf-8",
"user-agent": "azsdk-js-communication-administration/2020-07-20-preview2 core-http/1.1.8 Node/v10.15.3 OS/(x64-Windows_NT-10.0.19041)",
"x-ms-client-request-id": "08137f78-92a3-404e-9a56-6cd43c550143",
"host": "REDACTED",
"date": "Thu, 14 Jan 2021 22:01:20 GMT",
"x-ms-content-sha256": "REDACTED",
"authorization": "REDACTED",
"cookie": "REDACTED"
}
},
"withCredentials": false,
"timeout": 0,
"keepAlive": true,
"requestId": "08137f78-92a3-404e-9a56-6cd43c550143"
},
"details": {
"error": {
"code": "UnsupportedApiVersion",
"message": "The HTTP resource that matches the request URI 'https://52.168.169.1/identities' does not support the API version '2020-07-20-preview2'.",
"innerError": null
}
},
"message": "The HTTP resource that matches the request URI 'https://52.168.169.1/identities' does not support the API version '2020-07-20-preview2'."
}

Expected/desired behavior

Get identity and connect correctly to ACS

OS and Version?

Windows 10 and Chrome Versión 87.0.4280.88 (Build oficial) (64 bits)

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.