SIP Billing Starts October 27, 2025
Calls via the SIP medium will start to incur additional charges on Monday, October 27, 2025.See https://ultravox.ai/pricing for details.
Calls via the SIP medium will start to incur additional charges on Monday, October 27, 2025.See https://ultravox.ai/pricing for details.
SIP Quickstart
The fastest way to start using SIP with Ultravox:1
Create an Agent
Create an agent using the Ultravox Realtime console.
2
Create a SIP Call
Create an agent call using the Create Agent Call API and use the
sip
medium.API Key Required
Make sure you have an Ultravox API key. You can create one in the console.
Make sure you have an Ultravox API key. You can create one in the console.
Incoming SIP Calls
For incoming calls, you can configure Ultravox to accept calls from your SIP system then send a sip invite directly to your agent. The SIP invite will create an Ultravox call and connect to it, no other requests required. Ultravox supports two setups for incoming SIP calls: IP allowlisting and SIP registration. IP allowlisting works well with dedicated PBX systems, while SIP registration is recommended for cloud PBX setups. In either setup, you can choose to allow incoming calls to all of your agents or to specific agents only. Calls will be created automatically from your agent’s call template when a SIP invite is received.IP Allowlisting
To set up IP Allowlisting, use the sip configuration API to add your SIP system’s public IP addresses to theallowedCidrRanges
list. Entries in this list must be IPv4 CIDR ranges, e.g. 0.0.0.0/0
for any IP address (not recommended) or 91.200.160.14/32
for the single 91.200.160.14
IP address.
Once your SIP system’s IP address(es) are allowed, you can have them send SIP invites to your agents using the pattern agent_{agent_id}@{your_account_sip_domain}
. The value for {your_account_sip_domain}
is available when you view your SIP configuration.
SIP Registration
In the registration model, Ultravox acts as a SIP client (similar to a softphone) and registers with your SIP server as the user you specify. To set this up, you’ll need to create a user in your PBX, configure your PBX to send relevant calls to that user, and then create a registration for that user in Ultravox. When creating a registration, you’ll need to provide the following information:username
: The username of the user you created in your PBX.password
: The password for that user.proxy
: The domain or IP address of your SIP server.
Personalizing the Call
Many parts of an agent can use context to personalize a call. (See Call Template Configuration.) You can use SIP headers to populate template context for incoming SIP calls. Each header value is interpretted as JSON to allow for complex values. For example including the headersX-Customer-Name: Bob
and X-Complex-Value: {"subkey": "value"}
becomes {"customer_name": "Bob", "complex_value": {"subkey": "value"}}
.
Outgoing SIP Calls
For outgoing calls, you can create a SIP call with Ultravox Realtime Create Agent Call or Create Call endpoints using thesip
medium with outgoing
property.
Outgoing SIP Parameters
The target SIP URL to which the Ultravox call will connect.Examples:
sip:username@domain
, sip:+15551234567@carrier.com
The caller identifier. Must conform to what your SIP trunk allows.
Optional. Username for connecting to your SIP trunk.
Optional. Password for connecting to your SIP trunk.
Examples
Example: Creating an Outgoing SIP Call to Linphone
Example: Creating an Outgoing SIP Call using a Twilio trunk
Supported Codecs
Ultravox Realtime supports wideband (AKA “HD audio”) and narrowband SIP via various codecs:Codec | Audio Quality |
---|---|
G.722 | HD (16kHz) |
G.722.1 | HD (16kHz) |
G.722.2 | HD (16kHz) |
Opus | Premium HD (48kHz) |
G.711 (PCMU/u-law) | Standard (8kHz) |
G.711 (PCMA/a-law) | Standard (8kHz) |
iLBC | Standard (8kHz) |
Integrations
- Voximplant Provides a native connector for Ultravox. Learn more
- jambonz enables SIP connections and has an integration for Ultravox. Learn more.