Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Not working It is working for phone but not working for SMS. It look like ...
  1. #1031
    Advanced Array

    Join Date
    Jan 2008
    Posts
    39
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Not working It is working for phone but not working for SMS.

    It look like problem is with my provider. He send me caller id in international format only for SMS, but for phone he send format 0XX XXX-XXX. I keep my phone numbers in 0XX XXX-XXX format not in international formats. If i change a phone ID to international format than SMS work ok but phone recognition not work. I have a same problem with 1.1.2 version and resolve it with your 6-rightmost digits library "PhoneNumber-6.dylib". What I miss now is your updated rightmost library for 1.1.3.

    Thank you, great job man !!!
    Last edited by beba; 01-27-2008 at 01:51 PM.


  2. #1032
    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 beba View Post
    It look like problem is with my provider. He send me caller id in international format only for SMS, but for phone he send format 0XX XXX-XXX. I keep my phone numbers in 0XX XXX-XXX format not in international formats. If i change a phone ID to international format than SMS work ok but phone recognition not work.
    The template I gave you should have worked. Here's my output.

    # Framework AppSupport decompo*******Number +38212123456 me
    1,"382","","12","123456"
    # Framework AppSupport decompo*******Number 012123456 me
    1,"382","0","12","123456"

    Does "Framework AppSupport CPPhoneNumberCopyActiveCountryCode" return "me"?

    Did you use an application (like iSim) to transfer phone numbers from your SIM card to your iPhone address book?

  3. #1033
    Advanced Array

    Join Date
    Jan 2008
    Posts
    39
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Yes, yes that was a problem

    Framework AppSupport CPPhoneNumberCopyActiveCountryCode" return "cs"

    If I remember good "cs" is id for ex country Serbia & Montenegro....

    I change string you give to me to: cs 382 00 0 ## #####;###### and now everything works great.

    Thank you very much Tim, if you ever pass through Montenegro "I owe you a beer"

  4. #1034
    Rookie Array

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

    Default

    For Portugal just use the following line in PhoneNumberTemplates.txt:

    // Portugal [pt]
    pt 351 00 - - #########;#########


    I just tried it and it works perfectly.

    BTW, I think it will be the same for Spain:

    // Spain [es]
    es 34 00 - - #########;#########

  5. #1035
    Rookie Array Kusulas's Avatar

    Join Date
    Jan 2008
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Talking

    I just want to thank you Tim!!!! you are the greatest! you made me the happiest girl in the world!

    It works perfectly in México, well, I haven't try the SMSs 'cause its 3:45 am over here, and I can make some ppl mad if I send SMSs right now, and I'm sure someone is going to kick my ass! XDDD but I'm 100% sure that it works with SMSs as well

    Finally I got rid off that shitty iWorld!

    Thank you!!!!


  6. #1036
    Advanced Array

    Join Date
    Jan 2008
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    when u run the patch to sort out intenational calller id do u still have to store numbrs with international calling sode. also if a number comes up without the internayional prefix when someone calls me does that mean it worked. because this is what happened but the name of the person calling me does not come up when i copied the numbrs from my sim. the way the calls come up and the way they are stored are the same.

  7. #1037
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by timschuerewegen View Post
    Try

    + + + + 481 ######
    + + + + 485 ######
    + + + + 486 ######
    + + + + 487 ######
    + + + + 488 ######
    + + + + 48 #######
    Tim - unfortunately, it triggers the first template in your list:
    Framework AppSupport decompo*******Number +31481234567 nl
    1,"31","","481","234567"

    It should be decomposed as 2+7 but matches it with the 481 area code

    if i put the + + + + 48 ####### as first, it matches OK:
    Framework AppSupport decompo*******Number +31481234567 nl
    1,"31","","48","1234567"

    But then again e.g. a 485 number will be decomposed as a 2+7 (it's most probably matched against the + + + + 48 ####### template

    I think it's the way the dylib works that makes it decompose that way - does it take into account the delimiting space between area code and SN ? I think that somewhere it enumerates the total length (area code + SN) of the number and by this way doesn't see any difference as 2+7 and 3+6 equals 9 in both cases... my wild guess of course

    you said somewhere back in the thread it decomposes
    first, in groups of total length and
    then following the length of area codes
    and this in ascending order

    i've taken these into account and tried several combinations, even a long list without wildcard # anywhere but am heading to same results ever...

  8. #1038
    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 filouchke View Post
    Tim - unfortunately, it triggers the first template in your list:
    Framework AppSupport decompo*******Number +31481234567 nl
    1,"31","","481","234567"

    It should be decomposed as 2+7 but matches it with the 481 area code
    If you want "481xxxxxx" to be decomposed as area code "48" + subscriber number instead of "481" + subscriber number then simply remove the "481" template line. The reason why I added "481" is because it is supposed to be the area code of Bemmel according to numberingplans.com

    Quote Originally Posted by filouchke View Post
    if i put the + + + + 48 ####### as first, it matches OK:
    Framework AppSupport decompo*******Number +31481234567 nl
    1,"31","","48","1234567"
    If you put that line first then it will "eat up" all numbers where the area code starts with "48" and the "48x" templates lines might as well not exist.

    Quote Originally Posted by filouchke View Post
    But then again e.g. a 485 number will be decomposed as a 2+7 (it's most probably matched against the + + + + 48 ####### template
    Yes. It eats up all "48xxxxxxx" numbers. The "485" template doesn't get a chance. It should come first.

    Quote Originally Posted by filouchke View Post
    I think it's the way the dylib works that makes it decompose that way - does it take into account the delimiting space between area code and SN ? I think that somewhere it enumerates the total length (area code + SN) of the number and by this way doesn't see any difference as 2+7 and 3+6 equals 9 in both cases... my wild guess of course
    It doesn't see a difference between 2+7 and 3+6 if you only use "#" characters. You have to use non-"#" character in the area code so that it knows when an area code is 2 or 3 digits long.

    Quote Originally Posted by filouchke View Post
    you said somewhere back in the thread it decomposes
    first, in groups of total length and then following the length of area codes and this in ascending order
    No. I said that you should order them that way, but it is only when using pntedit edit and the "old" templates (ie. the ones without "#" characters).

  9. #1039
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Tim - it indeed "eats up" things, check here a test with a 2+7 (48)1234567 number which gets eaten by the 3+6 which is first in the list 481 ######:

    +31(48)1234567
    # Framework AppSupport decompo*******Number +31481234567 nl
    1,"31","","481","234567"

    +31(48)5234567
    Framework AppSupport decompo*******Number +31485234567 nl
    1,"31","","485","234567"

    # Framework AppSupport decompo*******Number +31(48)0234567 nl
    1,"31","","48","0234567"

    i've used your adviced order for this:
    + + + + 481 ######
    + + + + 485 ######
    + + + + 486 ######
    + + + + 487 ######
    + + + + 488 ######
    + + + + 48 #######

    So whenever a 2+7 number has a first digit of the subscriber number that begins with 1/5/6/7/8 it will be "eaten" up by the 3+6 templates which are first in the list.

    realy a pity, as this is the only party-breaking case for the dutch template

  10. #1040
    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 filouchke View Post
    So whenever a 2+7 number has a first digit of the subscriber number that begins with 1/5/6/7/8 it will be "eaten" up by the 3+6 templates which are first in the list. realy a pity, as this is the only party-breaking case for the dutch template
    The number starts as one solid 9-digit number. It is by using correct templates that you decide how it gets divided into area code and subscriber number.

    You have to decide if you want "48 1234567" or "481 123456" because you can't have both. If you want "48 1234567" then remove the "481" template line. If you want "481 123456" then keep the "481" template line. It is either one or the other.
    Last edited by timschuerewegen; 01-28-2008 at 10:10 PM.


 

 

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