We have deployed CUCM 6.1 and AA using IVR at our CU. Find below the details,
Numbering plan - 513XXX
DID range from service provider - 3XXX
Gateway protocol - MGCP
For incoming calls we have configured translation pattern on CUCM so that 4-digit called number 3XXX gets translated to 6-digit number 513XXX so that CUCM can route calls to appropriate DN which is registered to CUCM.
Also for outgoing calls, we have configured calling party transformation mask on route patterns so that appropriate DID gets displayed.
Now, we have also deployed AA using IVR. PSTN callers will dial only 4-digit number i.e. 3XXX but call should get transferred to 513XXX. This means IVR script should add prefix to called number.
Any idea how to achieve the same