Wondering how others handle DID routing?

 

I have seen some former posts that talk about using alaias_db, however the request URI gets changed to the users SIP URI and the receiving device (asterisk) cant distinguish the DID as a result.

 

Any thoughts are appreciated.

 

-dan