Test-CsTeamsTranslationRule
This cmdlet tests a phone number against the configured number manipulation rules and returns information about the matching rule.
Syntax
Test-CsTeamsTranslationRule
[-PhoneNumber <string>]
[<CommonParameters>]
Description
This cmdlet tests a phone number against the configured number manipulation rules and returns information about the matching rule.
Examples
Example 1
Test-CsTeamsTranslationRule -PhoneNumber 1234
Identity Pattern PhoneNumberTranslated Translation
-------- ------- --------------------- -----------
rule1 ^1234$ 4321 4321
This example displays information about the manipulation rule matching the phone number 1234.
Parameters
-PhoneNumber
The phone number to test.
Type: | System.String |
Position: | named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
None
Notes
The cmdlet is available in Teams PowerShell Module 4.5.0 or later.
The matching logic used in the cmdlet is the same as when the manipulation rule has been associated with an SBC and a call is being routed.
If a match is found in two or more manipulation rules, the first one is returned.
There is a short delay before newly created manipulation rules are added to the evaluation.
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기