The following is a template for the SIGMA script used for the connection between the ASBCE and MS Teams. Use this template to create a text file on your PC.
In the sample script:
Replace each instance of <ASBCE_FQDN> with the public FQDN of the ASBCE.
Replace each instance of <ASBCE_IP_ADDRESS> with the public IP address to which DNS resolves the ASBCE FQDN above.
Replace <ASBCE_VERSION> with AVAYA SBCE-<version where <version> is the Version value shown on the ASBCE's initial menu after logging in. See Get the ASBCE Version.
within session "all"
{
act on message where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
%SDP[1].regex_replace("a=sendonly","a=inactive");
%SDP[1].regex_replace("a=recvonly","a=inactive");
}
}
within session "all"
{
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>";
}
}
within session "all"
{
act on request where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
%HEADERS["X-MS-SBC"][1] = "<ASBCE_VERSION>";
}
}
within session "all"
{
act on message where %DIRECTION="INBOUND" and %ENTRY_POINT="PRE_ROUTING"
{
%HEADERS["Request_Line"][1].URI.HOST = "<ASBCE_IP_ADDRESS>";
if (%HEADERS["Record-Route"][1].regex_match("<ASBCE_FQDN>")) then
{
%HEADERS["Record-Route"][1].regex_replace("<ASBCE_FQDN>","<ASBCE_IP_ADDRESS>");
}
if (%HEADERS["Record-Route"][2]. regex_match("<ASBCE_FQDN>")) then
{
%HEADERS["Record-Route"][1].regex_replace("<ASBCE_FQDN>","<ASBCE_IP_ADDRESS>");
}
if (%HEADERS["Route"][1].regex_match("<ASBCE_FQDN>")) then
{
%HEADERS["Route"][1].regex_replace("<ASBCE_FQDN>","<ASBCE_IP_ADDRESS>");
}
if (%HEADERS["Route"][2].regex_match("<ASBCE_FQDN>")) then
{
%HEADERS["Route"][2].regex_replace("<ASBCE_FQDN>","<ASBCE_IP_ADDRESS>");
}
}
}
within session "INVITE"
{
act on response where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
if (%SDP[1].regex_match("c=IN IP4 0.0.0.0")) then
{
%SDP[1].regex_replace("c=IN IP4 0.0.0.0","c=IN IP4 <ASBCE_IP_ADDRESS>");
}
}
}