Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Originally Posted by kultschar
When I upload this file however do I need to change ...
-
Senior Professional
Array

Originally Posted by
kultschar
When I upload this file however do I need to change it from appsupport.patched to just appsupport??
Yes. Either rename file to "AppSupport" first then upload and overwrite, or upload, then rename to "AppSupport" (after renaming original to something else or deleting it) and chmod 755.
-
-
Senior Professional
Array
It appears I have a problem with my custom code then:
Im from the Falkland Islands (International code 500) we dont have area codes and the longest phone numbers are 5 digits - though the local tel company does send SMS messages from 3 digit numbers e.g. 453 = balance of prepaid
I have tried this but it appears to not work
fk 500 00 - 0 5
Any help would be much appreciated - my permissions are set correctly
-
-
The Man
Array

Originally Posted by
kultschar
It appears I have a problem with my custom code then:
Im from the Falkland Islands (International code 500) we dont have area codes and the longest phone numbers are 5 digits - though the local tel company does send SMS messages from 3 digit numbers e.g. 453 = balance of prepaid
I have tried this but it appears to not work
fk 500 00 - 0 5
Any help would be much appreciated - my permissions are set correctly
Looks correct to me.
Must be something else.
Try retrieving the version from the phone and extract the table and see if the values are indeed there.
-
Senior Professional
Array

Originally Posted by
kultschar
I have tried this but it appears to not work
fk 500 00 - 0 5
Any help would be much appreciated - my permissions are set correctly
Remember to always reboot your iPhone after any changes to AppSupport. If that doesn't solve your problem then run following commands on your iPhone and tell me what they return.
./Framework AppSupport CPPhoneNumberCopyNetworkCountryCode
./Framework AppSupport decompo*******Number +50012345 fk
./Framework AppSupport decompo*******Number 12345 fk
./Framework AppSupport CPPhoneNumbersEqual +50012345 12345 fk
./Framework AppSupport phoneNumbersEqual +50012345 fk 12345 fk 0
./Framework AppSupport phoneNumbersEqual +50012345 fk 12345 fk 1
You can download the "Framework" binary from my post a few pages back. Look for the sendspace url.
-
-
Senior Professional
Array
Hi
Yes I just did this and my list is:
us 1 011 1 3 7
fk 500 00 - 0 5
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 - 1 8
it 39 00 - 2 7
it 39 00 - 3 6
it 39 00 - 4 5
de 49 00 0 2 7
de 49 00 0 3 6
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
-
Senior Professional
Array
WHat do I do with the framework file and how do I run the commands?
Cheers
Paul
-
-
Senior Professional
Array

Originally Posted by
kultschar
WHat do I do with the framework file and how do I run the commands?
How to install "Framework".
- put the "Framework" file in the /usr/bin directory on your iPhone
- connect with Telnet/SSH Client to your iPhone
- run "cd /usr/bin"
- run "chmod 755 Framework"
How to use "Framework".
- connect with Telnet/SSH Client to your iPhone
- run "Framework" for help
You can drop the "./" from the commands I posted.
-
Senior Professional
Array
Hi - here are the results, thanx for your assistance
./Framework AppSupport CPPhoneNumberCopyNetworkCountryCode
GIVES ERROR - RETURN CODE 138
./Framework AppSupport decompo*******Number +50012345 fk
1,"500","","","12345"
./Framework AppSupport decompo*******Number 12345 fk
1,"500","","","12345"
./Framework AppSupport CPPhoneNumbersEqual +50012345 12345 fk
1
./Framework AppSupport phoneNumbersEqual +50012345 fk 12345 fk 0
1,0
./Framework AppSupport phoneNumbersEqual +50012345 fk 12345 fk 1
0,0
-
-
Senior Professional
Array

Originally Posted by
kultschar
./Framework AppSupport CPPhoneNumberCopyNetworkCountryCode
GIVES ERROR - RETURN CODE 138
I don't know why/how it would return something like that. It should return "fk".

Originally Posted by
kultschar
./Framework AppSupport phoneNumbersEqual +50012345 fk 12345 fk 0
1,0
./Framework AppSupport phoneNumbersEqual +50012345 fk 12345 fk 1
0,0
If that 2nd value is "0" (and it is) then keypad/dialpad is not going to match those two numbers. If you do want them to be matched then you have to do the following. At offset 0x2DE8 in the AppSupport file change "3F 10 DD E5" into "01 10 A0 E3" with a hex editor. I don't know if this is an iPhone bug or a feature.
-
The Man
Array
[QUOTE=timschuerewegen;123818If that 2nd value is "0" (and it is) then keypad/dialpad is not going to match those two numbers. If you do want them to be matched then you have to do the following. At offset 0x2DE8 in the AppSupport file change "3F 10 DD E5" into "01 10 A0 E3" with a hex editor. I don't know if this is an iPhone bug or a feature.[/QUOTE]
I think it was a "forgotten or missed" design decision. Several design, as well as business, decisions for the iPhone exhibit a strong tendency toward the model used for US CDMA networks, that do *not* allow dialing local numbers with NDD+Area Code.
But carriers that support NDD+Area Code dialing of local numbers sell it as a "Network Feature", as do AT&T.
The thing get really weird if you compare it with the "Recent Calls" list. For this part, Apple did the matching.... so.
Instead of a bug, I call a "missed" point.
-
Similar Threads
-
By GreatLicker in forum iPhone "2G" (Rev. 1)
Replies: 3
Last Post: 03-05-2008, 08:20 PM
-
By Adonius in forum iPhone "2G" (Rev. 1)
Replies: 106
Last Post: 03-03-2008, 07:53 PM
-
By nemesis1218 in forum Free Toolchain Software
Replies: 4
Last Post: 01-09-2008, 12:48 AM
-
By Vger in forum iPhone "2G" (Rev. 1)
Replies: 21
Last Post: 11-22-2007, 02:23 PM
-
By jhrfc in forum General
Replies: 7
Last Post: 09-23-2007, 11:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks