INBOUND ROUTES WITH IVR AND DID RANGE

Hello everyone, I think I have a problem and I’m stuck on it.

I have a range of DIDs, starting at 3175-3000 and ending at 3175-3200.

How do I configure it so that when the DID Pattern is 3175-3000 this call is forwarded to an IVR.

And how do I configure it so that when the DID Pattern is 3175-3001 until 3175-3200 the routing mode is routed to the extensions (Routing Method = DID RANGE)?

The internal extensions match the last 4 numbers of the DID.

Thanks