Reference Turnkey Applications Tutorials Visual Designer
    • REST API
      • Overview
      • API Endpoint
      • Authentication
      • Requests
      • Responses
      • Paging
      • Reason Codes Dictionary
    • Management APIs
      • Accounts
      • Identity Access Management Early Access
        • Identity Access Management Overview
        • Identity Access Management API
          • User Management
            • Create a User
            • Update a User
            • Retrieve a User
            • Delete a User
          • API Keys Management
            • Create an API Key
            • Update an API Key
            • Retrieve an API Key
            • Delete an API Key
      • Applications
      • Clients
        • Create a Client
        • Delete a Client
        • Change Client’s Password
        • Get a List of Available Clients
      • Incoming Phone Numbers
        • IncomingPhoneNumber Instance Resource
        • IncomingPhoneNumbers List Resource
        • Local IncomingPhoneNumber Factory Resource
        • Toll-Free IncomingPhoneNumber Factory Resource
        • Mobile IncomingPhoneNumber Factory Resource
        • Attach a phone number to an application
        • Delete a phone number
        • List of Phone Numbers
        • Incoming Phone Number Regex Support
      • Notifications
      • Usage Records
    • Voice
      • Calls
        • Call List Resource URI
        • Making a Call
        • Modifying Live Calls
        • Examples
        • List Filter
        • Paging Information
      • Conference Management
        • Supported Operations
        • Conference List Resource URI
      • Conference Participants Management
        • Participants List Resource URI
      • Gather DTMF
      • Gather Speech
      • Say
      • Play
      • Hold
      • Recordings
      • Refers
        • Resource Properties
        • Supported Operations
        • Paging Information
      • Resume
      • SIP Refer Support
    • SMS
      • Messages
        • Send SMS
        • Get SMS List
        • Get single SMS Information
        • SMS Attributes
      • Error Codes
    • Email
    • RCML
      • Overview
        • Interacting with Your Application
        • RCML Verbs
      • Dial
        • Client
        • Conference
        • Number
        • SIP
      • Email
      • Gather
      • Say
      • Play
      • SMS
      • Hold
      • Resume
      • Hangup
      • Pause
      • Redirect
      • Record
      • Reject
      • Refer
    • Visual Designer API
      • List Application Templates
      • :List a Specific Application Template
      • Create a Visual Designer Application
      • Get Application Details
      • Save Application Changes
      • Create Application Parameters
      • List Application Parameters
      • Delete Application Parameters
      • Upload Application Media Files
      • List Application Media Files
      • Play Application Media Files
      • Delete Application Media Files
      • Get Application Logs
      • Delete Application Logs
      • Get Application Settings
      • Modify Application Settings
      • Rename an Application
      • Delete an Application
      • Get Visual Designer Configuration
    • Turnkey Apps APIs
      • Smart 2FA
        • Sending One-Time Passwords
        • Verifying One-Time Passwords
        • Cancel One-Time Passwords
        • Session Detail Record (SDR)
        • Get list of One-Time Passwords
        • Get a Single One-Time Password
        • Usage Record One-Time Passwords
        • Common Response Error Code
        • Limit
          • Create Limit
          • Update Limit
          • Delete Limit
          • Get List of Limits
      • Call Queuing
      • Auto Attendant
        • Users
        • Announcement
        • Auto Attendant System
        • Menu
        • Schedule
        • Phone Number
        • Usage Records
        • Third Party Integration
      • Number Masking
        • Application
        • Mask Number Pool
        • Context
        • Participants
        • Interactions
        • Usage Records
      • Task Router
docs 1.0
  • docs
    • 1.0
  • docs
  • How to use the WebRTC Demo with wlparam:replace[textMode="sps",parmText="application_name",text="CPaaS",defaultText="$INFER_FROM_DOMAIN"]

How to use the WebRTC Demo with wlparam:replace[textMode="sps",parmText="application_name",text="CPaaS",defaultText="$INFER_FROM_DOMAIN"]

Table of Contents
  • Pre-requisites
  • Calling CPaaS with WebRTC
  • Call from another CPaaS Client
  • Chatting with another CPaaS Client

CPaaS WebRTC Demo enables fast and convenient set up of CPaaS platform over web interface.

This tutorial will show you how to use the new CPaaS WebRTC Demo to take advantage of CPaaS’s telephony features.

Pre-requisites

An active CPaaS Cloud account. If you don’t have one, you can Sign Up for an account or login to an existing one.

Calling CPaaS with WebRTC

First, let’s see how we can make a call to CPaaS and hear a simple announcement

  • Open a browser and Sign in with your credentials

  • Click on your Username at the top right of the screen and click on WebRTC Demo

  • WebRTC demo will ask you to login with your default client. The password is the same that you used to login to your main CPaaS account.

  • When the main screen is presented:

    1. Click on the Contacts icon

    2. Click on number ‘1235’

    3. Click dial to make a call to CPaaS and hear the announcement associated with ‘1235’

    4. WebRTC Demo will request access to Microphone and Camera and then will present the main screen

You could follow these steps to call any CPaaS number by either selecting a number from the list or adding a new one in contacts.

Call from another CPaaS Client

If you want to test Peer to Peer WebRTC Calls, please follow the steps below:

  • First, create a new CPaaS client from the CPaaS Console under the Clients Tab.

  • Use a separate tab to login to CPaaS WebRTC Demo as described before but this time Sign in with the new CPaaS Client you just created

  • After you sign in:

    1. Click on the Contacts icon

    2. Click on the + icon to add a new contact

    3. Enter the username of the new CPaaS Client you just created.

    4. Click on the new contact you just created

    5. Click on the video call icon

    6. WebRTC Demo may request access to Microphone and Camera and then will present the main screen

At this time, CPaaS WebRTC Demo will start to ring in the other Client’s window:

  • Pick up from the other tab and you are ready to talk!

Chatting with another CPaaS Client

  1. Click on the Contacts icon

  2. Click on the new contact you just created or called before

  3. Click on the chat text field, enter your message and press Return to send your message ot the other CPaaS Client

Platform

Programmable Voice

Programmable SMS

Turnkey Applications

Smart 2FA

Call Queue

Auto Attendant

Number Masking

Task Router

Campaign Manager

Learn

Terms And Conditions

About

ABOUT

CONTACT US

© 2020, All rights reserved.