Page 25 of 132 FirstFirst ... 51516171819202122232425262728293031323334354575125 ... LastLast
Results 241 to 250 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Thank you for the answer... I tried "ch 41 00 0 2 7" without success ...
  1. #241
    Rookie Array

    Join Date
    Nov 2007
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thank you for the answer...

    I tried "ch 41 00 0 2 7" without success :-(, but maybe I make an error.


  2. #242
    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 flacca View Post
    Thank you for the answer...

    I tried "ch 41 00 0 2 7" without success :-(, but maybe I make an error.
    Did you reboot your iPhone? Changes to AppSupport require a reboot.

  3. #243
    Rookie Array

    Join Date
    Nov 2007
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by timschuerewegen View Post
    Did you reboot your iPhone? Changes to AppSupport require a reboot.
    Yes, each time I change the file (AppSupport).

    My steps are:

    - I take the AppSupport inside my iPhone with WinsCP
    - I read the file with the program pntedit.exe
    - I delete one country and place the code for Switzerland: ch 41 00 0 2 7
    - I write the new file everything OK
    - I change the file from AppSupport.Patched to AppSupport
    - I transfer the new file with WinSCP
    - I reboot my Phone

    And nothing change ???? I try a lot of settings ...... ? strange

  4. #244
    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'm going to see if I can write a small iPhone app that uses the AppSupport framework to normalize, decompose and compare phone numbers.
    Is there a way to hack it out to perform the test on the last X digits only, like the previous patches for 1.0.2 and 1.1.1?

    My guess is that there are some situations all over the world where it will be impossible to handle with the Apple approach. Like when SMSs and phones are formated differently, for example. Or in countries that different operator format their numbers differently (with or without carrier select).

    Companies Like Nokia, Ericsson and Motorola, that are on the cell phone business world wide all have opted to compare the last n digits. Some do 7, some do 6. And it's fixed. Period.

    Apple came with the US based approach (where all number are always well formed) and the world is not like that.

  5. #245
    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

    Here's the small iPhone app that I was going to make.

    http://www.sendspace.com/file/oyehm6

    EDIT 1: updated CheckAppSupport (added decompo*******Number)
    EDIT 2: updated CheckAppSupport (added phoneNumbersEqual)

    Perfect for testing how AppSupport handles phone numbers

    Run the app without parameters to see which calls are supported.

    Example:

    Code:
    # ./CheckAppSupport CPPhoneNumberCopyActiveCountryCode
    be
    # ./CheckAppSupport CPPhoneNumbersEqualStrict +3236468954 036468953
    1
    #
    Last edited by timschuerewegen; 11-17-2007 at 03:35 PM.


  6. #246
    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 flacca View Post
    Thank you for the answer...

    I tried "ch 41 00 0 2 7" without success :-(, but maybe I make an error.
    Download "CheckAppSupport" (see my post above this one) , put it on your iPhone, give it exec permission. Then run the following command and see what it returns.

    Code:
    ./CheckAppSupport CPPhoneNumbersEqualStrict "+41 79 3965246" "079 3965246"
    If it is "1" then there should not be a problem, the iPhone thinks that both phone numbers are equal. If you get "0" then somehow "ch 41 00 0 2 7" is not working as expected.
    Last edited by timschuerewegen; 11-16-2007 at 12:55 AM.

  7. #247
    The Man Array aviegas's Avatar

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

    Default

    What makes it more interesting in the Apple approach is that they assume that it's all like in the US, where the IDD has 3 digits (011) and the IDD is a single digit. Some countries have IDD with 4+ digits and IDD with 2+ digits.

    Just take a peek at:

    http://www.kropla.com/dialcode.htm

    So the matching algorithm they have created, combined with the number of digits limitation for each component will never cover some parts of the world.

    Anyway, let's see what I can do with what we got from Apple

    But still a simple match will do it better.

  8. #248
    The Man Array aviegas's Avatar

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

    Default

    Ok, for anyone trying to make it work in Brazil, here is what I found:

    Patterns:

    Numbers are 8 digits
    Area codes 2
    NDD can be 0 or 0XX, where XX is the carrier code (14, 15, 21, 31, 41)

    So numbers my show as

    0XX-AA-NNNNNNNN
    or
    0AA-NNNNNNNN

    So the correct way to specify would be (correct but not supported):

    br 55 00 0 2 8
    br 55 00 014 2 8
    br 55 00 015 2 8
    br 55 00 021 2 8
    br 55 00 031 2 8
    br 55 00 041 2 8

    But the implementation does not support the NDD with more than one digit. So the only alternative is:

    br 55 00 0 2 8
    br 55 00 0 4 8

    But it will require one to store numbers twice. Not really a nice solution.
    Some carriers do send the number in the reverse dial format (0XX-AA-NNNNNNNN), but others send in the "carrier independent" format (no good to callback). SMSs are always sent from the carrier using the "carrier independent" format.

    So any place the the NDD has more than one digit it will not work properly.

    I think this difference is also present in other countries too. So the only solution for these cases is a "rigtmost X digits match" only.

  9. #249
    Senior Professional Array crackn's Avatar

    Join Date
    Aug 2007
    Posts
    200
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    23

    Default

    what happens if we set NDD to ( - ) like italy and say that our area code is 5 digits?

    this would include the operator code 41 or other to match as area code too.
    so:

    br 55 00 0 2 8
    br 55 00 0 4 8
    br 55 00 - 5 8


    maybe it work.

    i can't test it right now.

    cRACKn

  10. #250
    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 crackn View Post
    what happens if we set NDD to ( - ) like italy and say that our area code is 5 digits?

    this would include the operator code 41 or other to match as area code too.
    so:

    br 55 00 0 2 8
    br 55 00 0 4 8
    br 55 00 - 5 8


    maybe it work.

    i can't test it right now.

    cRACKn

    The problem is that the cell company sends:

    calls as: 0CC-AA-NNNNNNNN
    SMS as: 0AA-NNNNNN

    There is no rule that will match both to a single entry in the contacts.

    The IDD and NDD are fields used for international and long distance access, so they are optional in the matching. So for the 2 Brazilian formats, the "correct" pattern would be
    br 55 00 0 2 8
    br 55 00 0 4 8

    This will match with or without the starting 0
    Last edited by aviegas; 11-16-2007 at 10:57 AM.


 

 

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 07:48 AM.
twitter, follow us!