Page 26 of 132 FirstFirst ... 61617181920212223242526272829303132333435364676126 ... LastLast
Results 251 to 260 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Here's a decompo*******Number example for Belgium. The first value is "1" (success) or "0" (failure). ...
  1. #251
    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 a decompo*******Number example for Belgium. The first value is "1" (success) or "0" (failure). The second value is the country code. The third value is the IDD prefix. The fourth value is the area code. The fifth value is the subscriber number. The templates I used were "be 32 00 0 1 7" and "be 32 00 0 3 6".

    Code:
    # ./CheckAppSupport decompo*******Number +3236468953 be
    1,"32","","3","6468953"
    # ./CheckAppSupport decompo*******Number 036468953 be
    1,"32","0","3","6468953"
    # ./CheckAppSupport decompo*******Number +32485289534 be
    1,"32","","485","289534"
    # ./CheckAppSupport decompo*******Number 0485289534 be
    1,"32","0","485","289534"
    # ./CheckAppSupport decompo*******Number 1234 be
    0,"","","","1234"
    #
    If you specify a country name ("us", "ca", "de", etc.) that is not in AppSupport's phonenumber templates table then decompo*******Number will crash. Where have I seen this before?
    Last edited by timschuerewegen; 11-16-2007 at 10:24 AM.


  2. #252
    Senior Professional Array ptan218's Avatar

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

    Default

    thanks mate, I have got a 8-digit caller id support for singapore. cheers!

  3. #253
    The Man Array aviegas's Avatar

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

    Default

    I've noticed another problem:

    Pattern: cc xx 00 0 2 8

    Should match nnnnnnnn as well as 0xxnnnnnnnn

    It works fine when viewing the call log, but do not match if dialing a call.
    on the US phone it matches, and it did in 1.1.1 and 1.0.2 with the plain x-rightmost matching algorithm.

    Tim's work is great in unscranbling this whole mess, but Apple's approach sucks big time, as it's too simplistic (based on the N American numbering) and the oposite approach used by virtually all other cell phone manufacturers. Oh well...

  4. #254
    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
    I've noticed another problem:

    Pattern: cc xx 00 0 2 8

    Should match nnnnnnnn as well as 0xxnnnnnnnn
    Are you sure? Here's what I think.

    Template "cc xx 00 0 2 8" can decompile "0xxnnnnnnnn" but not "nnnnnnnn".
    Template "cc xx 00 - 0 8" can decompile "nnnnnnnn".

    I added "zz 99 00 0 2 8" and "zz 99 00 - 0 8" templates to my table.

    Code:
    # ./CheckAppSupport decompo*******Number 01122222222 zz
    1,"99","0","11","22222222"
    # ./CheckAppSupport decompo*******Number 22222222 zz
    1,"99","","","22222222"
    # ./CheckAppSupport CPPhoneNumbersEqual 22222222 01122222222 zz
    1
    #
    Isn't that what you want? I could be wrong, feel free to correct me

  5. #255
    The Man Array aviegas's Avatar

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

    Default

    In Brazil the NDD is 0xx, where xx is the carrier code. Area codes are 2 digit.
    When dialing a local number, NDD and area codes are optional (cell co. will remove them). So contact entries usually have the NDD and area codes, to enable dialing either in the "local" area code or when traveling.

    For example, I have entries like 0412188884444. The recieved caller id will be 02188884444 for SMSs, 88884444 when in the local area code, or 0412188884444 when outiside the local area code.

    I do not see how to make the match with Apple's algorithm. Matching the x-rightmost digits ( in this case 8) is the only solution I can think off, and for things like this that other manufacturers do it this way (Nokia for example matches only 6)


  6. #256
    Advanced Array

    Join Date
    Sep 2007
    Posts
    38
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Tim, if you're not going to release the source code for your application, at least tell us how the hack works or the offsets for the number matching and area code for the table.

    Not everyone has an intel machine.

  7. #257
    Senior Professional Array

    Join Date
    Aug 2007
    Posts
    312
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    22

    Default

    everthing working great except for the caller id on local calls....

    the country code here is +962 city code is 6 and we have 7 digit numbers
    mobile numbers have either a 079, 077, or 078 and 7 digits...

    i edited the appsupport file but only incomming and outgoing mobile numbers show the caller id.... local numbers don't

    the phone shows the local numbers like this (06X) XXXXXX
    i have tried the following but none work:
    jo 962 00 0 1 7
    jo 962 00 0 2 7
    jo 962 00 0 2 6
    jo 962 99 9 3 6

    any suggestions?

    if i dial from a mobile to lanline i need to dial 06 then the 7 digit number.... phone does not rcognize the caller id... however if i omit the 0 when dialing and simply dial 6 and the seven digit number the phone matches the number to the phonebook... however, i cannot make calls like that.... what do i need to do so that it will accept the 0 before the 6 and still sow me the phonebook contacts name?

  8. #258
    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 ashraf@samawi.com View Post
    everthing working great except for the caller id on local calls....

    the country code here is +962 city code is 6 and we have 7 digit numbers
    mobile numbers have either a 079, 077, or 078 and 7 digits...

    i edited the appsupport file but only incomming and outgoing mobile numbers show the caller id.... local numbers don't

    the phone shows the local numbers like this (06X) XXXXXX
    i have tried the following but none work:
    jo 962 00 0 1 7
    jo 962 00 0 2 7
    jo 962 00 0 2 6
    jo 962 99 9 3 6

    any suggestions?

    if i dial from a mobile to lanline i need to dial 06 then the 7 digit number.... phone does not rcognize the caller id... however if i omit the 0 when dialing and simply dial 6 and the seven digit number the phone matches the number to the phonebook... however, i cannot make calls like that.... what do i need to do so that it will accept the 0 before the 6 and still sow me the phonebook contacts name?
    I need some examples. Let's say I want to call John Doe in your country. He has a landline and a mobile phone. Can you give me all the variations (with +962, without +962, etc.) that I can dial to reach him on his landline and mobile phone, from withing your country or elsewhere in the world? In other words, give me as many different valid phonenumber strings that you think should be handled equally by the iPhone. This will make it easier to "see" the phonenumber templates.
    Last edited by timschuerewegen; 11-16-2007 at 01:17 PM.

  9. #259
    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 anarchron View Post
    Tim, if you're not going to release the source code for your application, at least tell us how the hack works or the offsets for the number matching and area code for the table.

    Not everyone has an intel machine.
    And not everyone is working on a PPC machine. Give me some time to boot up my MacBook and install a PPC compiler. Sjeez.

    EDIT: Try http://www.sendspace.com/file/z6huhi and let me know if it works or not
    Last edited by timschuerewegen; 11-16-2007 at 01:46 PM.

  10. #260
    Senior Professional Array

    Join Date
    Aug 2007
    Posts
    312
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    22

    Default

    sure...
    from within the country:
    mobile: +962 79 1234567 or 079 1234567 or 00962 79 1234567
    landline: +962 6 1234567 or 06 1234567 or 00962 6 1234567

    from abroad:
    Mobile: +962 79 1234567 or 00962 79 1234567 or 011962 79 1234567 (depending if from US or Europe)
    Landline: +962 6 1234567 or 00962 6 1234567 or 011962 6 1234567 (depending if from US or Europe)

    hope that helps


 

 

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 08:27 PM.
twitter, follow us!