> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autocalls.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Zadarma Integration

> A step by step guide to connect your Zadarma phone numbers via SIP trunking

This guide walks you through connecting your Zadarma phone numbers using SIP trunking. Zadarma offers two connection types — **PBX** and **SIP Direct** — and the setup differs slightly for each.

<Tip>
  **Which type do you have?** If you use Zadarma's virtual PBX with extensions (e.g., 100, 101), you have **PBX**. If you use a standalone SIP account without a PBX, you have **SIP Direct**.
</Tip>

Select your connection type below and follow the steps:

<Tabs>
  <Tab title="PBX">
    ## Step 1: Gather Your SIP Credentials

    1. Log in to your [Zadarma Dashboard](https://my.zadarma.com)
    2. Go to **My PBX** → **Extensions**

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-mypbx-extensions.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=f6ba0ca56123d7ec20faee1033ed6515" alt="Zadarma My PBX Extensions" width="1209" height="779" data-path="resources/zadarma-mypbx-extensions.png" />
    </Frame>

    3. Find your extension and note these details:

    ```
    Extension: e.g., 510000-100
    Server address: pbx.zadarma.com
    Username: Your extension username (e.g., 510000-100)
    Password: Your extension password
    Phone number: Your phone number (e.g., +521151900966)
    ```

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/autocalls/resources/zadarma-switch-extension-settings.png" alt="Zadarma PBX Extension Settings" />
    </Frame>

    ## Step 2: Set Up External Server (for inbound calls)

    To receive inbound calls, you need to configure an **External Server** in Zadarma that forwards incoming calls to the platform's SIP server.

    1. In your [Zadarma Dashboard](https://my.zadarma.com), go to **Settings** → [**Virtual phone numbers**](https://my.zadarma.com/dirnum/active/)

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-settings-virtual-numbers.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=ad5f5543f25366bb858242f35677a870" alt="Zadarma Settings Virtual phone numbers" width="1215" height="784" data-path="resources/zadarma-settings-virtual-numbers.png" />
    </Frame>

    2. Find the number you want to connect and click the **gear icon** to open its settings

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-settings-virtual-numbers-gear-icon.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=ea42419919cc931bb8ba01d4b66b0080" alt="Zadarma Settings Virtual phone numbers Gear Icon" width="1207" height="660" data-path="resources/zadarma-settings-virtual-numbers-gear-icon.png" />
    </Frame>

    3. Click **External Server** and enable the **SIP URI** checkbox

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-pbx-external-server.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=f4ce4c0fb8e81a10b43ab6078cbc1b6d" alt="Zadarma PBX External Server SIP URI configuration" width="1219" height="877" data-path="resources/zadarma-pbx-external-server.png" />
    </Frame>

    4. Enter the SIP server address using your **phone number with the `+` prefix**:

    ```
    +YOUR_PHONE_NUMBER@5wed79aeavr.sip.livekit.cloud
    ```

    For example, if your number is `+551151900966`:

    ```
    +521151900966@5wed79aeavr.sip.livekit.cloud
    ```

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-pbx-server-address.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=4198f3f388ac5dbc038617a802699a43" alt="Zadarma PBX Server Address configuration" width="621" height="713" data-path="resources/zadarma-pbx-server-address.png" />
    </Frame>

    5. Click **Show IP** below the server address to reveal Zadarma's IP addresses (e.g., `185.45.152.216`, `185.45.155.33`)

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-pbx-show-ip-button.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=8e2c589d860344dd5a53c6b3ca998a4a" alt="Zadarma PBX Show IP button" width="674" height="762" data-path="resources/zadarma-pbx-show-ip-button.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-pbx-show-ip-addresses.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=f0eb842ca3cc7e0d7e10b8476cf095ea" alt="Zadarma PBX IP addresses revealed" width="681" height="763" data-path="resources/zadarma-pbx-show-ip-addresses.png" />
    </Frame>

    <Note>
      **Save these IPs** — you will need them in Step 3 when configuring inbound authorization in the platform.
    </Note>

    <Warning>
      **PBX users must use the phone number with `+`** in the External Server address. Using the PBX extension number (e.g., `533177-100`) will **not** work for inbound calls.
    </Warning>

    ## Step 3: Import Numbers to the Platform

    Now import the number so the platform knows how to route calls.

    1. Go directly to the Phone Numbers page in your dashboard:

       **[https://app.autocalls.ai/phone-numbers](https://app.autocalls.ai/phone-numbers)**

       If it takes you to the login page, log in first — it will automatically redirect you to the Phone Numbers page.

    2. Click **"Integrate SIP trunk"** (top-right corner of the page)

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-import-sip.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=d98a31f2f91ca2f52486385e0a48d5c5" alt="Import numbers via SIP trunk" width="1054" height="508" data-path="resources/zadarma-import-sip.png" />
    </Frame>

    3. Fill in your phone number and SIP credentials:

    ```
    Phone number: e.g., +551151900966
    Username: Your PBX extension (e.g., 533100-100)
    Your SIP Extension: Your phone number (e.g., +551151900966)
    Password: Your PBX extension password
    ```

    <Warning>
      **PBX users:** The **Username** is your PBX extension (e.g., `533100-100`). The **"Your SIP Extension"** field must be your **phone number** — this must match the number you used in the External Server address in Step 2.
    </Warning>

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-pbx-auth.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=83f68020ec9406a8acb25b1d44e2d732" alt="PBX Extension credentials" width="1049" height="498" data-path="resources/zadarma-pbx-auth.png" />
    </Frame>

    4. Enter the **Server address** for outbound calls:

    ```
    pbx.zadarma.com
    ```

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-pbx-outbound-settings.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=f96a25abed94fa783c43274e6c8df77f" alt="Zadarma outbound server address" width="1019" height="343" data-path="resources/zadarma-pbx-outbound-settings.png" />
    </Frame>

    5. Select the **Authorization type**. Select **IP** and add the Zadarma IP addresses you noted earlier from **Show IP** in Step 2.

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-ip-inbound.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=15da362d911400cb34d5416d855b93b3" alt="Zadarma IP Authorization" width="1015" height="491" data-path="resources/zadarma-ip-inbound.png" />
    </Frame>

    6. Select the **country** where your SIP trunk is located.

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-sip-country.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=57bf8797505402d59bad100900107ca2" alt="SIP Country selection" width="1036" height="139" data-path="resources/zadarma-sip-country.png" />
    </Frame>

    ## Step 4: Verify Setup

    1. Make a test call to your number
    2. Check that the AI assistant answers
    3. Use the test call feature to verify outbound calling
  </Tab>

  <Tab title="SIP Direct">
    ## Step 1: Gather Your SIP Credentials

    1. Log in to your [Zadarma Dashboard](https://my.zadarma.com)
    2. Go to **Settings** → **SIP Connection**

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-settings.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=217350ae17dcfc676f580d605ca2dcab" alt="Zadarma SIP Settings" width="1206" height="774" data-path="resources/zadarma-sip-settings.png" />
    </Frame>

    3. Note these details:

    ```
    Server address: sip.zadarma.com
    Extension: Your SIP extension number (e.g., 247000)
    Username: Your SIP username (the same as your extension e.g., 247000)
    Password: Your SIP password
    ```

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-sip-connection-settings.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=a500bc115fec2b9672cb4321fe56d4cc" alt="Zadarma SIP Connection Settings" width="829" height="715" data-path="resources/zadarma-sip-connection-settings.png" />
    </Frame>

    ## Step 2: Set Up External Server (for inbound calls)

    To receive inbound calls, you need to configure an **External Server** in Zadarma that forwards incoming calls to the platform's SIP server.

    1. In your [Zadarma Dashboard](https://my.zadarma.com), go to **Settings** → [**Virtual phone numbers**](https://my.zadarma.com/dirnum/active/)

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-settings-virtual-numbers.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=59a87f0faf72b0d9506b3d4490e5e4f2" alt="Zadarma SIP Settings Virtual phone numbers" width="1229" height="794" data-path="resources/zadarma-sip-settings-virtual-numbers.png" />
    </Frame>

    2. Find the number you want to connect and click the **gear icon** to open its settings

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-settings-virtual-numbers-gear-icon.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=2fb18273b09851de346d46df2d4abbe2" alt="Zadarma SIP Settings Virtual phone numbers Gear Icon" width="1214" height="654" data-path="resources/zadarma-sip-settings-virtual-numbers-gear-icon.png" />
    </Frame>

    3. Click **External Server** and enable the **SIP URI** checkbox

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-sip-external-server.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=dcd3d9bbe88ed2594235831a4fa8f700" alt="Zadarma SIP External Server SIP URI configuration" width="1221" height="871" data-path="resources/zadarma-sip-external-server.png" />
    </Frame>

    4. Enter the SIP server address using your **SIP extension number**:

    ```
    YOUR_EXTENSION@5wed79aeavr.sip.livekit.cloud
    ```

    For example, if your extension is `247000`:

    ```
    247000@5wed79aeavr.sip.livekit.cloud
    ```

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-uri.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=2333f35da8949c98788cb03809979bbd" alt="Zadarma SIP URI" width="616" height="683" data-path="resources/zadarma-sip-uri.png" />
    </Frame>

    5. Click **Show IP** below the server address to reveal Zadarma's IP addresses (e.g., `185.45.152.216`, `185.45.155.33`)

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-show-ip-button.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=b4146609204f2ebf650af2cefd08fa8a" alt="Zadarma SIP Show IP button" width="669" height="735" data-path="resources/zadarma-sip-show-ip-button.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-show-ip-addresses.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=5a39d172c4ef748f8b97a8a24292dc59" alt="Zadarma SIP IP addresses revealed" width="615" height="685" data-path="resources/zadarma-sip-show-ip-addresses.png" />
    </Frame>

    <Note>
      **Save these IPs** — you will need them in Step 3 when configuring inbound authorization in the platform.
    </Note>

    ## Step 3: Import Numbers to the Platform

    Now import the number so the platform knows how to route calls.

    1. Go directly to the Phone Numbers page in your dashboard:

       **[https://app.autocalls.ai/phone-numbers](https://app.autocalls.ai/phone-numbers)**

       If it takes you to the login page, log in first — it will automatically redirect you to the Phone Numbers page.

    2. Click **"Integrate SIP trunk"** (top-right corner of the page)

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-import-sip.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=d98a31f2f91ca2f52486385e0a48d5c5" alt="Import numbers via SIP trunk" width="1054" height="508" data-path="resources/zadarma-import-sip.png" />
    </Frame>

    3. Fill in your phone number and SIP credentials:

    ```
    Phone number: e.g., +1 555 0123
    Your SIP Extension: Your SIP extension number (e.g., 247000)
    Username: Your SIP username (the same as your extension e.g., 247000)
    Password: Your SIP password
    ```

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-sip-auth-integration.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=1cfe5f384dbd4a5b0deff97c5c47c61a" alt="SIP Direct credentials" width="1051" height="497" data-path="resources/zadarma-sip-auth-integration.png" />
    </Frame>

    4. Enter the **Server address** for outbound calls:

    ```
    sip.zadarma.com
    ```

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip-outbound-settings.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=6cdab99d935bdd6e1c001420ccd7361d" alt="Zadarma SIP outbound server address" width="1011" height="342" data-path="resources/zadarma-sip-outbound-settings.png" />
    </Frame>

    5. Select the **Authorization type**. Select **IP** and add the Zadarma IP addresses you noted earlier from **Show IP** in Step 2.

    <Frame>
      <img src="https://mintcdn.com/autocalls/75e6W82hmo7xdYTh/resources/zadarma-ip-inbound.png?fit=max&auto=format&n=75e6W82hmo7xdYTh&q=85&s=15da362d911400cb34d5416d855b93b3" alt="Zadarma IP Authorization" width="1015" height="491" data-path="resources/zadarma-ip-inbound.png" />
    </Frame>

    6. Select the **country** where your SIP trunk is located.

    <Frame>
      <img src="https://mintcdn.com/autocalls/OIWBufYvaU3KfwSD/resources/zadarma-sip1-country.png?fit=max&auto=format&n=OIWBufYvaU3KfwSD&q=85&s=ec6e3525db0aba70e52054b913bf6e36" alt="SIP Country selection" width="1037" height="132" data-path="resources/zadarma-sip1-country.png" />
    </Frame>

    ## Step 4: Verify Setup

    1. Make a test call to your number
    2. Check that the AI assistant answers
    3. Use the test call feature to verify outbound calling
  </Tab>
</Tabs>

## Security Requirements

Your SIP credentials need to be secure:

* **Username**: Your extension number or provider-supplied username
* **Password must have**:
  * 12 or more characters
  * Numbers
  * Upper and lowercase letters
  * Special characters recommended

## Call Transfer Limitations

<Warning>
  **Zadarma does not support SIP REFER**, which means standard cold transfer will not work out of the box. Warm transfer works automatically — the platform handles it via SIP INVITE.

  For **cold transfer**, you can use the **Custom SIP Transfer** option in your assistant's transfer settings. Set the custom SIP URI to:

  ```
  sip:+DESTINATION_NUMBER@sip.zadarma.com
  ```

  For example: `sip:+15557654321@sip.zadarma.com`

  Make sure the number is in international E.164 format with the `+` prefix. Do **not** use `tel:` URI format.
</Warning>

## Common Issues

<AccordionGroup>
  <Accordion title="Inbound calls are not working">
    * **Check your External Server address** — make sure the format matches your connection type:
      * **PBX**: `+YOUR_PHONE_NUMBER@5wed79aeavr.sip.livekit.cloud` (phone number with `+`)
      * **SIP Direct**: `YOUR_EXTENSION@5wed79aeavr.sip.livekit.cloud` (extension number)
    * **Verify the External Server is enabled** in Zadarma's settings
    * **Check that the "Your SIP Extension" field** in the platform matches: phone number for PBX, extension for SIP Direct
  </Accordion>

  <Accordion title="Outbound calls are not working">
    * **Check the Server address** — it should be `pbx.zadarma.com` for PBX or `sip.zadarma.com` for SIP Direct
    * **Verify your credentials** — make sure the username and password match what's shown in your Zadarma SIP settings
    * **Check your Zadarma balance** — outbound calls require sufficient credit
  </Accordion>

  <Accordion title="Cold transfer is not working">
    Zadarma does not support SIP REFER. To enable cold transfer:

    1. Go to your assistant's **Transfer Phone Call** tool settings
    2. Enable **"Custom SIP transfer"** (under Advanced)
    3. Set the SIP URI to `sip:+DESTINATION_NUMBER@sip.zadarma.com`

    If cold transfer still fails, verify the destination number is in international format with `+`.
  </Accordion>

  <Accordion title="Which connection type should I use — PBX or SIP Direct?">
    * **PBX** is recommended if you need multiple extensions, call routing rules, IVR menus, or other PBX features in Zadarma
    * **SIP Direct** is simpler if you just need a single number connected without PBX features

    Both work equally well for inbound and outbound AI calls.
  </Accordion>
</AccordionGroup>

***

<Note>
  Need help setting up? Our support team specializes in helping customers
  integrate their phone systems. We'll guide you through the entire process,
  ensuring a smooth setup with your specific phone system configuration.
</Note>
