# Provision Phone Using TFTP

### What Is TFTP?

**TFTP (Trivial File Transfer Protocol)** is a lightweight file transfer protocol that operates over **UDP port 69**. It is primarily used for **automated file transfers** between devices on a local network.

In a **VoIP environment**, TFTP is commonly used to upload or download **firmware files**, configuration files, and other resources for devices such as:

* IP Phones
* VoIP Gateways
* Routers and other network hardware

***

### Installing a TFTP Server

There are many free and open-source TFTP server applications available, such as:

* **PumpKIN**

Download and install a TFTP server of your choice according to your operating system and requirements.

***

### Configuring PumpKIN

To configure PumpKIN as a TFTP server:

1. Launch PumpKIN.
2. From the PumpKIN menu, navigate to:\
   **Options > Server > TFTP file system root**
3. Set the TFTP root directory to the **PortSIP PBX provisioning folder**.\
   By default, this path is:

   ```
   C:\ProgramData\PortSIP\pbx\provision\R2Xu8aVV20Jka
   ```

   > `R2Xu8aVV20Jka` is a **randomly generated provisioning folder name** created by PortSIP PBX.

   This directory is used to **store files that devices upload to or download from the PBX via TFTP**.
4. Configure additional options as needed, such as:
   * **Read and Write Request Behavior** (for prompting before file uploads or downloads)
   * **Network port**
   * **Timeout values**

With the TFTP server installed, you can now begin updating IP phones, gateways, and routers as required.

<figure><img src="/files/G2L36BkpwcNlbIs5XQQp" alt=""><figcaption></figcaption></figure>

> ⚠️ **Security Note**\
> For security reasons, you must **disable Auto-Provisioning Security Enhancement** before provisioning phones using TFP as well.\
> Refer to the article "[**DHCP Option 66 and Auto-Provisioning in PortSIP PBX**](/portsip-communications-solution/portsip-pbx-administration-guide/4-phone-device-management/auto-provisioning-security.md#dhcp-option-66-and-auto-provisioning-in-portsip-pbx)**"** for details.


---

# 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://support.portsip.com/portsip-communications-solution/portsip-pbx-administration-guide/4-phone-device-management/provision-phone-using-tftp.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.
