I one CM version 4.1 and a 3745 gateway connected to PRI ISDN E1.
Output calls to PSTN works fine.
Problem is when one input call comes throught PRI-ISDN.
Local PTT send four digits that I can use to route call to one internal extensions. However number that receive like 2451, 2452 ..., 2479 are diferent from my extensions (300, 301,.., 399).
How Can I translate these input numbers to real extensions
Basically this is the only way to do this with callmanager and MGCP.
This get really nasty when you have many translation patterns, then it is time to map the last digits to extensions
Example external 12567832 to internal 832