You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/advanced/sip/sip-trunk.mdx
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,19 @@ SIP trunking replaces traditional phone lines with a virtual connection over the
10
10
11
11
Vapi supports multiple SIP trunk configurations, including:
12
12
13
-
-**Telnyx**: Uses SIP gateway domain (e.g., sip.telnyx.com) with IP-based authentication. May require a tech prefix for outbound calls.
13
+
-**Telnyx**: Uses SIP gateway domain (e.g., sip.telnyx.com) with IP-based authentication.
14
14
-**Zadarma**: Uses SIP credentials (username/password) with its SIP server (e.g., sip.zadarma.com).
15
15
-**Custom "BYO" SIP Trunk**: Allows integration with any SIP provider. You simply provide the SIP gateway address and the necessary authentication details.
16
16
17
+
<Warning>
18
+
Our IP Addresses are:
19
+
20
+
- 44.229.228.186/32
21
+
- 44.238.177.138/32
22
+
23
+
However, we generally don't recommend IP-based authentication for SIP trunks as it can lead to routing issues. Since our servers are shared by many customers, if your telephony provider has multiple customers using IP-based authentication, calls may be routed incorrectly. IP-based authentication works reliably only when your SIP provider offers a unique termination URI or a dedicated SIP server for each customer, as is the case with Plivo and Twilio integrations.
24
+
</Warning>
25
+
17
26
## 2. Setup Process Overview
18
27
19
28
To set up a SIP trunk in Vapi, follow these steps:
@@ -92,3 +101,27 @@ POST https://api.vapi.ai/call/phone
92
101
#### Inbound Call Test
93
102
94
103
If inbound routing is configured, call your phone number from an external line. Ensure your provider forwards calls to the correct SIP URI (e.g., `{phoneNumber}@sip.vapi.ai` for Zadarma).
104
+
105
+
#### SIP REFER (Call Transfer)
106
+
107
+
If you need to transfer a call to another number, you will need to add a SIP Transfer based call forwarding where transfer number will look like this: sip:[email protected]
0 commit comments