For Livekit to work with Vicidial (Asterick Based ...
# ask-ai
g
For Livekit to work with Vicidial (Asterick Based System) Do i need an SIP connection in between via Twilio or something like that or it can directly work between Livekit & Vicidial?
t
Thanks for reaching out, Snehaal. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
LiveKit needs an SIP connection to work with Vicidial—there isn’t a way to connect them directly without using SIP. Here’s what you’ll need to get things set up: • A SIP trunk to manage call routing between LiveKit and Vicidial. • Whitelisting your LiveKit server’s IP address in Vicidial’s trusted network. • Setting up SIP URI-based routing, since Vicidial only accepts calls to SIP URIs within its trusted network. If you’d like a hand with the SIP configuration or have any questions, just let me know—I’m here to help!
g
I have already setup the SIP trunks both for inbound & outbound and a dispatch rule to route incoming call from vicidial. Do i need an intermediatary like Twilio SIP configured for it to work between them?
t
Just to make sure we’re on the same page about whether you need an intermediary like Twilio SIP, could you help me out with a few quick questions? • Can your Vicidial system act as a SIP trunk provider and send calls straight to LiveKit’s SIP endpoints? • Do you need new phone numbers for the LiveKit setup, or can you use the ones you already have with Vicidial? • Are you planning to route calls from Vicidial to LiveKit rooms, or are you looking to bring LiveKit agents into your current Vicidial call flows? • Is Vicidial able to provide the SIP authentication credentials LiveKit would need? Getting a clear picture of these will really help us figure out if Twilio or another middleman is necessary. Sources: Create and configure SIP trunk | LiveKit Docs | Integrating with Telephony | LiveKit Docs | SIP overview | LiveKit Docs | src/setup-livekit.ts
g
Vicidial can act as a SIP trunk provider, I can use a number already from Vicidial. I m looking to bring Livekit agent in current vicidial call flows. Yes it can provide credentials for SIP authentication if need be
t
Since Vicidial can act as a SIP trunk provider and provide SIP authentication credentials, and you're planning to bring LiveKit agents into your existing Vicidial call flows, you actually don’t need an intermediary like Twilio SIP. You can set up the SIP connection directly between Vicidial and LiveKit. Here’s what to keep in mind: • Set up SIP trunking between Vicidial and LiveKit using the credentials you have. • Configure Vicidial to route calls to LiveKit’s SIP endpoints as part of your call flow. • Make sure the LiveKit server’s IP is whitelisted in Vicidial’s trusted network. If you’d like a hand with the specific setup steps, just let me know—I’m happy to help!
g
can you help me with all 3 steps in more detail?
t
Here are the detailed steps for setting up the integration on the LiveKit side: 1. Set up SIP Trunking in LiveKit: • First, grab your LiveKit SIP endpoint. For example, if your SIP URI is
sip:vjnxecm0tjk.sip.livekit.cloud
, then your endpoint is
vjnxecm0tjk.sip.livekit.cloud
. • Head over to LiveKit and navigate to Telephony → Configuration. There, create a new inbound trunk and use the JSON editor to add your phone numbers. • If you want to make outbound calls too, just create an outbound trunk in the same place and set it up with the right authentication and routing details. 2. Create Dispatch Rules in LiveKit: • Still in LiveKit, go to Telephony → Configuration and create a new dispatch rule. • Use the JSON editor to set up the rule so it handles incoming calls and sends them to the right LiveKit rooms. For Vicidial-specific stuff like setting up SIP trunks, routing calls to LiveKit, and whitelisting IPs, it’s best to check out Vicidial’s documentation or reach out to their support team. And of course, if you want me to help with anything else, just let me know! Sources: SIP trunk setup | LiveKit Docs
g
Can you provide me account entry & dialplan settings to enter in Vicidial while doing the carrier settings in that?
t
Hey there! To help you out with the account entry and dialplan settings for Vicidial, could you please clarify a few things for me? • What specific fields do you see in your Vicidial carrier settings for account entry and dialplan configuration? • Are you using username/password authentication, IP-based authentication, or something else for the SIP trunk? • Are you routing calls from Vicidial to LiveKit rooms, or is LiveKit acting as a SIP trunk provider for Vicidial? Once I have these details, I’ll be able to guide you more precisely. Thanks! Sources: Create and configure SIP trunk | LiveKit Docs | SIP APIs | LiveKit Docs | SIP trunk setup | LiveKit Docs