Page 36 of 132 FirstFirst ... 162627282930313233343536373839404142434445465686 ... LastLast
Results 351 to 360 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Originally Posted by N007 Sorry for the complete regression on your conversation here tim and ...
  1. #351
    Young Padawan Array duck9000's Avatar

    Join Date
    Sep 2007
    Location
    The Outer Rim
    Posts
    2,461
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    149

    Default

    Quote Originally Posted by N007 View Post
    Sorry for the complete regression on your conversation here tim and aviegas and this question is intended for anyone who completed the above successfully. I do not get how it works at all and not able to progress from step two :
    Run "pntedit.exe read AppSupport PhoneNumberTemplates.txt"
    I am running on a mac and when i double click pntedit it opens up terminal. How do I open appsupport there, and where is PhoneNumberTemplates.txt?

    Would appreciate a noob explanation for those who upgraded to 112 and cant progress.

    Many thanks for your amazing work!
    Try putting all the files (pntedit and appsupport) in a single folder. That did the job for me
    ** If you just want to support hackint0sh.org with a donation, please click here **.


  2. #352
    Rookie Array d00by's Avatar

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

    Question

    Quote Originally Posted by aviegas View Post
    Tell us the country name please, and do not use a + unless it means the start of the dial number from the international patther (+ mean add the local IDD here).

    My country is India. Can you help me with this id thing?

  3. #353
    Senior Professional Array

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

    Default

    Quote Originally Posted by N007 View Post
    Sorry for the complete regression on your conversation here tim and aviegas and this question is intended for anyone who completed the above successfully. I do not get how it works at all and not able to progress from step two :
    Run "pntedit.exe read AppSupport PhoneNumberTemplates.txt"
    I am running on a mac and when i double click pntedit it opens up terminal. How do I open appsupport there, and where is PhoneNumberTemplates.txt?

    Would appreciate a noob explanation for those who upgraded to 112 and cant progress.

    Many thanks for your amazing work!
    open up terminal...
    go to the pntedit folder for example if it's on your desktop... type cd ~/desktop/pntedit

    now type ./pntedit read AppSupport PhoneNumberTemplates.txt... (basically wherever you see pntedit.exe in the instructions replace it with "./pntedit"

  4. #354
    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 N007 View Post
    Sorry for the complete regression on your conversation here tim and aviegas and this question is intended for anyone who completed the above successfully. I do not get how it works at all and not able to progress from step two :
    Run "pntedit.exe read AppSupport PhoneNumberTemplates.txt"
    I am running on a mac and when i double click pntedit it opens up terminal. How do I open appsupport there, and where is PhoneNumberTemplates.txt?

    Would appreciate a noob explanation for those who upgraded to 112 and cant progress.

    Many thanks for your amazing work!

    1) You must run those commands from a command prompt (Windows) or a shell/terminal (Mac OS X).

    2) Create a folder on your desktop, name it "patcher" and put the pntedit executable for your platform in this folder as well as the stock copy of AppSupport.

    3) Open a "command prompt" (windows) or a "terminal" (Mac OS X) and type

    "cd Desktop/patcher"

    4) Dump the original table

    Win: pntedit read AppSupport PhoneNumberTemplates.txt
    Mac: ./pntedit read AppSupport PhoneNumberTemplates.txt

    5) Edit your table with Notepad (Win) or TextEdit (Mac OS X) - or your favorite TXT file editor (do not use a wordprocessor like MS Word or Pages). Make the necessary changes in the file.

    Each line of the file contains 6 elements:

    - ISO Country Code (2 letter, lowercase)
    - International Telephony Country Code
    - IDD Prefix (International Direct Dialing)
    - NDD Prefix (National Direct Dialing)
    - Area code length (in digits)
    - Local telephone lnumber ength (in digits)

    Current limitation: 8 countries and 32 entries

    For information on your country's Telephony code, IDD and NDD, check:
    http://www.kropla.com/dialcode.htm

    For information of the ISO
    http://www.iso.org/iso/english_count..._code_elements


    6) Create a patched version of AppSupport

    Win: pntedit write AppSupport PhoneNumberTemplates.txt AppSupport.Patched
    Mac: ./pntedit write AppSupport PhoneNumberTemplates.txt AppSupport.Patched

    7) Move the newly patched AppSupport.Patched file to your iPhone using your favorite method (SFTP, SCP, etc)

    /System/Library/Frameworks/AppSupport.Framework/AppSupport

    8) Reboot your iPhone
    Last edited by aviegas; 11-19-2007 at 01:45 AM. Reason: Fixed a bad and important typo

  5. #355
    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 kultschar View Post
    Hi there aviegas,

    Im from the Falkland Islands

    500 is the digit country code, we have no area code and our telephone numbers never exceed 5 digits

    e.g. home tel: 22310
    Mobile: 52310

    Best regards

    Paul
    Try:

    fk 500 00 - 0 5

    That should do it.

    But since you said: "never exceed it", if there are 4 digit numbers, then you need another line with

    fk 500 00 - 0 4

    If and only if there are any 4 digits terminals (the source on the Web said all are 5 digits)
    Last edited by aviegas; 11-18-2007 at 10:34 AM.


  6. #356
    Senior Professional Array

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

    Default

    Aviegas

    Many thanks - I will try this!!

  7. #357
    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
    Will look into that. Can you elaborate on what you have found?
    unsigned long decomposedPhoneNumbersEqual( void *DecomposedPhoneNumber1, void *DecomposedPhoneNumber2, unsigned long Strict, unsigned long *AreaCodePresent);

    The decomposedPhoneNumbersEqual function returns 1 if two decomposed numbers are equal and 0 if not equal. It can also tell you if there is an area code present (see AreaCodePresent parameter). If you run CheckAppSupport with "phoneNumbersEqual_test" then that 2nd value will be AreaCodePresent. I added the hidden "_test" version of "phoneNumbersEqual" because at that time I did not know what that AreaCodePresent parameter was supposed to return.

    Here is the flow from MobilePhone app to AppSupport framework.

    Code:
    MobilePhone app
    --> class "SpeedDialController" method "_runAddTest"
    AddressBook framework
    --> ABCCopyArrayOfUIDsMatchingPhoneNumberWithCountryAndHintAddressBook
    --> nts_PersonUIDsForPhoneNumber
    --> runPhoneQueryWithContextForNumber
    AppSupport framework
    --> CPSqliteStatementProcessPhoneQuery
    --> decompo*******Number
    --> decomposedPhoneNumbersEqual
    AddressBook framework
    --> phoneQueryRowHandler
    The value of AreaCodePresent returned by decomposedPhoneNumbersEqual is used as a parameter for the phoneQueryRowHandler function. If this value is 0 then phoneQueryRowHandler will ignore the phone number. The "01 10 A0 E3" patch from my previous post forces phoneQueryRowHandler to be called with a 1 instead of the value of AreaCodePresent.

    EDIT: AreaCodePresent is not exactly "area code present" but it doesn't really matter
    Last edited by timschuerewegen; 11-18-2007 at 11:48 AM.

  8. #358
    Advanced Array

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

    Default

    For italy, who would test this template... I leave some line of de country.

    I make this file because I have some phonebook number with and without +39.

    PS: I cannot test number with 2 and 4 digit prefix.

    us 1 011 1 3 7
    ca 1 011 1 3 7
    fr 33 00 0 1 8
    fr 33 40 0 1 8
    fr 33 50 0 1 8
    fr 33 70 0 1 8
    fr 33 90 0 1 8
    uk 44 00 0 3 7
    it 39 00 - 2 7
    it 39 00 - 2 8
    it 39 00 - 3 6
    it 39 00 - 3 7
    it 39 00 - 4 6
    it 39 00 - 4 7
    de 49 00 0 4 5
    de 49 00 0 5 4
    de 49 00 0 2 8
    de 49 00 0 3 7
    de 49 00 0 4 6
    de 49 00 0 5 5
    de 49 00 0 2 9
    de 49 00 0 3 8
    de 49 00 0 4 7
    de 49 00 0 5 6
    jp 81 010 0 1 9
    jp 81 010 0 2 8
    jp 81 010 0 3 7
    jp 81 010 0 4 6
    jp 81 010 0 5 5
    cn 86 00 0 0 11
    cn 86 00 0 2 8
    cn 86 00 0 3 7

  9. #359
    The Man Array aviegas's Avatar

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

    Default

    Ah. Great find!

    I've just tried the patch and it works great!

    It's a great option for anyone in a country that "(NDD+) Area-Code" can be optional for local dialing and people tend to add the (NDD+) Area-Code" to the Address Book. So far I know it happens in Brazil and most of the US (I know some areas in the US where the area code is mandatory even for local calls).

    Do you plan to add an option to pntedit for this patch? I'm thinking on creating a page on the WiKi to hold 4 things:

    a) Configuring the iPhone for unsupported Networks (the network carrier and operators), describing the plist file and how to change it

    b) Configuration for the CallerId Matching and to prevent MobilePhone.app and MobileSMS.app from crashing

    c) Create a place for links to repositories of "network" plists

    d) Create a repository of country callerid matching settings
    Last edited by aviegas; 11-18-2007 at 11:56 AM.

  10. #360
    Advanced Array

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

    Default

    Aviegas you are truly the man! keep up the great work guys...


 

 

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