> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/sip-trunking-configuration/configuration-files-for-sip-trunking-scenario.md).

# Configuration Files for SIP Trunking Scenario

## Introduction

ProSBC Configuration Files for SIP Trunking Scenario Tutorial provides you with a scenario-based approach to configuring of ProSBC systems, using sample configuration files. Complete general installation configuration steps, before you begin configuring your specific application.

### Prerequisites

ProSBC devices must be installed as described in their respective installation guides.

### Typical SIP Trunking Sample without NAT

<figure><img src="https://docs.telcobridges.com/w/images/thumb/a/a3/SIP-Trunk-sample-config.png/800px-SIP-Trunk-sample-config.png" alt=""><figcaption></figcaption></figure>

### Typical SIP Trunking Sample with NAT

<figure><img src="https://docs.telcobridges.com/w/images/thumb/5/5c/SIP-Trunk-sample-config-NAT.png/800px-SIP-Trunk-sample-config-NAT.png" alt=""><figcaption></figcaption></figure>

### Modifying configuration file

You can download sample configuration for the SIP Trunking scenario from below;

{% file src="/files/YDPPRxFCWYKDeiPeDqxP" %}

{% file src="/files/A1XaLBuxu8dFWzeMknUa" %}

* Open the JSON file with a text editor
* Replace the following parameters in the file
  * \[tbsbc] with the hostname that you gave on the installation stage
  * \[WAN\_00\_IP] and \[LAN\_00\_IP] with IP addresses
  * \[WAN\_00\_Subnet] and \[LAN\_00\_Subnet] with IP subnets
  * \[WAN\_00\_Gateway] and \[LAN\_00\_Gateway] with Gateway IP addresses
  * \[WAN\_00] and \[LAN\_00] with currently configured IP interfaces (for example voip0 and voip1)
  * \[ITSP\_Proxy\_IP] with SIP Trunk Service Provider IP address (2 addresses in the file)
  * \[Local\_Proxy\_IP] with Local Proxy IP address (2 addresses in the file)
* If you downloaded Remote Office/Workers Sample Configuration with NAT file please replace the following parameter too
  * \[NAT\_IP\_Address] with your External IP (Public IP of the NAT device)
* Save the file

### Uploading and activating the sample configuration

* You need to use an SFTP client to upload the configuration file to ProSBC
* After upload the file using the following commands from CLI
* For SIP Trunking Sample Configuration without NAT

```
 tbconfig -u root -p root -C /configurations SIP_Trunk_main_config.json name="main_config"
 tbconfig -u root -p root -U /systems/system_1/target_configuration="main_config"
```

* For SIP Trunking Sample Configuration with NAT

```
 tbconfig -u root -p root -C /configurations SIP_Trunk_main_config_nat.json name="main_config" -u root -p root
 tbconfig -u root -p root -U /systems/system_1/target_configuration="main_config"
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/sip-trunking-configuration/configuration-files-for-sip-trunking-scenario.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
