> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.marketcall.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Testing a rented phone number using the Twilio Virtual Telephony

**Testing a rented phone number using the Twilio Virtual Telephony**

**Registration**

To test a rented phone number, an affiliate can use a trial version of the Twilio service.

First, you need to register and verify by email and phone. To get a $10 bonus to your account, you need to click on our referral link: http://www.twilio.com/referral/CwaVOP



![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/1_1jugg35.png)

After verification you would need to answer a couple of questions for the final registration. It is enough to set the options as in the screenshot below.


![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/2_vaqhsu.png)

**Rent a number**

After registration you need to go to the number rental page: https://www.twilio.com/console/phone-numbers/search

Choose a country
Click the "Search" button”


![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/3_2grkld.png)

After that you would see a list of numbers for rent. You need to choose any suitable one and click the “Buy”button.


![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/4_4a6jw5.png)

After that the confirmation page opens, you need to click on the " Buy " button at the bottom.


![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/5_16fvurl.png)

**Adding a SIP Domain**

After renting a number you need to add it to the SIP domain. To do this, click on the link: https://www.twilio.com/console/voice/sip/endpoints/add

Next, you need to fill in the required fields to create a SIP domain.

Friendly name - The name for this SIP domain setting
SIP URI - a unique subdomain that will be used for the connection in future.
IP Access control list - create a list of allowed IP addresses (details below)
Credential list - creating a list of allowed SIP domain users (details below)

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/6_163v7rp.png)

**IP Access control list**
****
Friendly name - the name of the list
CIDR Network address - the address range. You can specify your external IP address in the 1.1.1.1/32 format. You can find out your external IP here: https://whatismyipaddress.com/ 
Friendly name - Name for the address range

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/7_1o8abwn.png)

**Credential list**
Friendly name - The name of the list
Username - you can specify the number that you bought in the E. 164 format (for example: +15005551212)
Password - a password of at least 12 letters, one uppercase letter, one lowercase letter and a number.

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/8_197tzsm.png)

After you fill in all the required fields, you would need to enable SIP registration and specify the list of users that was created earlier.


![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/9_1y2dznb.png)

**Connecting a virtual SIP client**
The connection of the virtual SIP client will be based on the example of the Microsip program. You can download the program on this link: https://www.microsip.org/downloads

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/10_mt69on.png)

After installation run the program and open the drop-down menu and click "Add account".

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/snimok-ekrana-2021-02-18-19463_1tkknby.jpg)

A window with the settings will be opened, you need to fill in the following fields:

Account name - the name
SIP Server - the address of your SIP domain, it must be in this format - youdomain.sip.us1.twilio.com (for example, if you specified the SIP URI: mc-webmaster-1234, the domain will be mc-webmaster-1234.sip.us1.twilio.com)
SIP Proxy - the same as for the SIP Server
User name - the username specified in the Username in the Credential list section
Domain - the same as for the SIP Server
Login - the username specified in the Username in the Credential list section
Password - the password specified in Password in the Credential list section
The rest of the settings can be left as in the screenshot. Click "Save".

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/frame-1_1onkfyr.jpg)

After setting up the account, in case of a successful connection, the green icon (Online) in the lower left corner of the program should light up.

Now you can make calls to rented numbers.

Alternative programs for connecting a SIP client:

[X-lite](https://www.counterpath.com/x-lite-download/)
[Zoiper](https://www.zoiper.com/)


