# Adding ProSBC as a SIP Trunk in the Yeastar P-Series Cloud

## Introduction

This document provides instructions on how to configure Yeastar P-Series Cloud with the ProSBC as SIP trunk. Please visit the following link for more details about [Yeastar P-Series Cloud documentation](https://help.yeastar.com/en/p-series-cloud-edition/)

## Yeastar P-Series Cloud SIP Trunk Configuration

1 - Log in to PBX management portal, go to Extension and Trunk > Trunk, click Add.

<figure><img src="https://docs.telcobridges.com/w/images/thumb/a/a7/Yeastar_add_trunk_1.png/200px-Yeastar_add_trunk_1.png" alt=""><figcaption></figcaption></figure>

2 - In the Basic section, configure the following settings:

```
    Name: Enter a name to help you identify it.
    Trunk Status: Select Enabled.
    Select ITSP Template: Select General.
```

<figure><img src="https://docs.telcobridges.com/w/images/thumb/b/b9/Yeastar_add_trunk_2.png/800px-Yeastar_add_trunk_2.png" alt=""><figcaption></figcaption></figure>

3 - In the Detailed Configuration section, select the trunk type and enter the PROSBC SIP information.

```
    Select PeerTrunk (PortBased) from Trunk Type drop-down menu
    The Static IP Address and Port of the PBX will be displayed on the web page. This information will be use to configure NAP in ProSBC.
    Transport: Select the transport configured on ProSBC. In this scenario, select UDP. 
    Hostname/IP: Enter the domain name or IP address of the ProSBC. In this scenario, enter sip.provider.com. You can use IP address of the ProSBC too.
    Port: Enter the provided ProSBC port. In this scenario, enter 5060.
    Domain: Enter the domain in the SIP URI of a specific header like From, To header. In this example, enter sip.provider.com. You can use IP address 
                  of the ProSBC too.
    Click Add.
```

<figure><img src="https://docs.telcobridges.com/w/images/thumb/1/15/Yeastar_add_trunk_3.png/800px-Yeastar_add_trunk_3.png" alt=""><figcaption></figcaption></figure>


---

# 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/adding-prosbc-as-a-sip-trunk-in-the-yeastar-p-series-cloud.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.
