2009/8/14 Dan Staley <span dir="ltr">&lt;<a href="mailto:daniel.l.staley@gmail.com">daniel.l.staley@gmail.com</a>&gt;</span><br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2.)  One of the first things I noticed was that when a text message arrived, the number associated with it has the international code (1) prefixed at the beginning.  On my sim card, I only had the numbers stored with the area code + 7 digits for number....no international prefix.  So using pisi (which works perfectly btw!  Thanks for that app!)  I exported my contacts to a vcf file and ran some regexes with vim over it to prefix a 1 to all my numbers and went back to my messages....sure enough the numbers were associated with names now.  However, soon after I got a phone call....and I noticed that all phone calls had numbers reported that did NOT have the 1 prefixed...so no names were associated with them now!<br>


Has anyone found a fix for this?  Is there a patch for the SHR apps that make them lookup a number that is not a direct match (missing a 1 or an area code?)<br><br>I installed the opimd-utils package and tried these out.  It seems the messages application included in this package can recognize a number correctly (if it comes in with a 1 prefixed, but the listing in my phone book does not).  If I wanted to use this messaging application instead of the default one in SHR....how would I do that?  How do I disable the old one?  Does anyone know if litephone handles this correctly?<br>


</blockquote><div><br>Thanks for bringing this up. No, litephone doesn&#39;t handle this correctly. <br><br>I&#39;m thinking that a good way to compare phone numbers (for example the sender of a message and a phone book entry) is to check whether one number is a suffix of the other number. Are there any (non-obscure) cases where this would give false positives?<br>
<br>Michal<br></div></div>