Thanks again, going to follow that guide.
Thanks again, going to follow that guide.
sorry about poor english, but how about Latvia
international is:
+371 2XXXXXXX
Land Lines:
67 XXX XXX
---
what i need to do?
i have running 1.1.2 FW
---
all vorking, but problem is, if i have number 28282828 and name John, when John calling i can see only number +37128282828,
but when i add to the number +371 then i see the name john.
SMS vorking fine - no problems
Last edited by cosmoLV; 12-09-2007 at 02:13 AM.
I'm going to rewrite the decompo*******Number function so that it will correctly decompose phone numbers from "problematic" countries such as [s]Venezuela[/s] Argentina. If you live in such "problematic" country where Apple's rules are not working 100% then give me a very very detailed explanation of the problem and I will see how I can fix it.
One of the problems in Apple's current algorithm is the correct separation of "area code + subscriber number" into "area code" and "subscriber number" when there are multiple templates where "area code + subscriber number" are equal in length. In this case decompo*******Number will be satisfied with the first of such templates. To fix this I'm going to replace the "area code" and "subscriber number" numeric values in the templates with string masks.
Example:
The "2 6" and "3 5" templates (sum is 8) below will never be used because the "1 7" template (sum is also 8) comes first. To decompo*******Number there is no difference between "1 7", "2 6" and "3 5" so it will use the first one.
becomesCode:be 32 00 0 1 7 be 32 00 0 2 6 be 32 00 0 3 5 be 32 00 0 3 6
Code:be 32 00 0 1# ###### be 32 00 0 2 ####### be 32 00 0 3 ####### be 32 00 0 4 ####### be 32 00 0 5# ####### be 32 00 0 6# ###### be 32 00 0 7# ###### be 32 00 0 800 ##### be 32 00 0 8# ###### be 32 00 0 90# ##### be 32 00 0 9 ####### be 32 00 0 47# ###### be 32 00 0 48# ###### be 32 00 0 49# ######
Last edited by timschuerewegen; 12-09-2007 at 02:57 PM.
Tim, what about a rule like:
be 32 00 0 * 7
Meaning: if the AC+local is 7 or more digits, match the local number with 7 digits and the rest goes with the area code. Combined with the "local part" patch, this can be an effective pattern for an x-rightmost kludge.
I updated to 1.1.2 today, and I used this method (which I was recommended). It works awesome here in Sweden, but dunno if it will in NZ. Well, I'll find out.
Good work, timschuerewegen.
Good idea, but it would have to be "be 32 00 0 * #######" because I'm using string masks now. The "#" character means "one digit". The "*" character means "none, one or more digits". The "*" is a little bit harder to implement and because it can be simulated with "", "#", "##", "###", etc. I'm going to assign it low priority.
I already have a fully working decompo*******Number function written in C, which gives me the same output than Apple's version, and I am currently integrating the area code and subscriber number string masks.
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.
Bookmarks