> For the complete documentation index, see [llms.txt](https://docs.didforsale.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didforsale.com/sip-trunking/configuration-of-phone-numbers/http-setup.md).

# http URL Forwarding Setup

Login in your Account Portal. Click on **Phone Numbers**. Select the number you want to configure to set up call forwarding.

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number and select **"Edit Configuration"** to go to configuration screen.&#x20;

Click on **HTTP.**

![Call Forwarding to Webhook](/files/-LYmi-JpTyeTx1NGqZSH)

Type the the URL for you web application and click on **Save**.&#x20;

You will see the number configured to **http URL**. This is a real time change, now all the calls will be forwarded to the URL for getting the instructions. [Visit this page to Build the Voice Application](/voice-and-sms-apis/voice-and-sms.md).&#x20;

![Phone Number Configured for Webhook. ](/files/-LYmipbXx-H9TjYEAsWW)

### Troubleshooting Phone Call and HTTP URL responses&#x20;

You can see the request sent to your web application and the response we received in the reporting.&#x20;

Click on Reporting -> CDR, find the call that you want to troubleshoot.&#x20;

![](/files/-LYmjbU1Sjkg3Unzg2Tr)

There are two legs. Click on the date of the first leg which shows the number dialed.&#x20;

| +12072487601 | 17173593982 |   |
| ------------ | ----------- | - |

Here you can see, we called webhook, <http://www.didforsale.com/apidemo/demo.xml.&#x20>;

![Call Response for Webhook Call](/files/-LYmkswh-PX3p4ZmmN9l)

This call played the simple instruction and forward the call to another number.&#x20;


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.didforsale.com/sip-trunking/configuration-of-phone-numbers/http-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
