Page 33 of 132 FirstFirst ... 132324252627282930313233343536373839404142435383 ... LastLast
Results 321 to 330 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Originally Posted by timschuerewegen It's actually the other way around. MobilePhone uses "Equal" and MobileSMS ...
  1. #321
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by timschuerewegen View Post
    It's actually the other way around. MobilePhone uses "Equal" and MobileSMS uses "EqualStrict".
    I just realized one thing, I can't really comment on MobileSMS.app because all SMS in Brazil arrive with 0+Area_Code+number, so the EqualStrict will match as expected.

    What puzzles me is that you said MobilePhone.app uses plain "Equal" only and it does not provide any extact parameter to strengthen it up.

    Does MobilePhone.app calls any other AppSupport routine?


  2. #322
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Just a reminder that the order of phone number templates for a given country is very important. The first template decompo*******Number thinks can be applied to the normalized phone number string will be used. If this is a "bad" template (remember "2 7" and "1 7" issue?) then decomposedPhoneNumbersEqual will most probably return 0 because the decomposed phone number is bad.

  3. #323
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by aviegas View Post
    Does MobilePhone.app calls any other AppSupport routine?
    Apart from those 3 I mentioned in an earlier post, I don't think so.

  4. #324
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    I am going to try http://www.hackint0sh.org/forum/show...&postcount=299 myself. Can you give me the address book phone number string, dialpad phone number string and your "br" templates?

  5. #325
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by timschuerewegen View Post
    I am going to try http://www.hackint0sh.org/forum/show...&postcount=299 myself. Can you give me the address book phone number string, dialpad phone number string and your "br" templates?
    Here it goes:

    Address book: (041-21) 8111-2222
    Valid dial strings: 0412181112222 or 81112222
    SMSs arrive as 02181112222

    Dialpad will match the fist form, but not the second. SMS matches fine.

    BR Template:

    br 55 00 0 2 8
    br 55 0014 014 2 8
    br 55 0015 015 2 8
    br 55 0021 021 2 8
    br 55 0031 031 2 8
    br 55 0041 041 2 8
    br 55 004121 0 0 8
    br 55 00 - 0 8

    As I posted it also happens with the US template.
    Address Book: 1-212-444-5555
    Valid dial: 12124445555, 2124445555 and 4445555

    Dialpad will match the first 2, but not the last!


  6. #326
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    OK. I added your "br" templates to my AppSupport. Here are my results. They look correct, right? In other words, dialpad should be able to match that phone number in its 3 string formats to that one contact.

    Code:
    # ./CheckAppSupport CPPhoneNumberCopyNormalized "(041-21) 8111-2222"
    0412181112222
    # ./CheckAppSupport CPPhoneNumbersEqual "(041-21) 8111-2222" 0412181112222 br
    1
    # ./CheckAppSupport CPPhoneNumbersEqual "(041-21) 8111-2222" 81112222 br
    1
    # ./CheckAppSupport CPPhoneNumbersEqual "(041-21) 8111-2222" 02181112222 br
    1
    # ./CheckAppSupport decompo*******Number 0412181112222 br
    1,"55","041","21","81112222"
    # ./CheckAppSupport decompo*******Number 81112222 br
    1,"55","","","81112222"
    # ./CheckAppSupport decompo*******Number 02181112222 br
    1,"55","0","21","81112222"
    Last edited by timschuerewegen; 11-17-2007 at 06:45 PM.

  7. #327
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    And after some "trickery" the results of CPPhoneNumbersEqualStrict.

    Code:
    # ./CheckAppSupport CPPhoneNumbersEqualStrict "(041-21) 8111-2222" 0412181112222
    1
    # ./CheckAppSupport CPPhoneNumbersEqualStrict "(041-21) 8111-2222" 81112222
    0
    # ./CheckAppSupport CPPhoneNumbersEqualStrict "(041-21) 8111-2222" 02181112222
    1

  8. #328
    Senior Professional Array

    Join Date
    Aug 2007
    Location
    Brasil
    Posts
    111
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Quote Originally Posted by aviegas View Post
    Here it goes:

    Address book: (041-21) 8111-2222
    Valid dial strings: 0412181112222 or 81112222
    SMSs arrive as 02181112222

    Dialpad will match the fist form, but not the second. SMS matches fine.

    BR Template:

    br 55 00 0 2 8
    br 55 0014 014 2 8
    br 55 0015 015 2 8
    br 55 0021 021 2 8
    br 55 0031 031 2 8
    br 55 0041 041 2 8
    br 55 004121 0 0 8
    br 55 00 - 0 8

    As I posted it also happens with the US template.
    Address Book: 1-212-444-5555
    Valid dial: 12124445555, 2124445555 and 4445555

    Dialpad will match the first 2, but not the last!

    my guess is apple did that on purpose.

    given you are roaming with your phone, when dialing the last option (4445555) you will not call your stored contact, but someone who has this phone number in the given city in that moment. that`s why it`s not intended to match.

    It matches the first two options, because it will actually call the stored contact propely.

  9. #329
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by timschuerewegen View Post
    And after some "trickery" the results of CPPhoneNumbersEqualStrict.

    Code:
    # ./CheckAppSupport CPPhoneNumbersEqualStrict "(041-21) 8111-2222" 0412181112222
    1
    # ./CheckAppSupport CPPhoneNumbersEqualStrict "(041-21) 8111-2222" 81112222
    0
    # ./CheckAppSupport CPPhoneNumbersEqualStrict "(041-21) 8111-2222" 02181112222
    1

    That is the same I got. "Equal" matches all 3 and EqualStrict matches all but the one that has just the "local" number.

    "Recent Calls" will map all 3, so my "educated" guess is that the use the Equal call.

    The dialpad does not match the simple "local" number. So my "educated" guess *was* that they were using EqualStrict, but as proven they are not.

    The big question is: how are they doing the test and how can we patch it.

  10. #330
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by timschuerewegen View Post
    It's actually the other way around. MobilePhone uses "Equal" and MobileSMS uses "EqualStrict".
    Not sure what I was smoking but MobileSMS also uses CPPhoneNumbersEqual, not CPPhoneNumbersEqualStrict. So both Phone and SMS use Equal, not EqualStrict.


 

 

LinkBacks (?)

  1. 07-13-2009, 03:48 PM
  2. 03-17-2009, 03:51 PM
  3. 03-17-2009, 12:45 PM
  4. 03-17-2009, 12:43 PM
  5. 03-16-2009, 04:14 PM
  6. 02-14-2009, 03:43 PM
  7. 01-14-2009, 03:29 PM
  8. 01-14-2009, 02:08 PM

Similar Threads

  1. [1.1.3] International Caller ID Problem
    By GreatLicker in forum iPhone "2G" (Rev. 1)
    Replies: 3
    Last Post: 03-05-2008, 07:20 PM
  2. Replies: 106
    Last Post: 03-03-2008, 06:53 PM
  3. Caller ID for local numbers... is it possible?
    By nemesis1218 in forum Free Toolchain Software (Cydia App's)
    Replies: 4
    Last Post: 01-08-2008, 11:48 PM
  4. Replies: 21
    Last Post: 11-22-2007, 01:23 PM
  5. Matching contacts to UK caller ids?
    By jhrfc in forum General
    Replies: 7
    Last Post: 09-23-2007, 11:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:19 PM.
twitter, follow us!