> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Demo Call with Telnyx WebRTC

> Make a demo call using Telnyx WebRTC. Try the hosted demo app or the JS SDK in your browser to test call quality, signaling, and media flow end to end.

This documentation demonstrates how to set up, place, and receive demo calls using Telnyx WebRTC on **Mobile** (Android/iOS) and **Web** platforms.

***

## Part A: Mobile Demo Application (Android & iOS)

### 1. Buy a Phone Number

* Sign in to your Telnyx account.
* Navigate to **Numbers → Search & Buy Numbers**.
* Select and purchase a phone number suitable for voice calls. *(You will use this number as Caller ID.)*

<img src="https://mintcdn.com/telnyx/VYiRDGy8TCRNJLEC/img/portal-buy-a-phone-number.png?fit=max&auto=format&n=VYiRDGy8TCRNJLEC&q=85&s=08bb6cdb0dfd77fca58145e66943ebcd" alt="" width="2382" height="1128" data-path="img/portal-buy-a-phone-number.png" />

***

### 2. Create and Configure a SIP Connection

* Go to **Voice → SIP Connections** in Telnyx Mission Control Portal.
* Click **Add SIP Connection** and select **Credentials-based authentication**.
* Choose your desired **Username** and **Password**.

<img src="https://mintcdn.com/telnyx/VYiRDGy8TCRNJLEC/img/portal-sip-username-and-credential.png?fit=max&auto=format&n=VYiRDGy8TCRNJLEC&q=85&s=78f31b1cfda44f22ade92afe427f4b82" alt="" width="2388" height="1112" data-path="img/portal-sip-username-and-credential.png" />

* Assign an **Outbound Voice Profile** to the connection.
* Assign a **Number** to the connection (set in step 1).
* Configure **Push Credentials** for inbound call notifications:
  * Use one of the public certificates provided by Telnyx for testing push notifications (available for iOS and Android).

<img src="https://mintcdn.com/telnyx/VYiRDGy8TCRNJLEC/img/portal-configure-push.png?fit=max&auto=format&n=VYiRDGy8TCRNJLEC&q=85&s=b12cc17c3a0c1ddef6cdb183540664d3" alt="" width="2418" height="1122" data-path="img/portal-configure-push.png" />

***

### 3. Download the Mobile Demo Application

* [Android Demo App](https://play.google.com/store/apps/details?id=org.telnyx.webrtc.compose_app)
* [iOS Demo App](https://apps.apple.com/us/app/telnyx-webrtc/id1565472123)

***

### 4. Add Your SIP Profile to the Mobile Application

* Open your downloaded demo app.
* Go to **Profiles**.
* Create a new profile by entering your SIP **Username** and **Password** (set in step 2).
* Save the profile.

## <img src="https://mintcdn.com/telnyx/VYiRDGy8TCRNJLEC/img/mobile-filled-adding-sip-profile-form.png?fit=max&auto=format&n=VYiRDGy8TCRNJLEC&q=85&s=fc37b10bb34fb764ebcf7b4308e5a107" alt="" width="1179" height="2556" data-path="img/mobile-filled-adding-sip-profile-form.png" />

### 5. Make a Connection (Mobile)

* Select and activate your newly created SIP profile in the app.
* Establish your initial connection to register your device with Telnyx.
  *(Required to enable push notifications.)*

***

### 6. Make an Outbound Call (Mobile)

* Enter the destination number in **E.164 format** (e.g., `+12345678900`) within the app.
* Tap the call button to initiate your call.

<img src="https://mintcdn.com/telnyx/VYiRDGy8TCRNJLEC/img/mobile-make-call-ringing-call.png?fit=max&auto=format&n=VYiRDGy8TCRNJLEC&q=85&s=07fe2c87d45642fbcbbba21ec5c85f43" alt="" width="1179" height="2556" data-path="img/mobile-make-call-ringing-call.png" />

***

### 7. Receive an Inbound Call (Mobile)

* After the first successful connection, incoming calls to your Telnyx number trigger push notifications.
* Accept incoming calls directly from notifications.

<img src="https://mintcdn.com/telnyx/VYiRDGy8TCRNJLEC/img/mobile-receive-call-ringing.png?fit=max&auto=format&n=VYiRDGy8TCRNJLEC&q=85&s=2ba114eafc321c67d734d97e2fc2afc9" alt="" width="1179" height="2556" data-path="img/mobile-receive-call-ringing.png" />

***

## Part B: Web Demo Application

### 1. Buy a Phone Number

* *(Follow same steps as Mobile—Part A, Step 1.)*

<img src="https://mintcdn.com/telnyx/2URMJX3zP3rZ0vDO/img/webdemo-phone-number.png?fit=max&auto=format&n=2URMJX3zP3rZ0vDO&q=85&s=ef6dc3758c8589e87f4d84b5b4e44a1c" alt="" width="3174" height="1618" data-path="img/webdemo-phone-number.png" />

***

### 2. Create and Configure a SIP Connection

* *(Follow same steps as Mobile—Part A, Step 2, but skip push credentials, not required for web.)*

<img src="https://mintcdn.com/telnyx/2URMJX3zP3rZ0vDO/img/webdemo-connection-username-and-password.png?fit=max&auto=format&n=2URMJX3zP3rZ0vDO&q=85&s=265082143d9ad57fb1486c60dafc327b" alt="" width="3192" height="1692" data-path="img/webdemo-connection-username-and-password.png" />

***

### 3. Use the Web Demo Application

* Open the **Telnyx WebRTC Web Demo**: [https://webrtc.telnyx.com/](https://webrtc.telnyx.com/)
* Register your web client with the following information:
  * **Username:** Your SIP Username (configured in step 2).
  * **Password:** Your SIP Password (configured in step 2).
  * **Call Number:** Your Telnyx phone number in **E.164 format** (`+12345678900`).
  * **Caller Name:** *(Optional)* Enter your preferred caller name or leave blank for the default name.

Once successfully registered, you can make and receive calls directly in your browser.

<img src="https://mintcdn.com/telnyx/2URMJX3zP3rZ0vDO/img/webdemo-dail-number.png?fit=max&auto=format&n=2URMJX3zP3rZ0vDO&q=85&s=cd033d349b12b343d5a960993a341dd7" alt="" width="3802" height="1898" data-path="img/webdemo-dail-number.png" />

***

### 4. Make an Outbound Call (Web)

* Enter the destination phone number in **E.164 format**.
* Click "Call" to initiate your call.

<img src="https://mintcdn.com/telnyx/2URMJX3zP3rZ0vDO/img/webdemo-outbound-call-ringing.png?fit=max&auto=format&n=2URMJX3zP3rZ0vDO&q=85&s=cfe980ae700e3502dd5b7b11bef5bd3c" alt="" width="3820" height="1844" data-path="img/webdemo-outbound-call-ringing.png" />

***

### 5. Receive an Inbound Call (Web)

* Incoming calls to your Telnyx number appear as notifications in your web app.

<img src="https://mintcdn.com/telnyx/2URMJX3zP3rZ0vDO/img/webdemoincoming-call.png?fit=max&auto=format&n=2URMJX3zP3rZ0vDO&q=85&s=1b39a9120ef994019dc75fcf39e0a207" alt="" width="3794" height="1944" data-path="img/webdemoincoming-call.png" />
