Skip to content
/ .. / .. /
Phone Number Match Rule










Phone Number Match Rule

This rule verifies that phone numbers match an expected format.

Syntax

1
2
check <property String> against <format String> based on <phoneNumber String>;
check <property String> against <format String> based on <phoneNumber String> if present;
Parameters

  • property - The property being checked.

  • format - The phone number format.

  • phoneNumber - The phone number.

Example

1
2
3
4
5
check "A_Party" against "CC.NDC.NUMBER" based on "+4912345678";
check "A_Party" against "CC.NDC.NUMBER" based on "+4912345678" if present;

check "A_Party" against "CC.NDC.NUMBER" based on ${A.number};
check "A_Party" against "CC.NDC.NUMBER" based on ${A.number} if present;

Additional Examples

Property Value Format Phone Number
+49ABC172123456 +49.xXx.NDC.NUMBER 172123456
+49172123456 +49.NDC.NUMBER 172123456
tel:+467722234011 tel:+.CC.NDC.NUMBER +467722234011
tel:+467722234011 xxxxx.CC.NDC.NUMBER +467722234011
tel:+467722234011 x{0,10}.CC.NDC.NUMBER +467722234011
sip:+491421448877202@mynetwork.at;user=phone sip:+.CC.NDC.NUMBER.x{0,100} +491421448877202