# SIP Trunk Configuration Instruction with VoIP.ms SIP trunking

## Introduction

This article provides you with a step-by-step SIP Trunk Configuration of ProSBC with VoIP.ms Trunking, using the Web Portal configuration tool. Complete the general installation configuration steps, before you begin configuring your specific scenario. In this guide, Proxy is (208.100.60.17). You can use an FQDN too. If you want to use an FQDN, you need to configure the DNS [v3.1: DNS configuration](/configuration-details/configuration-by-web-portal-category/ip-network-settings/dns-configuration.md).

## VoIP.ms SIP Trunk Example

<figure><img src="https://docs.telcobridges.com/w/images/0/01/Voipms_Trunking.png" alt=""><figcaption></figcaption></figure>

**Configuration Steps**

| <p>(Step 1)<br>Create IP Network</p>                                                                                                                                                                                                                                                                                         | <p>(Step 2)<br>Create Protocol Stack</p>                                                                                                                                                                                                                                                                                                                                                         | <p>(Step 3)<br>Create Call Route</p>                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| <p></p><ul><li><a href="/pages/4Da0Y3tkR3YPkiQiMJq4">Configuring an IP Virtual Port</a></li><li><a href="/pages/7IjxZtyxERk988tkvjsb">Configuring a VLAN</a></li><li><a href="/pages/ZYQWWTQHLo88LCavuZ5C">Configuring IP Interfaces</a></li><li><a href="/pages/NQKpeugKPfvYlTTGh7AK">Create an IP port range</a></li></ul> | <p></p><ul><li><a href="/pages/NQKpeugKPfvYlTTGh7AK">Create an IP port range</a></li><li><a href="/pages/VG69umnT77U6581Yi96D">Create a SIP stack</a></li><li><a href="/pages/jvLDDqDqfgCJs0rS860W">Create a SIP transport server</a></li><li><a href="/pages/0aNbDh4Fvt05NbBm5vzb">Modify profile</a></li><li><a href="/pages/caC9hju5KNDcBruRFiOH">Allocate a SIP NAP</a></li></ul><p><br></p> | <ul><li><a href="/pages/d4TYj9I5RiFaLe6xDXIx">Create a first call route</a></li></ul> |

## NAP Configuration for VoIP.ms Trunking

See [Create SIP NAP](/configuration-details/configuration-by-web-portal-category/network-access-points-nap.md) In this example, we will use 208.100.60.17 trunk information

<figure><img src="https://docs.telcobridges.com/w/images/f/f3/Voip.ms_nap_1.png" alt=""><figcaption></figcaption></figure>

* [Name](/configuration-details/configuration-parameters-all.md#parameter-name) Any name of your choice (Preferably one that will let you know this is the VoIP.ms NAP).
* [Default Profile](/configuration-details/configuration-parameters-all.md#parameter-default-profile)
* [Proxy Address](/configuration-details/configuration-parameters-all.md#parameter-proxy-address) Enter the IP address or domain name of the VoIP.ms server where you will register the NAP.
* [Proxy Port Type](/configuration-details/configuration-parameters-all.md#parameter-proxy-port-type)
* [Proxy Port](/configuration-details/configuration-parameters-all.md#parameter-proxy-port) 5060 (VoIP.ms also supports 5080 and 42872 but the SBC must be configured accordingly if you want to use a different port)
* [Poll Remote Proxy](/configuration-details/configuration-parameters-all.md#parameter-poll-remote-proxy)
* [Accept only authorized users](/configuration-details/configuration-parameters-all.md#parameter-accept-only-authorized-users)

<figure><img src="https://docs.telcobridges.com/w/images/8/87/Voip.ms_nap_2.png" alt=""><figcaption></figcaption></figure>

Then, under Registration Parameters and Authentication Parameters set the following:

* Register to Proxy: Checked.
* Address to register: <sip:SIP_Account_Username@YourPrefered_VoIPms_Server> (E.g. <100000_FreeSBC@atlanta1.voip.ms>)
* Ignore realm: Checked
* Realm: Your Prefered VoIP.ms server name or IP address(E.g. atlanta1.voip.ms or 208.100.60.17)
* User: Your Main or Sub Account SIP username
* Password: The password of your main or sub account

<figure><img src="https://docs.telcobridges.com/w/images/6/61/Voip.ms_nap_3.png" alt=""><figcaption></figcaption></figure>

Finally, under Access Control, assign the Port range and SIP Transport servers that this NAP will work on.

<figure><img src="https://docs.telcobridges.com/w/images/7/77/Voip.ms_nap_4.png" alt=""><figcaption></figcaption></figure>

Click on the Save button when done and your NAP will register in the VoIP.ms server.

## Route Configuration for VoIP.ms Trunking

* See [Create a first call route](/configuration-details/configuration-by-web-portal-category/call-routing/creating-a-first-call-route.md)

In this example, we will create an outgoing and incoming route for VoIP.ms SIP Trunk

### Route for outgoing to VoIP.ms

<figure><img src="https://docs.telcobridges.com/w/images/f/f6/Route_2_voipms.png" alt=""><figcaption></figcaption></figure>

### Route for incoming from VoIP.ms

<figure><img src="https://docs.telcobridges.com/w/images/a/ad/Route_from_voipms.png" alt=""><figcaption></figcaption></figure>

### List of Parameters

* [Name](/configuration-details/configuration-parameters-all.md#parameter-name)
* [Routeset Name](/configuration-details/configuration-parameters-all.md#parameter-routeset-name)
* [Called](/configuration-details/configuration-parameters-all.md#parameter-called)
* [Calling](/configuration-details/configuration-parameters-all.md#parameter-calling)
* [NAP](/configuration-details/configuration-parameters-all.md#parameter-nap)
* [Remapped Called](/configuration-details/configuration-parameters-all.md#parameter-remapped-called)
* [Remapped Calling](/configuration-details/configuration-parameters-all.md#parameter-remapped-calling)
* [Remapped NAP](/configuration-details/configuration-parameters-all.md#parameter-remapped-nap)
* [Source call leg remapped Profile](/configuration-details/configuration-parameters-all.md#parameter-source-call-leg-remapped-profile)
* [Destination call leg remapped Profile](/configuration-details/configuration-parameters-all.md#parameter-destination-call-leg-remapped-profile)

Custom Parameters

* [prio (or priority)](/configuration-details/configuration-parameters-all.md#parameter-prio)
* [additonal\_naps](/configuration-details/configuration-parameters-all.md#parameter-additonal-naps)
* [domain](/configuration-details/configuration-parameters-all.md#parameter-domain)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/sip-trunking-configuration/sip-trunk-configuration-instruction-with-voip.ms-sip-trunking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
