How to use wildcard for inbound trunk numbers

This question originally came up in our Slack community and the thread has been consolidated here for long-term reference.

Is it possible to add a wildcard (*) to the numbers array in the inbound trunk configuration? Or do I have to manually add each new number I want to connect?

I’m bridging from FreeSWITCH to LiveKit.

To accept calls from any number on an inbound trunk, leave the numbers array blank or use an array with a single empty string element.

The CLI supports this configuration. The result is an array with one element that is an empty string, which acts as a wildcard.