Hi,
I've got CM 10.5 with a 3925 Voice gateway. My connection to the telecom is on PRIs and the backhaul is MGCP between the 3925 and CM.
On the 3925 I enabled debug voice ccapi inout, debug mgcp packets, debug isdn q931 and the screenshot below is from an inbound test phone call.

Calling Party is my cell phone. Called telephone number is a DID.
Called telephone number is NPA-NXX-3692. You can see in the screenshot my telecom is only sending me 4 digits not all 10. My Cisco IP phone's DN is 3692. IP Phone rings when NPA-NXX-3692 is dialed.
Can telecom send me just digits and not DNIS?
Can I write translation patterns to route these (digits or DNIS) to appropriate locations like Unity call handlers or UCCX triggers or DNs on an IP Phone?
Thanks very much.
Tim