안녕하세요 빛향기고운데 입니다.
AD의 전화번호 속성을 변경 하지 않고, 내선 및 전화번호 발신이 원하는 번호로 나갈 수 있도록 조치하는 Rule을 적용해야 합니다.
##
## This is a read-only file that contains an example of company specific
## phone normalization rules used by Microsoft Corporation. You should
## make a copy this file in the same folder, with the name
## Company_Phone_Normalization_Rules.txt and make it writable. You can
## then edit the file to adapt it to your needs. The file will not be
## uninstalled when you uninstall the Address Book Service,
##
기본적인 Sample File은 아래 경로에 위치한다.
C:\Program Files\Microsoft Office Communications Server 2007 R2\Web Components\Address Book Files\Files
Sample_Company_Phone_Number_Normalization_Rules.txt 파일의 이름을 아래와 같이 변경한 뒤에
Company_Phone_Number_Normalization_Rules.txt
OCS AddressBook Shared 파일 경로에 복사한다.
해당 파일안에 정규화 규칙 테스트는
http://regexlib.com/RETester.aspx
위의 사이트를 이용하여 테스트 해 볼 수 있다.
$1 $2 $3 의 속성값이 나오므로 이를 이용하여 Company Rule을 수정하면 된다.
원본 위치 : http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=26
By executing the abserver.exe -testPhoneNorm command, each rule included in the configuration file will be processed, top-down, to look for the best matching normalization rule and then return the results:
Abserver -testPhoneNorm 에서 나오는 Description 을 수정하려면 Company_Phone_Number_Normalization_Rules의
##
## What follows are test cases for some of the rules in this file.
## Format of a each test case is:
##
## TestInput: inputNumber TestResult: expectedNormalizedNumber
##
## leading and trailing spaces around inputNumber are ignored. If
## TestResult: is present, but expectedNormalizedNumber is not, then
## it means the inputNumber is expected to normalize to null. If TestResult:
## is not present it means the inputNumber should fail to normalize.
##
## Only lines that begin with a single # character are examined for
## test cases. Test case lines can occur anywhere in the file.
##
## To run all the test cases, use the abserver -testPhoneNorm
## command.
##
#TestInput: 031-XXXX-66XX TestResult: 0XXXXXX66XX;ext=66XX
#TestInput: 031-XXXX-7XXX TestResult: 0XXXXXX7XXX;ext=7XXX
을 수정하면 된다.