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 pnedit 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: pnedit read AppSupport PhoneNumberTemplates.txt
Mac: ./pnedit 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
Bookmarks