Nice spot. The problem is that the ENUM lookup is performed against the dialled number and not your stripped number.
There are cases where the ENUM lookup should be done before stripping/altering the number and sometimes after (like your requirement).
For the most part, the before checking would cater for the majority.
Let us think about the possibility of a 2nd lookup and see how viable that is.
__________________
Martin
Please post support questions on the forum. Do not send PMs unless requested.
|