Based on my understanding of ITU-T E.123 (http://www.itu.int/rec/T-REC-E.123-200102-I) I think we can look at the last 8 digits of any number for safe comparison