> 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/setup/endpoints/grandstream-gateway.md).

# Grandstream HTXXX and GXW42XX

Grandstream ATA adapters provide a cost effective solution for integrating Analog technology such as Fax / Door Intercom systems etc into your PASCOM cloud phone system.

![Grandstream Modelle](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-2106950cad3290d0e17602f60c9f19da7162577f%2Fgrandstream_image.png?alt=media)

## Compatibility

| Model     | Ports |
| --------- | ----- |
| HT802     | 2     |
| HT812     | 2     |
| HT814     | 4     |
| HT818     | 8     |
| GXW4216   | 16    |
| GXW4224   | 24    |
| GXW4232   | 32    |
| GXW4248   | 48    |
| GXW4216V2 | 16    |
| GXW4224V2 | 24    |
| GXW4232V2 | 32    |
| GXW4248V2 | 48    |
| HT801V2   | 1     |
| HT802V2   | 2     |
| HT812V2   | 2     |
| HT814V2   | 4     |
| HT818V2   | 8     |

## Provisioning

| Provisioning | Firmware Management |
| ------------ | ------------------- |
| Yes          | No                  |

**Provisioning**: The gateway / adapter will be managed via the PASCOM cloud phone system.\
**Firmware Management**: Device firmware can not be actualized / updated via the PASCOM cloud phone system.<br>

## Configuration

### 1. Connect Gateway

{% hint style="success" %}
If it is not a brand-new gateway, set it in every Fall back to **factory settings**. To do this at the gateway, switch to the admin interface of the gateway via your browser and perform a **Reset** there. For further information, please refer to the manufacturer's manual.
{% endhint %}

Connect the gateway to the network via the **WAN port (Is necessary, but not documented anywhere at Grandstream)**.

### 2. Get MAC Address

The MAC address is located on the back of the gateway. \*\*For Grandstream with two Ethernet interfaces, the MAC-address of the LAN interface must be used, although the device must be connected to the network via the WAN interface. \*\* Alternatively, surf to the gateway's admin web interface with your browser or use the user manual.

### 3. Create Gateway

Log in to your PBX and under **Gateways** > **Gatewaylist** add a new device of type **ATA Gateway: Grandstream**.

Select the **model** you have connected.

In the **Mac Address** field, enter the previously determined MAC address of the gateway.

Enter an individual description.

Finally, click on **Next and Create Gateway**.

### 4. Apply Jobs

After saving changes, the job box (above) shows a corresponding entry to use telephony settings. Start the job by a click on the **green check mark**.

### 5. Get Provisioning URL

Check the Gateway in the Gateway List and choose **Action** > **Provisioning URL**. Copy the **URL** to the clipboard.

### 6. Enter Provisioning URL at the Gateway

Go to the admin UI of the gateway and store the copied provisioning URL.

**Please note:** Remove the **"https\://"** from the provisioning URL after copying.

![Grandstream Provisioning URL](https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-7e0ece5fb11ea2eb8cce561321e67bc93e9cb5d4%2Fprovisioning_url.png?alt=media)

Save the changes and restart the gateway for provisioning. Alternatively, you can restart the gateway also manually remove the power briefly.

### 7. Creating a new device via SIP and assigning users

Choose under **Devices** > **Device List** > **Add** > the entry **Via Grandstream Gateway: Analog Device via SIP**. In the tab **Base Data** select the port on the Gateway to which the device should be connected. Then assign the device to a user via the **Assignment** tab.

### 8. Test Function

The easiest way to test the successful Setup is to call your own voice mailbox with **\*100**. You should then hear the announcement of your voicemail box.

{% hint style="success" %}
Problems with provisioning? Occasionally, 3CX's built-in auto-provisioning feature may block a setup on the PASCOM.
{% endhint %}

### Deactivate 3CX Auto Provisioning.

If the setup of the gateway on the PASCOM does not work, the auto-provisioning of 3CX may be activated. This can be disabled via the admin web interface of the gateway.

<figure><img src="https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-3dc737bfb61062240ee60f0268e48bb7e69e5c82%2F3cx_autoprovisioning.png?alt=media" alt="3CX Auto Provisioning" width="60%"><figcaption></figcaption></figure>

### DHCP Option 66

If your DHCP server has option 66 enabled, you must disable the **Override** on the Grandstream gateway.

<figure><img src="https://2713225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVIw0BpSv358R2Pr2HflD%2Fuploads%2Fgit-blob-5d2f25f9842de7a7494437deeec4926e9a3be4d5%2Fgrandstream_option66.png?alt=media" alt="Grandstream Option66" width="60%"><figcaption></figcaption></figure>


---

# 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/setup/endpoints/grandstream-gateway.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.
