Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions fern/advanced/sip/sip-didlogic.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: DIDLogic SIP integration
subtitle: Connect DIDLogic SIP trunks and phone numbers to Vapi
description: Configure DIDLogic and Vapi for inbound calls, outbound calls, and SIP REFER transfers.
title: didlogic SIP integration
subtitle: Connect didlogic SIP trunks and phone numbers to Vapi
description: Configure didlogic and Vapi for inbound calls, outbound calls, and SIP REFER transfers.
slug: advanced/sip/didlogic
---

Connect your DIDLogic SIP trunk to Vapi so your assistants can receive and place phone calls. This guide covers outbound calling through DIDLogic, inbound routing to Vapi, and optional SIP REFER transfers.
Connect your didlogic SIP trunk to Vapi so your assistants can receive and place phone calls. This guide covers outbound calling through didlogic, inbound routing to Vapi, and optional SIP REFER transfers.

For SIP trunking concepts and network requirements, see the [SIP trunking guide](/advanced/sip/sip-trunk).

Expand All @@ -17,39 +17,39 @@ Use the Vapi dashboard, SIP hostname, and API resources for the region where you

Before you begin, make sure you have:

- An active [DIDLogic account](https://didlogic.com/get-started?utm_source=vapi_docs) with a positive balance
- At least one purchased phone number in the DIDLogic customer portal
- An active DIDLogic SIP account
- An active [didlogic account](https://didlogic.com/get-started?utm_source=vapi_docs) with a positive balance
- At least one purchased phone number in the didlogic customer portal
- An active didlogic SIP account
- A Vapi account and assistant

## Configure outbound calling

<Steps>
<Step title="Create a DIDLogic SIP trunk credential">
<Step title="Create a didlogic SIP trunk credential">
In the [Vapi dashboard](https://dashboard.vapi.ai), select your organization name, then go to **Settings → Integrations → SIP Trunk** and click **Configure New SIP Trunk**.

Configure the credential with your DIDLogic SIP account details:
Configure the credential with your didlogic SIP account details:

- **Name:** A descriptive name, such as `DIDLogic`
- **IP Address / Domain:** A [DIDLogic regional SIP gateway](https://docs.didlogic.com/docs/guides/getting-started/outbound-calling#our-sip-gateways), such as `sip.nl.didlogic.net`
- **Username:** Your five-digit DIDLogic SIP username
- **Password:** Your DIDLogic SIP password
- **Name:** A descriptive name, such as `didlogic`
- **IP Address / Domain:** A [didlogic regional SIP gateway](https://docs.didlogic.com/docs/guides/getting-started/outbound-calling#our-sip-gateways), such as `sip.nl.didlogic.net`
- **Username:** Your five-digit didlogic SIP username
- **Password:** Your didlogic SIP password

Save the credential and note its credential ID. You will use this ID when configuring inbound routing.
</Step>

<Step title="Import your DIDLogic phone number for outbound calling">
To place outbound calls with the SIP trunk credential, the DIDLogic phone number must be available in Vapi. Go to [Phone Numbers](https://dashboard.vapi.ai/phone-numbers). If your DIDLogic number is not already listed, click **Create Phone Number** and select **BYO SIP Trunk Number**. If the number is already listed, open it to update its configuration.
<Step title="Import your didlogic phone number for outbound calling">
To place outbound calls with the SIP trunk credential, the didlogic phone number must be available in Vapi. Go to [Phone Numbers](https://dashboard.vapi.ai/phone-numbers). If your didlogic number is not already listed, click **Create Phone Number** and select **BYO SIP Trunk Number**. If the number is already listed, open it to update its configuration.

Enter or confirm your DIDLogic phone number and select the DIDLogic credential in the **SIP Trunk Credential** dropdown. If the number will also receive inbound calls, assign the assistant that should answer them. Save the phone number.
Enter or confirm your didlogic phone number and select the didlogic credential in the **SIP Trunk Credential** dropdown. If the number will also receive inbound calls, assign the assistant that should answer them. Save the phone number.
</Step>
</Steps>

## Configure inbound call routing

<Steps>
<Step title="Open the DIDLogic destination settings">
Sign in to the [DIDLogic customer portal](https://app.didlogic.com), go to **Purchased**, find the phone number you imported into Vapi, and click **Edit** in the **Destination** section.
<Step title="Open the didlogic destination settings">
Sign in to the [didlogic customer portal](https://app.didlogic.com), go to **Purchased**, find the phone number you imported into Vapi, and click **Edit** in the **Destination** section.
</Step>

<Step title="Route the number to Vapi">
Expand All @@ -63,7 +63,7 @@ Before you begin, make sure you have:
YOUR_PHONE_NUMBER@YOUR_CREDENTIAL_ID.sip.eu.vapi.ai
```

Replace `YOUR_PHONE_NUMBER` with the DIDLogic number you imported and `YOUR_CREDENTIAL_ID` with the Vapi SIP trunk credential ID. Do not use a Vapi private API key in the SIP URI.
Replace `YOUR_PHONE_NUMBER` with the didlogic number you imported and `YOUR_CREDENTIAL_ID` with the Vapi SIP trunk credential ID. Do not use a Vapi private API key in the SIP URI.

Click **Add** to save the destination.
</Step>
Expand All @@ -73,29 +73,29 @@ Before you begin, make sure you have:

### Test outbound calling

1. In Vapi, select an assistant and the imported DIDLogic phone number.
1. In Vapi, select an assistant and the imported didlogic phone number.
2. Place a test call to a phone you can answer.
3. Verify that the call connects and displays the expected caller ID.

### Test inbound calling

1. Dial your DIDLogic phone number from an external phone.
1. Dial your didlogic phone number from an external phone.
2. Verify that Vapi receives the call and the assistant assigned to the number answers.

## Configure SIP REFER transfers

To transfer an active call through DIDLogic, ask your DIDLogic account manager to enable SIP REFER for your account.
To transfer an active call through didlogic, ask your didlogic account manager to enable SIP REFER for your account.

<Warning>
DIDLogic may restrict SIP REFER transfers to other DIDLogic numbers. Confirm the supported destinations and required routing with your DIDLogic account manager.
didlogic may restrict SIP REFER transfers to other didlogic numbers. Confirm the supported destinations and required routing with your didlogic account manager.
</Warning>

<Steps>
<Step title="Create a transfer tool">
In Vapi, go to **Tools → Create Tool → Transfer Call**. Add a **SIP** destination and enter a URI in the following format:

```text
sip:+E164_NUMBER@YOUR_DIDLOGIC_GATEWAY
sip:+E164_NUMBER@YOUR_didlogic_GATEWAY
```

For example, `sip:+31203691111@sip.nl.didlogic.net`.
Expand Down
2 changes: 1 addition & 1 deletion fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ navigation:
path: advanced/sip/sip-telnyx.mdx
- page: DIDWW
path: advanced/sip/sip-didww.mdx
- page: DIDLogic
- page: didlogic
path: advanced/sip/sip-didlogic.mdx
- page: Zadarma
path: advanced/sip/sip-zadarma.mdx
Expand Down
Loading