Route by caller ID

I am currently trying to set up this function, but I when I try to configure a route like this:
any DID / 012345678 it doesn’t work.
If I make a route like :
130 / any CID it works

Can somebody help me, please ?

thanks

try

_X./012345678

as an inbound route and see if that works.

Thanks it works.

Thanks a lot