> 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/tools-tips-and-tricks/restful-api/prosbc-restful-api-sip-domain-registrar.md). Agents can also search and read this documentation through its [MCP server](https://prosbcdocs.telcobridges.com/~gitbook/mcp).

# ProSBC:Restful API SIP Domain Registrar

You can create and modify a SIP Domain Registrar in your system with the RestFul API using JSON format. The JSON must be in the following format:

```
{
    "enabled": true,
    "***meta***": {
        "version": "3.1.137",
        "src_path": ""
    },
    "name": "3CX_REGISTRAR",
    "nap": "3CX",
    "position": 1
}

```

Important parameters in the JSON file

* [name](https://prosbcdocs.telcobridges.com/configuration-details/configuration-parameters-all.md#parameter-name)
* [nap](https://prosbcdocs.telcobridges.com/configuration-details/configuration-parameters-all.md#parameter-nap)
* position: If you need to add more than one SIP registrar you need to use position to give priority.

### Adding a new SIP Domain Registrar

You can add a new SIP Domain Registrar with the POST command:

POST [http://ProSBCIP:12358/configurations/configuration\_name/sip\_registration\_domains/domainname/sip\_registration\_registrars](http://prosbcip:12358/configurations/configuration_name/sip_registration_domains/domainname/sip_registration_registrars)

\
ProSBC will create a new SIP Domain Registrar from the name in the JSON file.

Example: We use the Postman tool in this example and the URL is:

<http://192.168.1.25:12358/configurations/config_2/sip_registration_domains/TEST_DOMAIN/sip_registration_registrars>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/d/da/RestFul_sip_domain_registrar_Post_Send.png/800px-RestFul_sip_domain_registrar_Post_Send.png" alt=""><figcaption></figcaption></figure>

\
If the new SIP Domain Registrar is created successfully, the following message is returned in the Postman Tool

<figure><img src="https://docs.telcobridges.com/w/images/thumb/c/cd/RestFul_sip_domain_registrar_Post_Response.png/800px-RestFul_sip_domain_registrar_Post_Response.png" alt=""><figcaption></figcaption></figure>

### Modifiying a SIP Domain Registrar

You can modify the existing SIP Domain Registrar with the PUT command:

PUT [http://ProSBCIP:12358/configurations/configurationname/sip\_registration\_domains/sip\_domain\_name/sip\_registration\_registrars/registrar\_name](http://prosbcip:12358/configurations/configurationname/sip_registration_domains/sip_domain_name/sip_registration_registrars/registrar_name)

\
Example: We use the Postman tool in this example and the URL is

192.168.1.25:12358/configurations/config\_2/sip\_registration\_domains/TEST\_DOMAIN/sip\_registration\_registrars/3CX\_REGISTRAR and disable it

<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/c/c3/SIP_Domain_registrar_Put_Send.png/800px-SIP_Domain_registrar_Put_Send.png" alt=""><figcaption></figcaption></figure>

\
If the update is successful, the following message is returned in the Postman Tool

<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/7/7d/SIP_Domain_registrar_Put_Response.png/800px-SIP_Domain_registrar_Put_Response.png" alt=""><figcaption></figcaption></figure>

\
You can get more information about how to use RestFul API and Postman Tool from the following link [Northbound\_interface:RESTful](https://prosbcdocs.telcobridges.com/tools-tips-and-tricks/restful-api.md)


---

# 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/tools-tips-and-tricks/restful-api/prosbc-restful-api-sip-domain-registrar.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.
