> 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/adding-prosbc-as-a-sip-trunk-in-the-brekeke-pbx.md). Agents can also search and read this documentation through its [MCP server](https://prosbcdocs.telcobridges.com/~gitbook/mcp).

# Adding ProSBC as a SIP Trunk in the Brekeke PBX

## ntroduction

This document provides instructions on how to configure Brekeke PBX Server with the ProSBC as SIP trunk. Please visit the following link for more details about [Brekeke PBX documentation](https://www.brekeke.com/support/pbx_document.php)

## Brekeke PBX SIP Trunk Configuration

The Brekeke PBX includes the Brekeke SIP Server. The SIP server of the Brekeke PBX includes several dial plan rules. In order to establish the communication between ProSBC and the Brekeke PBX Server using the SIP protocol, you need to declare the necessary dial plan rules with their matching patterns.

1 - Go to SIP SERVER -> Dial Plan and click to New Rule button<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/e/e8/Brekeke_add_new_rule.png/600px-Brekeke_add_new_rule.png" alt=""><figcaption></figcaption></figure>

2 - Please create two new rules with the following criteria

A. FromProSBC`[Matching Patterns]$request = ^INVITE$addr = <ProSBC_IP_Address>To =` [`sip:(.+)@`](sip:\(.+\)@)`[Deploy Patterns]To =` [`sip:%1@`](sip:%1@)`$auth = false`\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/8/8b/Brekeke_from_pro_sbc_rule.png/600px-Brekeke_from_pro_sbc_rule.png" alt=""><figcaption></figcaption></figure>

B. To ProSBC`[Matching Patterns]$request = ^INVITE$registered = falseTo =` [`sip:(.+)@`](sip:\(.+\)@)`[Deploy Patterns]$auth = falseTo =` [`sip:%1@`](sip:%1@)`<ProSBC_IP_Address>$transport = udp`<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/6/64/Brekeke_to_pro_sbc_rule.png/600px-Brekeke_to_pro_sbc_rule.png" alt=""><figcaption></figcaption></figure>

3 - PBX settings are used with their default values.<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/2/22/Brekeke_sip_options.png/600px-Brekeke_sip_options.png" alt=""><figcaption></figcaption></figure>

4 - You need to create a new ARS pattern for registered users to call out from ProSBC. Go to PBX -> ARS and click to New Route<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/b/be/Brekeke_add_ars.png/600px-Brekeke_add_ars.png" alt=""><figcaption></figcaption></figure>

5 - In the Route Template windows click to New button near to Patterns - OUT<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/8/8e/Brekeke_patterns_out.png/600px-Brekeke_patterns_out.png" alt=""><figcaption></figcaption></figure>

6 - Add the following parameters in the Matching patterns To and Deploy Patterns To<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/d/d3/Brekeke_ars_pattern.png/600px-Brekeke_ars_pattern.png" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/sip-trunking-configuration/adding-prosbc-as-a-sip-trunk-in-the-brekeke-pbx.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
