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

# DIDLogic Integration

> A step by step guide to connect your DIDLogic account via SIP trunking

## 1. Purchase a Phone Number

Log in to your DIDLogic dashboard at [app.didlogic.com](https://app.didlogic.com) and go to the **BUY** tab. Search by country and area code, add a number to your cart, and complete checkout. Your new number will appear under the **PURCHASED** tab.

![DIDLogic BUY tab with country search](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-buy-number.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=f2a00f03aa72f54d713583ea8c108770)

## 2. Configure Your SIP Account (Outbound)

Go to the **SIP** tab and click **Edit** on your SIP account.

![DIDLogic SIP tab showing accounts list](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-sip-tab.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=06bae087334ab48dcc544e9e58201679)

![DIDLogic Edit SIP account](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-sip-edit.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=57a3c36770fe898fdb5a1c495099131e)

Note the **SIP account number** (e.g., `12345`) — this is your **username** that you will use in ComixFlow. Set a password in both the **Password** and **Confirm Password** fields — you will use this same password when importing the number to ComixFlow.

![DIDLogic SIP password fields](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-sip-password.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=87ede1b3a5f951f0d60bd352ac1354fc)

Enable **"Restrict to authorized IPs"** and add the IP address `34.195.177.252`, then click **Add** and **Update**.

![DIDLogic Restrict to authorized IPs with 34.195.177.252 added](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-sip-restrict-ip.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=8a2bef86853f93ca61598a0b2e9396e6)

Scroll down to find your region and copy the **SIP URI** from the regional gateway list. You will need this for the outbound settings in ComixFlow.

![DIDLogic regional SIP URI selection](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-sip-region.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=01d26d94f82b366f245ec6bad4d51d2b)

## 3. Configure Inbound Routing (in DIDLogic)

Go to the **PURCHASED** tab and click **Destination** next to your phone number.

![DIDLogic Purchased numbers list](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-purchased-tab.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=f47d2c13d83b27196229a3106b2d97d7)

Delete any existing destination, then change the selector from "SIP device" to **"SIP URI"**.

![DIDLogic selecting SIP URI type](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/didlogic-destination-select.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=33e5b6b107758287f9ed344b6aadd943)

Enter the SIP URI in the following format:

```
<number_without_plus>@5wed79aeavr.sip.livekit.cloud
```

For example, if your number is `+15551234567`, enter:

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

Click **Add**.

## 4. Import Number to ComixFlow

Go to your ComixFlow dashboard → **Your Phone Numbers** → **"Integrate SIP trunk"** and fill in your details:

```
Phone number: Your DIDLogic number in E.164 format (e.g., +15551234567)
Username: The SIP account number from Step 2 (e.g., 12345)
Password: The password you set in Step 2
```

![Fill in SIP integration details](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/sip-integration-sip-type.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=ad4918b1e0effd869895edd9fb7873a9)

Under **Outbound settings**, paste the regional SIP URI you copied in Step 2. Set **Number format** to **"International with + in front"** and enable **"Outbound call will come from a fixed IP address"**.

![Outbound SIP settings](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/sip-integration-outbound.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=124fd35f47aab801d60002fd393410c2)

Under **Inbound settings**, select **"IP Address"** as the authorization type. Add the IP address of your chosen DIDLogic regional gateway from the table below:

| Gateway | IP Address |
| - | - |
| sip.nl.didlogic.net | 89.149.192.7 |
| sip.uk.didlogic.net | 23.19.63.1 |
| sip.se.didlogic.net | 5.150.254.205 |
| sip.de.didlogic.net | 157.230.96.24 |
| sip.fr.didlogic.net | 159.8.84.235 |
| sip.hk.didlogic.net | 188.42.84.76 |
| sip.sg.didlogic.net | 188.42.84.76 |
| sip.au.didlogic.net | 119.9.12.222 |
| sip.nz.didlogic.net | 131.203.181.17 |
| sip.ir.didlogic.net | 161.202.135.82 |
| sip.ca.didlogic.net | 138.197.143.154 |
| sip.lax.didlogic.net | 185.118.62.77 |
| sip.nyc.didlogic.net | 192.241.183.87 |
| sip.za.didlogic.net | 102.130.116.205 |
| sip.br.didlogic.net | 169.57.132.146 |

![Inbound SIP settings](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/sip-integration-inbound.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=e155bcc5e1817f3aa4dd294bca92ac2f)

Select the **Country** where your SIP trunk is located.

![SIP country selection](https://mintcdn.com/comix-flow/4H7c-1isaod5g3zO/images/did-logic/sip-integration-country.png?fit=max\&auto=format\&n=4H7c-1isaod5g3zO\&q=85\&s=988433cfe0174bea0544d57dbbc1a9c4)

## 5. Verify Setup

Make a test call to your number to verify inbound calling, then use the test call feature to verify outbound calling.

## Security Requirements

> [!WARNING]
>
> Your SIP credentials need to be secure. Your password must have at least 12 characters, include numbers, upper and lowercase letters, and special characters are recommended.

## Common Issues

> [accordion] Outbound calls not working?
>
> * **Verify the SIP URI** — Make sure you copied the correct regional SIP URI from Step 2. Remove any trailing spaces.
> * **Check your username** — The username is the numeric SIP account number (e.g., `12345`), not your email address or account name.
> * **Check your password** — Ensure the password in ComixFlow matches exactly what you set in the DIDLogic SIP account settings.
> * **Verify IP whitelist** — Make sure `34.195.177.252` is added to the authorized IPs in your DIDLogic SIP account.

> [accordion] Inbound calls not working?
>
> * **Verify the SIP URI destination** — In DIDLogic, make sure the destination is set to SIP URI (not SIP device) and the format is correct: `<number_without_plus>@5wed79aeavr.sip.livekit.cloud`
> * **Check the IP whitelist in ComixFlow** — Make sure the IP address you added in the ComixFlow inbound settings matches the regional gateway you are using. Refer to the gateway IP table in Step 4.

***

> [!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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.