Page 80 of 132 FirstFirst ... 3060707172737475767778798081828384858687888990100130 ... LastLast
Results 791 to 800 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Timschuerewegen, thanks for the time and effort. Here is the information for Iran: Mobile number ...
  1. #791
    Rookie Array Yazdgerd's Avatar

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

    Default

    Timschuerewegen, thanks for the time and effort. Here is the information for Iran:

    Mobile number format: +98 123 1234567 (Local Dialing: 0123 1234567)
    Landline number format: +98 12 12345678 (Local Dialing: 012 12345678)

    Here is the suggested template:

    // Iran
    ir 98 00 0 ### #######
    ir 98 00 0 ## ########

    Now the questions: First, is this suggested template right? If yes, how to make it work? Thanks again, and please add this to your template if the format is right.
    Last edited by Yazdgerd; 12-19-2007 at 01:56 AM.


  2. #792
    psp
    psp is offline
    Professional Array

    Join Date
    Oct 2007
    Location
    Far away
    Posts
    61
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Hi

    I was looking at the phonetemplate,

    // Singapore
    sg 65 001 - - ########
    sg 65 002 - - ########
    sg 65 008 - - ########
    sg 65 012 - - ########
    sg 65 013 - - ########
    sg 65 018 - - ########
    sg 65 019 - - ########

    Where do you get this from? Since Singapore is a small country, so for number are

    international +65 12345678
    Local calling 12345678

    I thought
    sg 65 00 0 - ########
    is good enough?

    For Malaysia (+60)
    I used to have
    my 60 00 0 1 7
    my 60 00 0 2 7
    my 60 00 0 3 6

    convert to
    my 60 00 0 # #######
    my 60 00 0 ## #######
    my 60 00 0 ### ######

    is that right?
    Last edited by psp; 12-19-2007 at 07:00 AM.

  3. #793
    Professional Array

    Join Date
    Nov 2007
    Posts
    83
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    11

    Default

    Maybe timschuerewegen should answer, but to anyone that try to make their own template. The entries in the template must differ.
    If we take Yazdgerd for example.
    // Iran
    ir 98 00 0 ### #######
    ir 98 00 0 ## ########

    Both these lines is identical for the numbermatching because the same amount of characters is used. Even if you add a space or two the program dont know which rule to use because the total charactercount is the same. You must remember that timschuerewegen work is about identifying a valid phone number, not how it is formatted and shown to the user.
    So, in the case of Iran, one line should be enough to match the phone number.

  4. #794
    Advanced Array

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

    Default

    Quote Originally Posted by psp View Post
    Hi

    I was looking at the phonetemplate,

    // Singapore
    sg 65 001 - - ########
    sg 65 002 - - ########
    sg 65 008 - - ########
    sg 65 012 - - ########
    sg 65 013 - - ########
    sg 65 018 - - ########
    sg 65 019 - - ########

    Where do you get this from? Since Singapore is a small country, so for number are

    international +65 12345678
    Local calling 12345678

    I thought
    sg 65 00 0 - ########
    is good enough?

    For Malaysia (+60)
    I used to have
    my 60 00 0 1 7
    my 60 00 0 2 7
    my 60 00 0 3 6

    convert to
    my 60 00 0 # #######
    my 60 00 0 ## #######
    my 60 00 0 ### ######

    is that right?
    would it be possible for someone to send me the Singapore file!

  5. #795
    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 raptorjr View Post
    Maybe timschuerewegen should answer, but to anyone that try to make their own template. The entries in the template must differ.
    If we take Yazdgerd for example.
    // Iran
    ir 98 00 0 ### #######
    ir 98 00 0 ## ########

    Both these lines is identical for the numbermatching because the same amount of characters is used. Even if you add a space or two the program dont know which rule to use because the total charactercount is the same. You must remember that timschuerewegen work is about identifying a valid phone number, not how it is formatted and shown to the user.
    So, in the case of Iran, one line should be enough to match the phone number.
    It depends on whether or not a subscriber number only phone number is valid and if you want to see "location information" for a phone number. If you always need to use an area code then one template will indeed be sufficient. Here's an example on what might go wrong with those two templates from Iran (if area code in Iran is optional).

    The phone number "01212345678" will be decomposed using the first template into area code "121" and subscriber number "2345678". The phone number "12345678" will be decomposed using the second template into an empty area code and subscriber number "12345678". Result? The phone number are not equal.


  6. #796
    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 psp View Post
    Hi

    I was looking at the phonetemplate,

    // Singapore
    sg 65 001 - - ########
    sg 65 002 - - ########
    sg 65 008 - - ########
    sg 65 012 - - ########
    sg 65 013 - - ########
    sg 65 018 - - ########
    sg 65 019 - - ########

    Where do you get this from? Since Singapore is a small country, so for number are

    international +65 12345678
    Local calling 12345678

    I thought
    sg 65 00 0 - ########
    is good enough?
    According to http://www.kropla.com/dialcode.htm there are multiple IDD's (001, 002, ...) and "00" is not one of them.

  7. #797
    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 psp View Post
    For Malaysia (+60)
    I used to have
    my 60 00 0 1 7
    my 60 00 0 2 7
    my 60 00 0 3 6

    convert to
    my 60 00 0 # #######
    my 60 00 0 ## #######
    my 60 00 0 ### ######

    is that right?
    Yes. However, because the sums of "2 7" and "3 6" are both 9 a 9-digit phone number will always be decomposed into a 2-digit area code and 7-digit subscriber number. The "3 6" will only be used if the iPhone wants to decompose a 6-digit phone number, ie. one without area code.

  8. #798
    psp
    psp is offline
    Professional Array

    Join Date
    Oct 2007
    Location
    Far away
    Posts
    61
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by timschuerewegen View Post
    Yes. However, because the sums of "2 7" and "3 6" are both 9 a 9-digit phone number will always be decomposed into a 2-digit area code and 7-digit subscriber number. The "3 6" will only be used if the iPhone wants to decompose a 6-digit phone number, ie. one without area code.

    Thanks. Got it. The reason for 3 6, is there are some area with 3 digit area code with 6 digit number.

  9. #799
    Rookie Array Yazdgerd's Avatar

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

    Default

    Quote Originally Posted by timschuerewegen View Post
    It depends on whether or not a subscriber number only phone number is valid and if you want to see "location information" for a phone number. If you always need to use an area code then one template will indeed be sufficient. Here's an example on what might go wrong with those two templates from Iran (if area code in Iran is optional).

    The phone number "01212345678" will be decomposed using the first template into area code "121" and subscriber number "2345678". The phone number "12345678" will be decomposed using the second template into an empty area code and subscriber number "12345678". Result? The phone number are not equal.
    Tim, danke!

    But can you help with the right template? What should I write for this example? I am a bit confused about using the right template - also compiling it into the AppSupport file! Here are the phone examples:

    Mobile number format: +98 123 1234567 (Local Dialing: 0123 1234567)
    Landline number format: +98 12 12345678 (Local Dialing: 012 12345678)

    Also, after using the "./pntedit read AppSupport PhoneNumberTemplates.txt" command, I receive this error: Segmentation fault


    Any Ideas?
    Last edited by Yazdgerd; 12-19-2007 at 11:01 AM.

  10. #800
    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 Yazdgerd View Post
    But can you help with the right template? What should I write for this example? I am a bit confused about using the right template - also using it!
    If a phone number in Iran always requires an area code then the single template "ir 98 00 0 - ##########" (0 + 10) will do just fine. If not then you need a complete list of area codes and mobile phone "area codes" to teach decompo*******Number when an area code is 2 digits long and when it is 3 digits long. I did this for Belgium, Italy, Sweden and India.


 

 

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