Please explain the process for setting up support ...
# ask-ai
m
Please explain the process for setting up support for outbound calls
t
Thanks for reaching out, Alexander. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to guide you through setting up support for outbound calls in LiveKit. Here’s a simple step-by-step to get you started: 1. SIP Trunking Provider Setup: First, you'll want to purchase a phone number from a SIP trunking provider and configure the SIP trunk so it accepts SIP traffic from LiveKit's SIP service. If you’re using providers like Plivo, there are specific setup guides available to make this easier. 2. LiveKit SIP Configuration: Next, create an outbound trunk in LiveKit linked to your SIP provider’s phone number. Be sure to include the authentication credentials your SIP provider requires. 3. Make an Outbound Call: When you’re ready to place a call, use the
CreateSIPParticipant
API to initiate the SIP call to your destination number through the configured trunk. You can also use the LiveKit CLI or SDKs if that’s more convenient. 4. Optional Features: If you want, you can enable extra features like playing a dial tone while connecting or sending DTMF tones during the call to enhance the experience. For AI agents making outbound calls, just dispatch the agent first, then create a SIP participant. Please feel free to reach out if you’d like me to walk you through any of these steps in more detail or if you have any questions. I’m here to help! Sources: Making outbound calls | LiveKit Docs | Create and configure a Plivo SIP trunk | LiveKit Docs | telephony/survey_caller/make_survey_calls.py | Make outbound calls | LiveKit Docs | ivr-nagivator/README.mdoc