MS Teams SIGMA Script Additional values
You can use the MS Teams SIGMA script to perform optional number transformations. In the example below, the additional lines for the From, To and Request Line headers prefix matching numbers with +1.
act on message where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
%HEADERS["Contact"][1].URI.HOST = "<ASBCE_FQDN>";
%HEADERS["Record-Route"][1].URI.HOST = "<ASBCE_FQDN>";
%HEADERS["From"][1].URI.USER.regex_replace("^214","+1214");
%HEADERS["To"][1].URI.USER.regex_replace("^719","+1719");
%HEADERS["Request_Line"][1].URI.USER.regex_replace("719","+1719");
}