l
hi
t
Thanks for reaching out, Pavan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! What can I help you with today?
l
URI FQDN or IP address of your VoIP infrastructure. Exclude prefixes (https:// or http:// or www or sip). To use TLS as transport use "example.com:5061;transport=tls" and for TCP "example.com;transport=tcp" whre i can get this for livekit to integratet sip trunck in plivo
t
Hey there! If you're looking to integrate a SIP trunk in Plivo with LiveKit, you'll need to set up both sides. Don’t worry, I’ve got the key details for you: LiveKit SIP Endpoint (FQDN): This is basically the domain name where LiveKit will receive SIP traffic from Plivo. You can find it in your LiveKit Cloud Project Settings. For example, it might look like
vjnxecm0tjk.sip.livekit.cloud
. You’ll want to use this as the URI when setting up your inbound trunk in Plivo. Here’s how to get it done: 1. Inbound Trunk in Plivo: Set up an inbound trunk and use your LiveKit SIP endpoint as the URI. 2. Outbound Trunk in LiveKit: Configure an outbound trunk with Plivo’s SIP server info—like the domain or IP, username, and password. 3. Dispatch Rule in LiveKit: Create a dispatch rule to decide how incoming calls get routed to your rooms. If you want to dive deeper, check out the Plivo SIP setup guide and the LiveKit outbound trunk setup. They’re super helpful! Sources: Create and configure a Plivo SIP trunk | LiveKit Docs | SIP trunk setup | LiveKit Docs | SIP APIs | LiveKit Docs
l
livekit.api.twirp_client.TwirpError: TwirpError(code=permission_denied, message=twirp error unknown: unexpected status from INVITE response: sip status: 403: Forbidden, status=403, metadata={'error_details': 'CAcSQnVuZXhwZWN0ZWQgc3RhdHVzIGZyb20gSU5WSVRFIHJlc3BvbnNlOiBzaXAgc3RhdHVzOiA0MDM6IEZvcmJpZGRlbho3CiV0eXBlLmdvb2dsZWFwaXMuY29tL2xpdmVraXQuU0lQU3RhdHVzEg4IkwMSCUZvcmJpZGRlbg==', 'sip_status': 'Forbidden', 'sip_status_code': '403'}) explain this
t
Hey there! That error message, "unexpected status from INVITE response: sip status: 403: Forbidden," usually points to a couple of common issues: 1. Authentication or Permission Error: It might be that the username and password you set up for your SIP trunk in LiveKit don’t quite match what your SIP trunk provider expects. Double-check those credentials to make sure they’re spot on. 2. Regional Compliance: Sometimes, calls need to stay within certain national borders due to regulations. If that’s the case, try using region-based endpoints or add the
destination_country
parameter when making outbound calls. Take a moment to review your SIP trunk setup and credentials, and make sure everything aligns with regional rules. If you hit any snags or want a hand, just let me know—I’m here to help! Sources: SIP troubleshooting guide | LiveKit Docs
l
how to add plivo outboud trunk in livkit
t
Hey there! If you want to add a Plivo outbound trunk in LiveKit, just follow these simple steps: 1. First, sign in to your LiveKit Cloud dashboard and head over to Telephony → Configuration. 2. Next, click Create new → Trunk and switch to the JSON editor tab. 3. Make sure to set the trunk direction to Outbound. 4. Now, enter your trunk details in JSON format. Here’s a handy template you can use—just swap out the placeholders with your Plivo trunk domain name, phone number, and authentication info:
Copy code
{
  "name": "My outbound trunk",
  "address": "<my-trunk-domain-name>",
  "numbers": [
    "+15105550123"
  ],
  "authUsername": "<username>",
  "authPassword": "<password>"
}
1. Finally, hit Create to wrap up the setup. Just a quick heads-up: make sure your Plivo trunk is set up correctly on their side, including authentication and linking your phone number. If you want to dive deeper, check out the Plivo Setup Guide. We're here if you need any help along the way! Sources: SIP trunk setup | LiveKit Docs | Create and configure a Plivo SIP trunk | LiveKit Docs