Page 73 of 132 FirstFirst ... 235363646566676869707172737475767778798081828393123 ... LastLast
Results 721 to 730 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Originally Posted by timschuerewegen My mistake. I meant Argentina. No problem...
  1. #721
    Supporter Array locklin's Avatar

    Join Date
    Mar 2007
    Location
    Caracas, Venezuela
    Posts
    111
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by timschuerewegen View Post
    My mistake. I meant Argentina.
    No problem


  2. #722
    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 timschuerewegen View Post
    I'm also going to add an extra value to each template to specify if "area code + subscriber number" without the NDD is a valid phone number or not. In Belgium "area code + subscriber number" is invalid, instead you have to dial "NDD + area code + subscriber". Apple's code happily decomposes "area code + subscriber" into "area code" and "subscriber number" even though IDD is missing.
    I just implemented this feature. I decided not to use an extra value. Instead I prefixed the NDD with "!". The "!" means that the NDD is mandatory for non-international numbers.

    The current new templates for Belgium are
    Code:
    be 32 00 !0 2 #######
    be 32 00 !0 3 #######
    be 32 00 !0 4 #######
    be 32 00 !0 9 #######
    be 32 00 !0 1# ######
    be 32 00 !0 5# #######
    be 32 00 !0 6# ######
    be 32 00 !0 7# ######
    be 32 00 !0 8# ######
    be 32 00 !0 800 #####
    be 32 00 !0 90# #####
    be 32 00 !0 47# ######
    be 32 00 !0 48# ######
    be 32 00 !0 49# ######
    To summarize:
    • Area code and subscriber number string masks instead of numeric length values allow for more precise/correct separation of area code and subscriber number.
    • The "!" NDD prefix makes NDD mandatory in non-international numbers.

    EDIT: if anyone wants to try the new templates, click here to download a win32 binary.
    Last edited by timschuerewegen; 12-09-2007 at 04:43 PM.

  3. #723
    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 timschuerewegen View Post
    I just implemented this feature. I decided not to use an extra value. Instead I prefixed the NDD with "!". The "!" means that the NDD is mandatory for non-international numbers.

    The current new templates for Belgium are
    Code:
    be 32 00 !0 2 #######
    be 32 00 !0 3 #######
    be 32 00 !0 4 #######
    be 32 00 !0 9 #######
    be 32 00 !0 1# ######
    be 32 00 !0 5# #######
    be 32 00 !0 6# ######
    be 32 00 !0 7# ######
    be 32 00 !0 8# ######
    be 32 00 !0 800 #####
    be 32 00 !0 90# #####
    be 32 00 !0 47# ######
    be 32 00 !0 48# ######
    be 32 00 !0 49# ######
    To summarize:
    • Area code and subscriber number string masks instead of numeric length values allow for more precise/correct separation of area code and subscriber number.
    • The "!" NDD prefix makes NDD mandatory in non-international numbers.

    EDIT: if anyone wants to try the new templates, click here to download a win32 binary.
    Is it already handling the "*"?

  4. #724
    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
    Is it already handling the "*"?
    No. I just tried it but it didn't work. The order in which Apple tries to decompose the phone number has to be changed. The "*" area code ate up IDD, Country Code and Area Code

    Click here to see in which order Apple tries to decompose the phone number. If I would implement area code "*" then the try "area code" & "subscriber number" step would eat up the entire phone number.
    Last edited by timschuerewegen; 12-09-2007 at 06:57 PM.

  5. #725
    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 timschuerewegen View Post
    If I would implement area code "*" then the try "area code" & "subscriber number" step would eat up the entire phone number.
    I implemented area code "*" and changed the order in which it tries to decompose the phone number. The new order is 4, 5, 6, 3, 2, 1, 7, 8 (see code in previous post). Click here for an updated win32 binary.


  6. #726
    Professional Array ccontrerasg's Avatar

    Join Date
    Dec 2007
    Posts
    74
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by timschuerewegen View Post
    I implemented area code "*" and changed the order in which it tries to decompose the phone number. The new order is 4, 5, 6, 3, 2, 1, 7, 8 (see code in previous post). Click here for an updated win32 binary.
    PhoneNumberTemplates.txt
    How install it later? in Mac is possible?

  7. #727
    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 ccontrerasg View Post
    PhoneNumberTemplates.txt
    How install it later? in Mac is possible?
    What I have released so far is a win32 executable to test the new decompo*******Number algorithm and phone number templates. Once this is stable and useful enough I will release the necessary files and instructions on how to use the new algorithm and PhoneNumberTemplates.txt on your iPhone.

  8. #728
    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 sling3 View Post
    I'm facing a new headache/challenge here in the French West Indies (French overseas territories in the Caribbean : Guadeloupe, Martinique & French Guiana).

    those 3 territories have their own Country Calling Code :
    590 : Guadeloupe
    596 : Martinique
    594 : French Guiana

    However, God knows why, they share a single MCC ID :
    340 -> Guadeloupe -> gp

    So here is the numbering plan with a convenience, we can dial directly by replacing the +59x by a 0 (NDD) :

    Guadeloupe :
    + Intl
    - Landline : +590 590 xx xx xx
    - Mobile : +590 690 xx xx xx
    + National :
    - Landline : 0 590 xx xx xx
    - Mobile : 0 690 xx xx xx

    Martinique
    + Intl
    - Landline : +596 596 xx xx xx
    - Mobile : +596 696 xx xx xx
    + National :
    - Landline : 0 596 xx xx xx
    - Mobile : 0 696 xx xx xx

    French Guiana :
    + Intl :
    - Landline : +594 594 xx xx xx
    - Mobile : +594 694 xx xx xx

    + National :
    - Landline : 0 594 xx xx xx
    - Mobile : 0 694 xx xx xx
    With my new decompo*******Number code and a few extra templates to work around the MCC 340 problem you should be able to get the following results.

    Code:
    decompo*******Number +590590xxxxxx gp
    1,"590","","590","xxxxxx"
    decompo*******Number +590690xxxxxx gp
    1,"590","","690","xxxxxx"
    decompo*******Number 0590xxxxxx gp
    1,"590","0","590","xxxxxx"
    decompo*******Number 0690xxxxxx gp
    1,"590","0","690","xxxxxx"
    decompo*******Number +596596xxxxxx gp
    1,"596","","596","xxxxxx"
    decompo*******Number +596696xxxxxx gp
    1,"596","","696","xxxxxx"
    decompo*******Number 0596xxxxxx gp
    1,"596","0","596","xxxxxx"
    decompo*******Number 0696xxxxxx gp
    1,"596","0","696","xxxxxx"
    decompo*******Number +594594xxxxxx gp
    1,"594","","594","xxxxxx"
    decompo*******Number +594694xxxxxx gp
    1,"594","","694","xxxxxx"
    decompo*******Number 0594xxxxxx gp
    1,"594","0","594","xxxxxx"
    decompo*******Number 0694xxxxxx gp
    1,"594","0","694","xxxxxx"
    The templates (for the new decompo*******Number function) that I used are

    Code:
    // Guadeloupe
    gp 590 00 !0 590 ######
    gp 590 00 !0 690 ######
    // Martinique
    mq 596 00 !0 596 ######
    mq 596 00 !0 696 ######
    // Martinique (workaround for MCC 340 problem)
    gp 596 00 !0 596 ######
    gp 596 00 !0 696 ######
    // French Guiana
    gf 594 00 !0 594 ######
    gf 594 00 !0 694 ######
    // French Guiana (workaround for MCC 340 problem)
    gp 594 00 !0 594 ######
    gp 594 00 !0 694 ######

  9. #729
    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

    If I understand correctly then the problem with AppSupport 1.1.2 and Argentina is that there can be a non-standard "9" digit between "54" and the area code? If decompo*******Number would magically ignore this "9" then the problem would be solved right? Or are there other problem with telephone number in Argentina?

    To magically ignore the "9" (if present) I would have to know what to ignore (the "9") and where to ignore it (between "54" and area code). Because it behaves like the opposite of NDD I feel like adding it to the NDD seperated by a ":". The "!" before "0" means it is mandatory. There is no "!" before the "9" because it is not mandatory. There are international numbers without that "9", right?

    Code:
    ar 54 00 !0:9 ## ########
    Feedback please. Preferrably from someone who lives in Argentina and knows something about the format of the structure of telephone numbers used there.

  10. #730
    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 timschuerewegen View Post
    To magically ignore the "9" (if present) I would have to know what to ignore (the "9") and where to ignore it (between "54" and area code). Because it behaves like the opposite of NDD I feel like adding it to the NDD seperated by a ":". The "!" before "0" means it is mandatory. There is no "!" before the "9" because it is not mandatory. There are international numbers without that "9", right?
    I just implemented this feature and here is the output...
    Code:
    decompo*******Number 01212345678 ar
    1,"54","0","12","12345678"
    decompo*******Number +541212345678 ar
    1,"54","","12","12345678"
    decompo*******Number +5491212345678 ar
    1,"54","","12","12345678"
    As you can the output of the two last phone numbers is the same, even though the last phone number contains that "9". Because the template contains NDD "!0:9" I know that a "9" can be present between international code ("54") and area code ("12").


 

 

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 05:56 PM.
twitter, follow us!