Inbound routes

I have SIP trunk. And I also have a lot of SIP clients. If I want to call from SIP trunk to the Asterisk SIP client, I need to create Inbound route for each endpoint. Maybe is possible to create an endpoint group, because I have a lot of SIP endpoints, and it takes a lot of time to create inbound routes. Or maybe it’s only one way to do that.

Inbound routes allow CID or DID pattern matching. Is this what you need?