Hi Denis,
2010/9/10 Denis Kenzior <denkenz(a)gmail.com>:
I've been hearing reports that some networks actually rewrite
the
address (e.g. change national number to international, etc) which causes
our status reports to not match.
That happens.
We can do two things:
1. Rely on message reference only. This seems dangerous
2. Fallback to a 'fuzzy'. E.g. try to match on the reference and last n
digits of the phone number, ignoring ton/npi. This can get tricky as
some national numbers can get different prefixes from the equivalent
international number, so we need to pick a nice value of 'n'.
I seem to recall some empirical evidence that n=6 works well, when
paired with the message reference.
Cheers,
Aki