Company_Phone_Number_Normalization_Rules.txt don't apply ....
-
27 iulie 2009 07:12Hi,
I created a "Company_Phone_Number_Normalization_Rules.txt" File in my ABS Fileshare on my OCS 2007 R2 EE Server.
But the rules don't apply.
abserver.exe -dumpRules doesn't show my normalization rules
abserver.exe -testphonenorm 22 fails with "failed to normalize number"
The "Company_Pone_Number_Normalization_Rules.txt" file looks like this:
#
#2 Digit
#
^(\d{2})$
+4900000000$1
Do I have to enable this normalization rule, or how can i teach abserver to use them.
Thanks- Editat de g3ocs 27 iulie 2009 10:19
Toate mesajele
-
27 iulie 2009 11:26In order to use the -TestPhoneNorm switch you need to add TESTS to the txt file
Add these type of lines at the end of the txt file
#TestInput: 22 TestResult: +490000000022
Rerun the abserver.exe -testphonenorm
- Belgian Unified Communications Community : http://www.pro-exchange.be - -
27 iulie 2009 12:18Thank you for your reply.
I have done that already, but then I get this output:
"Running 0 normalization rules tests"
This is kind of strange, since there are tests to run in my file.
The "Company_Phone_Number_Normalization_Rules.txt" has to be stored as .txt in ABS fileshare folder, doesn't it ?
Also abserver.exe - dumpRules doesn't list my rules, so seems OCS doesn't find them somehow.
Note:
This website explains tests by adding an argument to the abserver.exe, could be R2 handles things different in that case.
http://www.pro-exchange.eu/modules.php?$1&name=News&file=article&sid=816 -
27 iulie 2009 12:34ModeratorAre you running Standard or Enterprise Edition on the Front-End server? On Enterprise Edition if you put the file where the "Sample_Company_Phone_Number_Normalization_Rules.txt" text file is stored (the default Address Book Files location) it will typically not work as the share you manually created for ABS file is where the normalization file needs to be stored. Basically make sure it is in the same directory as all of your .dabs and .lsabs Address Book files. Enterprise Edition does not move the Sample... text file into the proper location during deployment. (You can also search for the "Invalid_AD_Phone_Numbers.txt" file and the ABS will correctly place that output file. Make sure the "Company_Phone_Number_Normalization_Rules.txt" file is stored in the same location.
Have you restarted the OCS services on that server since populating the normalization text file?
Jeff Schertz, PointBridge | MVP | MCITP: Enterprise Messaging | MCTS: OCS -
27 iulie 2009 12:46Also make sure that the filename is excatly correct otherwise it will also not work
- Belgian Unified Communications Community : http://www.pro-exchange.be - -
27 iulie 2009 12:53
Hi,
I'm running Enterprise Edition Server.
The file is located in the //Server/ABS fileshare which is the output location of the Adress Book.
This folder also contains my .dabs and .lsabs files.
Restarting the Services didn't work out either.
I've checked a 100 times the spelling of the filename: Company_Phone_Number_Normalization_Rules.txt
And the syntax within the file:
#
#2 Digit
#
(\d{2})
+4900000000$1
But still Normalization won't work. -
27 iulie 2009 13:15ModeratorA long shot: What format is the text file saved in? It's possible that it's not in standard ANSI but in a Unicode format and maybe the ABS doesn't like that. (No idea if ABS can/can't read non-ANSI text files, never tested it. Just a wild guess).
Jeff Schertz, PointBridge | MVP | MCITP: Enterprise Messaging | MCTS: OCS -
28 iulie 2009 06:28
The file was ANSI, but i had a spelling mistake in the file extension and because known file types were hidden i haven't figured it out.
Thank you so much for your help.