News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
please tell me the flow of testing the conference call functionality in RingCentral WebPhone Demo
Tags: conferencing, conference call
Dec 22, 2023 at 1:25am   •   4 replies  •  0 likes
parul Kundra

I login in RingCentral WebPhone Demo

than I Received a call from partyA and after that I click on start conference button to start conference call and I also make call to another caller partyB then pop up get open and I again click on start conference button but my conference call not start please tell me the correct steps to test the conference call functionality on demo app

4 Answers
answered on Jan 8, 2024 at 12:49pm  

I test the latest code and it works well. Unfortunately, the demo just only creates a conference call and transfers the original call to a conference call with 2 parties. It does not provide methods to make a new call and transfer the third party to the conference call. That will be left for developers to implement. Here are the core functions and you need to develop them further.

function initConference() {
    if (!onConference) {
        .then((res) => res.json())
        .then((response) => {
          const pId = response.activeCalls[0].partyId;
          const tId = response.activeCalls[0].telephonySessionId;
          getConfVoiceToken(pId, tId).then((voiceToken) => {
            startConferenceCall(voiceToken, pId, tId);
            onConference = true;

function getPresenceActiveCalls() {
    return platform.get('/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true');

function getConfVoiceToken(pId, tId) {
    return platform
      .post('/restapi/v1.0/account/~/telephony/conference', {})
      .then((res) => res.json())
      .then((res) => {
        confSessionId =;
        return res.session.voiceCallToken;

function startConferenceCall(number, pId, tId) {
    const session = webPhone.userAgent.invite(number, {
      fromNumber: username,
    session.on('established', () => {
      console.log('Conference call started');
      bringIn(tId, pId)
        .then((res) => res.json())
        .then((response) => {
          console.log('Adding call to conference successful', response);
        .catch((e) => {
          console.error('Conference call failed', e.stack || e);

function bringIn(tId, pId) {
    const url = '/restapi/v1.0/account/~/telephony/sessions/' + confSessionId + '/parties/bring-in';
    return, {
      telephonySessionId: tId,
      partyId: pId,

The demo app initiate a conference call and immediately calls the bringIn() function, passing the telephony session id and the party id.

You need to implement a control to make a new call or bringIn existing call by calling the the bringIn method passing the telephonySessionId and partyId of the third call party.

answered on Jan 8, 2024 at 2:10am  

It is not working for me can you please test it for your sides and tell me the steps also

answered on Jan 4, 2024 at 1:48am  

is there any update on this?

on Jan 4, 2024 at 8:26am   •  0 likes

It's updated but I have not tried it yet. You can just retry the online demo.

answered on Dec 22, 2023 at 8:53am  

There is a bug in the demo code. We will fix it and update the code soon.


A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us