How to Integrate Your Custom VoIP Service
To integrate your custom VoIP service, follow these steps:1
Go to Phone Numbers Settings
Click your profile at the bottom-left corner of the sidebar, then click Settings.

In the Settings window, open Phone Numbers (under Channels).





2
Click on Custom VoIP
Click Purchase or Connect at the top right of the list, then choose Custom VoIP.



3
Add Phone Number
The Add custom VoIP window opens, with a short guide on the left. Enter your number in the Phone number field on the right, as your provider gives it, then click Continue.

Enter it in E.164 format: digits only, with an optional leading
+ (for example +12125550147). It’s how the number appears in NLPearl: calls are routed by the SIP settings you configure next.

4
Configure Inbound and/or Outbound
The window becomes Edit custom VoIP. On the right, two rows show where the number stands: Inbound (calls coming in) and Outbound (calls going out), each marked Configured or Not configured.Click a row to open its settings on the left, fill them in, and click Save. Configure the directions you need, then click Finish setup.



A number only works in the directions you configure:
- An inbound Pearl needs the Inbound configuration.
- Outbound campaigns, test calls, and calls started through the API need the Outbound configuration.
- Call transfers always use the Outbound configuration, even during inbound calls. If your Pearl transfers calls, configure Outbound too.
5
Configure Your VoIP Settings
Inbound Configuration Settings
1
Copy Your SIP Domain
NLPearl generates a SIP domain for this number. This is what tells your provider where to send incoming calls so they reach the platform.

The SIP domain isn’t something you type. It’s shown read-only at the top of the Inbound configuration: click the copy icon (or the field itself) to copy it.


2
TLS (SRTP) Encryption
Secures your VoIP traffic by encrypting both the signaling (via TLS) and media (via SRTP). It’s off by default: turn on TLS (SRTP) encryption only if your VoIP provider requires it.



3
Authentication Methods
Inbound calls require an authentication method. Under Authentication, choose one: IP-based authentication or Credential-based authentication. The two cannot be combined. A new inbound configuration starts on Credential-based authentication.


Credential-based authentication:Use a username and password to authenticate each incoming SIP request.NLPearl proposes a username and a password for you. Keep them, edit them, or click Regenerate credentials for a new pair.
- Username: 2–32 characters, letters and digits only.
- Password: 12–72 characters, with at least one uppercase letter, one lowercase letter, and one digit. Letters and digits only: special characters are not allowed.


Outbound Configuration Settings
1
TLS (SRTP) Encryption
Encrypts the signaling (TLS) and media (SRTP) of your outbound calls. It’s off by default: turn on TLS (SRTP) encryption only if your VoIP provider requires it (see the tips in the inbound settings above).



2
Transfer Calls with SIP REFER
Transfer calls with SIP REFER is on by default. When a Pearl transfers a call, NLPearl hands it over to your provider with the SIP REFER method, so the call continues directly between the caller and the destination.When enabled, it allows:

- Transferring a live call from one destination to another without media proxying
- Offloading media streams directly between endpoints
- Reducing latency and server load
A Warm Transfer, where Pearl introduces the call to the recipient first, always goes through NLPearl’s servers, whatever this setting.


3
SIP Trunk URL
This is the address your outbound calls will be sent to, typically provided by your VoIP provider. In SIP trunk URL, enter a domain or IPv4 address, with an optional port (for example 

sip.example-voip.com or 203.0.113.10:5060). Don’t add a sip: prefix. Up to 100 characters.

4
User Part
User part (SIP From) is the SIP user identity used in the “From” header of your outbound SIP requests. It’s how your VoIP system identifies the origin of the call. It’s required.What to enter:
You can use one of the following formats depending on your provider:

- A SIP username (e.g.
caller01) - A DID or phone number in
E.164format (e.g.+12125550147) - An extension (e.g.
201)
+ - _ . only. A full SIP URI such as caller01@example.com is not accepted.

5
Data Center
In Datacenter (network edge), select the network edge closest to your VoIP infrastructure to optimize call routing and reduce latency. Eight regions are available:



6
Authentication Methods (optional based on your VoIP)
If your provider requires authentication, choose one method under Authentication: Credential-based authentication or Headers-based authentication. The two cannot be combined.Credential-based authentication:Use this method if your VoIP provider requires username/password credentials to authenticate outbound calls.

Headers-based authentication:Use this method if your VoIP provider requires custom headers for SIP request authentication. Type a key, then press Enter to add its value and the next pair.

- Username: the identifier associated with your SIP account (up to 32 characters).
- Password: the password of that SIP user, as your provider defines it.


- Key: the name of the custom SIP header expected by your provider (e.g.
X-Account-Id,X-Access-Token). It must start withX-and can be up to 100 characters. - Value: the value used to validate the request (e.g. a token, account ID, or static secret), up to 500 characters. Letters, digits, and
- _ . ! ~ * ' ( ) [ ] / : + $are allowed.
Header-based auth is typically used for advanced integrations or when SIP gateways are behind proxies/firewalls that don’t support IP or credential-based auth.
Ensure this matches exactly what your provider expects, as even small typos (like case or symbols) can lead to rejections.
You can add up to 15 key-value pairs if needed, for example, to meet multi-token security policies.


7
Allow Our IP Addresses
If your trunk only accepts calls from known addresses, allow ours. At the bottom of the Outbound configuration, Our IP addresses, to allow on your trunk → View list opens the list (Twilio’s SIP Trunking IP Addresses).Then click Save.



6
Managing Your Custom VoIP Phone Numbers
Once integrated:



- Assign to a Pearl: Open the Pearl, click Settings at the top right of its page, then pick the number in the Phone Number row: Custom VoIP numbers are listed under SIP. A number can be used by only one running inbound Pearl at a time.


- Update Configuration: In Settings → Phone Numbers, click ⋯ (More) on the number’s row, then Edit. The same window opens: click Inbound or Outbound, change the settings, and click Save.
- Delete a Number: Click ⋯ (More) on the number’s row, then Delete, and confirm with Delete number. The number is removed immediately, along with its SIP domain. Pearls using it are paused, and your workspace’s notification email receives the list of paused Pearls.


Advantages of Custom VoIP Integration
Flexibility: Leverage your existing VoIP infrastructure without switching providers or modifying your current setup.Global Reach: Access phone numbers and make calls in any region your VoIP provider supports, ideal for international teams. Unlike NLPearl numbers, Custom VoIP numbers aren’t limited to calling their own country.No Number Fee: NLPearl charges no monthly fee for Custom VoIP numbers. Your Pearls’ calls are billed at your usual NLPearl rate.Caller Context: Pass data to your Pearl on inbound calls with custom SIP headers (X- prefix). Each value lands in the matching Pre-call variable. Learn how.Explore Other Options
NLPearl Phone Numbers
Purchase and manage your NLPearl-hosted phone numbers directly, with instant activation and native support.
Twilio Integration
Explore our Twilio Integration to access a broader range of international phone numbers.
Need Assistance?
If you require help with the integration process, please refer to our support resources or contact our support team for guidance.
If you require help with the integration process, please refer to our support resources or contact our support team for guidance.

