Page 86 of 132 FirstFirst ... 3666767778798081828384858687888990919293949596106 ... LastLast
Results 851 to 860 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; I have look into the template could you please explain a bit more about the ...
  1. #851
    Rookie Array

    Join Date
    Dec 2007
    Posts
    21
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I have look into the template could you please explain a bit more about the syntax of the new template (specifically what exclamation mark in the NDD means):

    For example Argentina template:
    ar 54 00 !0:9 ## ########

    what "!0:9" means? Does it mean NDD could be either 0 or 9?

    and for Sweden:
    se 46 00 !0 11 #####;######
    se 46 00 !0 13 #####;######
    se 46 00 !0 16 #####;######
    se 46 00 !0 18 #####;######
    se 46 00 !0 19 #####;######
    ...
    ...


    I see every lines have NDD = !0

    Is it the same as just 0 without exclamation mark?

    Thanks you for your amazing work on caller ID matching. Apple should contact you for the code.

    edit: I just read that ! in front of th IDD means NDD is mandatory and :9 means ignore "9" in NDD. Sorry for my ignorant.
    Last edited by Effervescent; 12-21-2007 at 09:17 AM.


  2. #852
    Rookie Array

    Join Date
    Dec 2007
    Posts
    21
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Here is the template for Thailand

    Code:
    // Thailand [th]
    th 66 001 !0 2 #######
    th 66 001 !0 ## ######
    th 66 001 !0 8# #######
    th 66 007 !0 2 #######
    th 66 007 !0 ## ######
    th 66 007 !0 8# #######
    th 66 008 !0 2 #######
    th 66 008 !0 ## ######
    th 66 008 !0 8# #######
    th 66 009 !0 2 #######
    th 66 009 !0 ## ######
    th 66 009 !0 8# #######
    Bangkok area code is "2" follow with 7 digits phone number
    Other area codes are 2 digits with 6 digits phone number
    Mobile phone are in area code 8# with 7 digits phone number

    NDD prefix is mandatory for Thailand since 2-3 year ago. And Thailand has 4 IDD codes (2 IDD operators, each has 2 IDD code for premium and VoIP)

    Many thanks again for your incredible work.

  3. #853
    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 ldoroshe View Post
    when numbers in address book put like #31#+aabbbccccccc - with old templates and pntedit matching does NOT work.
    when numbers in address book put like +aabbbccccccc or xbbbccccccc (x is NDD National Prefix) - matching does work.
    Yes. That is exactly what I also got when I ran some tests. There are two problems.

    The first problem is the CPPhoneNumberCopyNormalized function. Before a phone number string is decomposed into parts it is normalized. Unfortunately any "#" characters are removed. If the phone number string is "#31#+aabbbccccccc" then CPPhoneNumberCopyNormalized will return "31aabbbccccccc".

    The second problem is the decompo*******Number function. It knows about "+", NDD, IDD, area code, etc. but not about the "#31#".

    To properly support the "#31#" prefix the CPPhoneNumberCopyNormalized would have to be modified so that "#31#" and the "+" survive. The decompo*******Number can then be modified to that it recognizes the "#31#" and ignore it.

  4. #854
    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 ccontrerasg View Post
    thanks timschuerewegen
    But my problem is not the national calls.
    The international SMS is the problem
    Several occasionally sending a mobile in Venezuela but I have to leave the mark
    (123) 058 412 XXX XXXX
    (123) is the carrier
    But I want to see how synchronize the number of the addressbok
    (123) 058412 XXX XXXX equals to +58412 XXX XXXX
    On http://www.kropla.com/dialcode.htm I see "01-23-0" in th IDD column for Venezuela, there is no "1-23-0".

    If you add the "ve 58 01230 0 ### #######" template then "0123058412XXXXXXX" will be decomposed correctly.

    Code:
    # Framework AppSupport decompo*******Number +58412XXXXXXX ve
    1,"58","","412","XXXXXXX"
    # Framework AppSupport decompo*******Number 0123058412XXXXXXX ve
    1,"58","","412","XXXXXXX"
    EDIT: You can also use "ve 58 01##0 0 ### #######" to match all the different IDD's with a single template.
    Last edited by timschuerewegen; 12-21-2007 at 10:54 AM.

  5. #855
    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 Cerebro View Post
    Has anyone tried this in Ireland?

    If so what is the solution?
    I would appreciate it as I dont fully understand what I have to do.

    I would also appreciate if Apple were to fix this themselves and not have people depending on hacking into their shiny new iPhones for something an fundamental as "Caller ID matching".

    Maybe they could release it soon, say in 1.1.3..... Along with a new bootlooader perhaps?... just a thought
    According to Telephone numbers in the Republic of Ireland the following templates should work.
    Code:
    ie 353 00 0 1 #######;########
    ie 353 00 0 40# #####;######;#######
    ie 353 00 0 50# #####;######;#######
    ie 353 00 0 ## #####;######;#######


  6. #856
    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 Effervescent View Post
    edit: I just read that ! in front of th IDD means NDD is mandatory and :9 means ignore "9" in NDD. Sorry for my ignorant.
    When there's a "!" in front of the NDD a phone number string in the format "area code + subscriber number" will not be decomposed because the NDD is missing. The ":" is a separator. After the ":" can be put an NDD "opposite", which can appear at the same location as NDD in a phone number, but only in an international notation.

  7. #857
    Supporter Array locklin's Avatar

    Join Date
    Mar 2007
    Location
    Caracas, Venezuela
    Posts
    111
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by locklin View Post
    Hello TIM,

    After applying this new AppSupport my SMS.app is much slower than before, it takes about 5 seconds just to show the list of mesages.

    I replaced the new one with my old AppSupport (patched with the previous method) and the SMS.app is again at normal speed.

    What do you think is going on here?
    Is anyone having this problem or it's just me?

  8. #858
    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 locklin View Post
    Is anyone having this problem or it's just me?
    Try moving the "ve" template(s) to the top of the .txt file.

  9. #859
    Supporter Array locklin's Avatar

    Join Date
    Mar 2007
    Location
    Caracas, Venezuela
    Posts
    111
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by timschuerewegen View Post
    Try moving the "ve" template(s) to the top of the .txt file.
    I moved the "ve" template to the top of the list, it's a little bit faster now to load the SMS.app, I'll try removing all the templates I won't use (since I don't travel to Vietnam, not yet at least) to see if it load any faster.

    I'll update later.

    UPDATE:

    Lot faster since removing all unused templates!!.

    Thanks a lot Tim.
    Last edited by locklin; 12-21-2007 at 12:23 PM. Reason: Update

  10. #860
    Rookie Array

    Join Date
    Sep 2006
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by timschuerewegen View Post
    Yes. That is exactly what I also got when I ran some tests. There are two problems.

    The first problem is the CPPhoneNumberCopyNormalized function. Before a phone number string is decomposed into parts it is normalized. Unfortunately any "#" characters are removed. If the phone number string is "#31#+aabbbccccccc" then CPPhoneNumberCopyNormalized will return "31aabbbccccccc".

    The second problem is the decompo*******Number function. It knows about "+", NDD, IDD, area code, etc. but not about the "#31#".

    To properly support the "#31#" prefix the CPPhoneNumberCopyNormalized would have to be modified so that "#31#" and the "+" survive. The decompo*******Number can then be modified to that it recognizes the "#31#" and ignore it.
    Thank you, Tim. So, no hope at the moment to achieve such decomposing?

    I'm noticed that I had some confusion in GSM codes, because #31# is GSM code to disable Caller ID sending, and *31# - code to enable, so I need *31# prefix. Anyway, it has # inside, so it wouldn't work...

    Am I right?


 

 

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