agent-phone-numbers
Fix Sip Trunk
Fix SIP trunk by deleting and recreating with correct IP allowlist.
Use this when inbound calls aren’t reaching LiveKit due to IP allowlist issues.
CAUTION: This will:
- Delete the existing trunk
- Create a new trunk with correct provider IPs
- The trunk_id will change
- You may need to re-register the phone number to recreate dispatch rules
Args: phone_number: The phone number to fix (E.164 format) provider: SIP provider (telnyx, twilio, vonage, plivo, etc.)
POST
Fix Sip Trunk
Authorizations
Response
Successful Response
The response is of type Response Fix Sip Trunk Agents Sip Fix Trunk Phone Number Post · object.