Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CCA audio conference demo #72

Draft
wants to merge 12 commits into
base: Simple_CC_demo_call_client
Choose a base branch
from

Conversation

SuaYoo
Copy link
Contributor

@SuaYoo SuaYoo commented Jan 28, 2021

Describe your changes

✋ Manual testing

  1. Provide manual testing instructions

🦊 Browser testing

Desktop

  • Edge
  • Chrome
  • Firefox
  • Safari

Mobile

  • Chrome (Android)
  • Safari (iOS)

📸 Screenshots


const telnyx = telnyxPackage(process.env.TELNYX_API_KEY);
const TELNYX_API_URL = 'https://api.telnyx.com';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add on env files?

selfCall.answer();

// Create a conference
const { data: conference } = await telnyx.conferences.create({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that we are creating a conference here and on audio-call-control/pages/api/call-control/webhook.js line 25, What we should do that?

@DeividVeloso
Copy link
Contributor

Includes this on README
npm i
npm build
npm run dev
create your env file using env.sample as an example.
ngrok http 3000

Errors

1 - If you try to call to a SIP number without this standard sip:sipname.sip@telnyx.com you get a dial 500 internal error on API.
2 - I did outbound and inbound calls and I couldn't see the TelnyxCallID on wss:rtc.telnyx.com messages.
3 - The hangup button is always active, so you can click many times and get error code: -32002 - message: "CALL DOES NOT EXIST"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants