none
lync电话更新及报错问题 RRS feed

  • 问题

  •  

    目前主要有2个问题:

    1:移动电话,住宅电话,其他电话填完了无法更新成功,对方查看时看不到。目前只有一个固定电话可更新。

    2012年3月2日 1:59

全部回复

  • ##
    ## 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 with the name Company_Phone_Normalization_Rules.txt
    ## and make it writable.  You can then edit the file to adapt it to your needs.
    ## In order for the Address Book Server to use the Company_Phone_Normalization_Rules.txt
    ## it needs to be copied to the ABFiles folder on the
    ##
    ## The file will not be uninstalled when you uninstall the Address Book Service,
    ##
    ## Also, you can assume that any number processed against these rules has
    ## already had all whitespace, parenthesis, minus sign and period characters
    ## removed
    ##


    ##
    ## Microsoft specific rules
    ##

    #
    # ... 882 8080 Xddddd
    #

    .*8828080[Xx]{1}(\d{5})
    $1;phone-context=microsoft.com

    #
    # +1 (ddd) ddd-dddd EXTddddd
    #

    \+1(\d{10})EXT(\d{5})
    +1$1;ext=$2

    #
    # +1 (ddd) ddd-dddd Xddddd
    #

    \+1(\d{10})[Xx]{1}(\d{5})
    +1$1;ext=$2

    #
    # 1 (ddd) ddd-dddd
    #

    1(\d{10})
    +1$1


    #
    # +1 (ddd) 70ddddd
    #

    \+1(\d{3})70(\d{5})
    +1$170$2;ext=$2

    #
    # 70d-dddd Xddddd
    #

    70(\d{5})[Xx]{1}(\d{5})
    +142570$1;ext=$2

    #
    # ddd-dddd Xddddd
    #

    (\d{7})[Xx]{1}(\d{5})
    +1425$1;ext=$2

    #
    # ddd-dddd
    #

    (\d{7})
    +1425$1

    #
    # Xddddd
    #

    [Xx]{1}(\d\d\d\d\d)
    $1;phone-context=microsoft.com

    #
    # (dd)xddddd
    #

    (\d\d)[Xx]{1}(\d\d\d\d\d)
    +1425$1$2;ext=$2

    #
    # 011 dd dddd... Xddddd
    #

    011(\d{6,15})[Xx]{1}(\d{1,15})
    +$1;ext=$2

    #
    # 011 dd dddd...
    #

    011(\d{6,15})
    +$1

    #
    # dd dddd...
    #

    (\d{6,15})
    +$1

     

    ##
    ## 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: 882-8080 TestResult: +14258828080
    #TestInput: 882-8080 X12345 TestResult: 12345;phone-context=microsoft.com
    #TestInput: AAAAAAA
    #TestInput: +1 (425) 5550100 X50100  TestResult: +14255550100;ext=50100
    #TestInput: 1-800-555-3908 TestResult: +18005553908
    #TestInput: (425) 5550154 TestResult: +4255550154

    2012年3月9日 3:53
    版主