# FreePBX PJSIP Configuration

You have the option to configure it using IP-based or SIP-based SIP trunking. Please select one of the options below to access the interconnection guide based on your preference.

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-pjsip-configuration/ip-based>" %}

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-pjsip-configuration/sip-based>" %}


---

# 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://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-pjsip-configuration.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.
