Polycom 7000 manual Site Based Numeric Nicknames

Models: 7000

1 437
Download 437 pages 17.13 Kb
Page 261
Image 261

Call Server Configuration

//Information printed using the print or println functions

//is saved as a call audit event, which is viewable in the

//DMA interface under Reports > Call History, and also in the

//Script Debugging dialog box.

println("DIAL_STRING: " + DIAL_STRING);

println("CALLER_SITE_NAME: " + CALLER_SITE_NAME);

println("CALLER_SITE_COUNTRY_CODE: " + CALLER_SITE_COUNTRY_CODE);

println("CALLER_SITE_AREA_CODE: " + CALLER_SITE_AREA_CODE);

println("CALLER_SITE_DIGITS: " + CALLER_SITE_DIGITS);

println("CALLER_H323ID: " + CALLER_H323ID);

println("CALLER_E164: " + CALLER_E164);

println("CALLER_TEL_URI: " + CALLER_TEL_URI);

println("CALLER_SIP_URI: " + CALLER_SIP_URI);

///////////////////////////////

//FILTER (Site)

//Do not allow callers from the atlanta site to use this rule.

//(Caller site == "atlanta") --> NEXT_RULE

if (CALLER_SITE_NAME == "atlanta")

{

return NEXT_RULE;

}

///////////////////////////////

//SITE BASED NUMERIC NICKNAMES

//Allow caller to omit country and area code when calling locally.

//Assumes that country and area codes are set in site topology.

//Assumes that all endpoints are registered with their full alias, including

//country and area code.

//5551212 --> 14045551212

if (DIAL_STRING.length == CALLER_SITE_DIGITS)

{

DIAL_STRING = CALLER_SITE_COUNTRY_CODE + CALLER_SITE_AREA_CODE + DIAL_STRING;

}

else if (DIAL_STRING.length == ( parseInt(CALLER_SITE_AREA_CODE.length,10) + parseInt(CALLER_SITE_DIGITS,10)))

{

DIAL_STRING = CALLER_SITE_COUNTRY_CODE + DIAL_STRING;

}

///////////////////////////////

//SITE BASED NUMERIC NICKNAMES (SIP)

//Allow caller to omit country and area code when calling locally.

//Assumes that country and area codes are set in site topology.

Polycom, Inc.

261

Page 261
Image 261
Polycom 7000 manual Site Based Numeric Nicknames