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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈