We have a T1 that previously has only been used for outgoing long distance. The plan is to get some new 800 numbers that will be incoming on the same T1. I understand that I can use a translation rule to map the incoming dnis to the internal dn that we want it to go to.
My question is: do I have to have separate dial-peers configured, each with its own "incoming called-number" statement to do this, or can I have a generic dial-peer that matches all incoming calls on that T1, and references one translation rule with multiple entries?
This is on IOS 12.4(24)T2 / CME 7.1 on a 2851.
Inbound calls will match a dial peer on "incoming called-number", "answer-address", "destination-patter" and voice port, in that order. See the following link for further explanation.
That being said, with this config, incoming calls to 79XX will match dial peer 9. All other calls will match dial peer 10. You could also simplify this to one dial peer for all incoming calls:
dial-peer voice 10 pots
description inbound 800 numbers
incoming called-number .
translation-profile incoming from800
The translation profile would only take effect when the called number matched one of those configured in your voice translation rule. Otherwise, the digits would just be passed through.
Hope this helps.