> For the complete documentation index, see [llms.txt](https://docs.pascom.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pascom.net/en/reference/howto/ip-gateway-usage.md).

# Use FRITZ!Box as a IP gateway

n this HowTo you will learn how to use a FRITZ!Box as a IP gateway in your company.

## Overview

To ensure secure communication via pascom.cloud, endpoints must be TLS-capable. However, it often happens that endpoints do not have this function due to their age. In order to still use these devices with the pascom.cloud telephone system, a gateway is required. The AVM FRITZ!Box can be used as an IP/IP gateway for insecure SIP devices such as door phones.

For this purpose, a trunk is set up in the FRITZ!Box for PASCOM (TLS). Subsequently, a SIP end device is created in the FRIZ!Box and linked to this trunk (UDP).

![pascom Cloud Gateway overview](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-faa66fb38611315f9fb08f5b82087216b7980265%2Fpascom-cloud-gateway-overview.png?alt=media)

## Selection of the FRITZ!Box

Basically, any current FRITZ!Box can be used **(from FRITZ!OS 7.20)**. It does not matter whether it serves as a router or exclusively as a SIP gateway. For the latter, e.g. the model FRITZ!Box 7510 is recommended. For operation in the LAN (not as router), the FRITZ!Box can be configured accordingly via the wizard. The deactivation of the WAN components such as DSL modem etc. takes place automatically.

## Setup

#### Create IP end device on the PASCOM.

So that the trunk of the FRITZ!Box can establish an encrypted connection with the PASCOM telephone system later on, it requires an IP terminal with SIP user data. This can be a **"generic end device "** but also a **"generic doorbell "**. More information about setting up endpoints can be found [here](/en/setup/endpoints.md).

**Example: Generic Doorbell**

![pascom generic SIP doorbell](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-0d456287ce495362a7dd4053a60c7ce9f0196bfa%2Fparameter.en.PNG?alt=media) ***The SIP user data will be required for the FRITZ!Box trunk in the further steps.***

{% hint style="warning" %}
Please note that the FRITZ!Box is limited in the number of channels. Here it is recommended to use the FRITZ!Box only for a small number of endpoints as IP gateway.
{% endhint %}

#### Create a trunk on the FRITZ!Box

The trunk set up on the FRITZ!Box has an **encrypted connection** to the pascom.cloud.

In the FRITZ!Box menu under **Telephony** > **Own phone number** select the button **New phone number**.

| Field                           | Data                                                               |
| ------------------------------- | ------------------------------------------------------------------ |
| Telefonie-Anbieter              | Anderer Anbieter                                                   |
| Rufnummer für die Anmeldung     | Benutzername aus der PASCOM                                        |
| Interne Rufnummer der FRITZ!Box | Rufnummer aus der PASCOM                                           |
| Benutzername                    | Benutzername aus der PASCOM                                        |
| Authentifizierungsname          | Benutzername aus der PASCOM                                        |
| Kennwort                        | Kennwort aus der PASCOM                                            |
| Registrar                       | PASCOM Instanzname                                                 |
| Proxy-Server                    | pascom.cloud                                                       |
| Optional: Vorwahl               | Falls die erste Rufnummer angelegt wird, hier die Vorwahl eingeben |

![pascom Amt einrichten auf der Fritzbox](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-69eff12f825231adc35cbf7f4eb229818ba9e9a4%2Fpascom-fritzbox-rufnummer.png?alt=media)

Under the item **"Additional settings"** configure the following:

![pascom Amt einrichten auf der Fritzbox - Erweiterte Einstellungen](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-40c76cd47be02d9cc1ffff57967d76fddf700caa%2Fpascom-fritzbox-erweiterte-einstellungen.png?alt=media) ***IPv4 or IPv6 can be used depending on your needs.***

Then click on **Next**.\
The phone number check should now be successful and the trunk will be saved.

![pascom Amt einrichten auf der Fritzbox - Erfolgreich gespeichert](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-638c8bb88a5b8e459b15a471534d93eea0223749%2Fpascom-fritzbox-summary.png?alt=media)

#### Create participant (device unencrypted)

The next step is to add a registration of your device under **Telephony** > **Telephony devices** and link it to the previously created trunk.

![pascom Teilnehmer einrichten auf der Fritzbox - Anmeldung](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-1c8c86a452b245d5186c15c6fe777184c918f99f%2Fpascom-fritzbox-teilnehmer.png?alt=media)

![pascom Teilnehmer einrichten auf der Fritzbox - Anschließen](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-86f7f9e6e47dc4b1540c80ad84f15dd22724f90a%2Fpascom-fritzbox-teilnehmer2.png?alt=media)

The same access data as for the SIP device in PASCOM can be used here. Alternatively, it is also possible to define new access data. Then apply these access data to the unencrypted SIP device that registers with the FRITZ!Box.

![pascom Teilnehmer einrichten auf der Fritzbox - Zugangsdaten](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-c5549223d63c88c0aa6c2fde8326a1b09334b5bf%2Fpascom-fritzbox-teilnehmer3.png?alt=media)

![pascom Teilnehmer einrichten auf der Fritzbox - Rufnummer](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-bee563fe107e9049a95ef00011d2cfd448e921df%2Fpascom-fritzbox-teilnehmer4.png?alt=media)

![pascom Teilnehmer einrichten auf der Fritzbox - Rufnummer ankommend](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-11841b5808b04e37c485f231280ce9d379695cb5%2Fpascom-fritzbox-teilnehmer5.png?alt=media)

Finally, the access data just created must be transferred to the unencrypted SIP end device. The IP address of the FRIZ!Box serves as the registrar.


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pascom.net/en/reference/howto/ip-gateway-usage.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 `build a script that syncs our docs to a CMS` 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.
