Ah! You have an interesting configuration @dcitelecom. The issue becomes more clear. Are most of your DIDs all on the same domain? Your design of numbers has been created with thoughtfulness which greatly reduces the potential of "collisions".
I am thinking of a modified copy of the is_local...