magnificent-optician-44475
03/25/2025, 6:59 PMtall-airline-16756
03/25/2025, 7:00 PMtall-airline-16756
03/25/2025, 7:00 PMCreateSIPInboundTrunk
API.
2. Configure the allowed_addresses
parameter to specify which IP addresses or CIDR blocks are allowed to connect.
The allowed_addresses
parameter accepts an array of strings, where each item can be either an individual IP address or a CIDR block notation. By specifying only the allowed subnets, you effectively restrict connections from other subnets.
For example, when creating your inbound trunk, include the allowed_addresses
parameter with the IP ranges you want to allow, while implicitly blocking others.
Sources: SIP APIs | LiveKit Docs