Dnis question for lucent Legend

WE have a merlin Legend with a t-1 card and a full voice t-1

I have one 800# with DNIS 145 pointing to extension 145.

I have a national 800 # with unique routing hitting 3 differnt physical office locations based on area code origination.one of the routing destinations is the 800# with DNIS 145

I have been advised that calls off the national 800 must have a differnet DNIS other than 145. I Assume the carrier can send these to my t-1,but insert 245 rather than 145.

Is it possible to have the legend translate the dnis string of 245 to 145 at the switch? The objective it to get the call on ext 145 on the inside. What is the best way to handle this.