Registration Policy Call Server Configuration
Polycom, Inc. 255
whitelist = new Array(
“10.20.30.40”,
“192.168.3.14”,
“192.168.174.233”
);
if (EP_IS_IPV4) {
nparts = 4;
}
for (i = 0; i<nparts; i++)
{
if (i == 0)
{
IPstring = EP_IP[i];
}
else
{
IPstring += “.” + EP_IP[i]
}
}
for (i=0; i<whitelist.length; i++)
{
if (IPstring == whitelist[i]) {
return COMPLIANT;
}
}
return NONCOMPLIANT;
See also:
“Registration Policy” on page 248
“Registration Policy Scripting” on page 250
“Script Debugging Dialog Box for Registration Policy Scripts” on page 253