# FreeSwitch

## Configuration

You need to allow our IPs in your FreeSwitch server to receive calls from the DID number. For that, go to your FreeSwitch configuration directory and edit the file **acl.conf.xml** inside the autoload directory of the FreeSwitch configuration directory. Find the domains section in the configuration file and add our IPs as shown below.

```
<node type=”allow” cidr=”66.209.76.70/26″/>
```

Now you need to add a dial plan entry in your server to catch the incoming calls to the DID number. For that, go to your FreeSwitch configuration directory, then move to **dialplan/public** directory and add an XML file there with any name with the below contents.&#x20;

```
<include>
<extension name=”incoming_did”>
<condition field=”destination_number” expression=”^(13043935064)$”>
<action application=”transfer” data=”1000 XML default”/>
</condition>
</extension>
</include>
```

[<mark style="color:red;">NOTE: Replace 13043935064 with your DID number.</mark>](#user-content-fn-1)[^1]

This dial plan will route all incoming calls to the DID number to extension 1000. You will need to reload your ACL and XML after doing the configuration. To do that, go to FreeSWITCH CLI by using the command **“fs\_cli”** and run the commands **reloadacl** and **reloadxml**.

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.

[^1]:


---

# 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/freeswitch.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.
