SRS Rules Configuration
The following are SRS rules that could be used with the Generic IVR Adapter. These SRS rules can be included in the <project>_srs_rules.sql file.
Map Customer-Defined Fields in the INCIDENTS Table
Oracle Utilities Network Management System and the Generic IVR Adapter provides a mechanism to receive additional trouble call information from the external application and have this information stored in a new customer-defined field in the INCIDENTS table of Oracle Utilities Network Management System.
The configurable TROUBLE_CALLS column name has special names '201', '202', up to '209' to serve this purpose. Normally, a regular column name in TROUBLE_CALLS like CALL_COMMENT or COMMENT in JMS Input String is tied to a specific field of the INCIDENTS table by default. For this case, it's the OP_COMMENT field. A special name like '201' could be mapped to a new field in the INCIDENTS table by using an SRS rule. The table below details how an SRS rule could be used to do this mapping. An SRS rule like this has to be used for each mapping. See Map Customer-Defined Fields in the INCIDENTS Table for more information.
Field Name
Value
SET_NAME
'config_incident'
INCIDENT_TYPE
'customer_defined'
RULE_NAME
the name of the new column in the INCIDENTS table
RULE_VALUE_1
'str', 'date', 'int', 'float'
'str' is for strings, 'date' is for dates, 'int' is for integers, and 'float' is for floats. This represents the data type of the new column.
RULE_VALUE_2
An integer, representing the value of the SRS input configuration item specifying this field -- must have a value of 200 or greater
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
callbackInterfaceEnabled SRS Rule
If set to 'yes' then SRS APIs for manipulating callback information will become available. It has to be set to 'yes' for Web Callback GUI to operate. This rule holds outage information in JMService memory on a special data structure until this time expires OR all customer callbacks for the outage are complete.
Field Name
Value
SET_NAME
'config'
INCIDENT_TYPE
'any'
RULE_VALUE_1
'yes' or 'no' (default: 'no')
RULE_VALUE_2
0 (not used)
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
useExternalCause SRS Rule
If set to 'yes' then the IVR Adapter's callback requests data flow will include the cause code when it populates the TROUBLE_CALLBACKS table. The cause code value will be taken from JOBS.CAUSE.
Field Name
Value
SET_NAME
'config'
INCIDENT_TYPE
'any'
RULE_VALUE_1
'yes' or 'no' (default: 'yes')
RULE_VALUE_2
0 (not used)
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
customerPhoneParentheses SRS Rule
If rule_value_1 set to 'yes', parentheses will be added to customer call phone numbers in the following format: (AREA)NUMBER. Otherwise, the number and area will be concatenated together without parentheses.
Field Name
Value
SET_NAME
'config'
INCIDENT_TYPE
'any'
RULE_VALUE_1
'yes' or 'no' (Default: 'yes')
RULE_VALUE_2
0 (not used)
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
defaultCallbackAgent SRS Rule
Specifies username of the default callback agent. All new callbacks will be automatically assigned to this agent. If this rule is not set then new callbacks will be left unassigned.
Note: This rule only takes effect if the rule callbackInterfaceEnabled set to 'yes'. See callbackInterfaceEnabled SRS Rule for more information. The agent name used should be considered as an external agent in the CES_USER table and should have access to the 'WCB' product per the ENV_ACCESS table. If new callbacks should be automatically assigned to the Generic IVR Adapter, then this rule should match the '-cbagent' command-line option of the Generic IVR Adapter.
Field Name
Value
SET_NAME
'config'
INCIDENT_TYPE
'any'
RULE_VALUE_1
callback agent username
RULE_VALUE_2
0 (not used)
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
callbackFeederTimeout SRS Rule
The maximum time allowed (in minutes) between the current time and the restoration time of a resolution in callback module before the resolution is deemed too old to remain or be loaded into the callback module. This rule holds outage info in JMService memory in a special data structure until this time expires OR all customer callbacks for the outage are complete.
If this rule is set to 0 then resolutions will be kept in JMService until all callbacks are completed.
Note: This rule must be used in conjunction with the callbackInterfaceEnabled SRS Rule.
Field Name
Value
INCIDENT_TYPE
'flowControlGeneral'
RULE_VALUE_1
"" (not used)
RULE_VALUE_2
An integer, representing a number of minutes (Default: 2880 -- 48 hours)
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
streetXsectionOffset SRS Rule
Specifies the size of the maximum bounding rectangle to be used in grouping street intersection fuzzy calls to supply nodes. The rectangle will be the area where:
x E [xsection_x - THIS RULE VALUE, xsection_x + THIS RULE VALUE]
and
y E [xsection_y - THIS RULE VALUE, xsection_y + THIS RULE VALUE]
This is an integer. Check your world coordinate system for a reasonable integer value.
This rule is used once for each rectangle desired (multiple instances of this rule may exist in a single rule set). For example, a larger rectangle size may be desired in a rural control zone and a smaller rectangle in an urban control zone.
Field Name
Value
RULE_VALUE_1
'' (not used)
RULE_VALUE_2
integer (Default: none)
RULE_VALUE_INTEGER_1
0 (not used)
RULE_VALUE_INTEGER_2
0 (not used)
RULE_VALUE_INTEGER_3
0 (not used)
RULE_VALUE_INTEGER_4
0 (not used)
RULE_VALUE_INTEGER_5
0 (not used)
NCG_CLS
integer, representing ncg_cls of desired applicable control zone level
NCG_IDX
integer, representing ncg_idx of desired applicable control zone level
Generic IVR Adapter Trouble Call Performance
The maximum rate at which the Generic IVR Adapter injects trouble calls into the Oracle Utilities Network Management System is initially determined using the –callperpoll and –pollperiod command line parameters in the system.dat file. If these parameters are not set, the Generic IVR Adapter will, by default, retrieve a maximum of 100 trouble calls from the TROUBLE_CALLS table every six seconds and send these calls into the MMM via JMService. This corresponds to a maximum hourly call rate of 60,000 calls per hour.
If it is necessary to change this call rate while the adapter is running, two scripts are provided: ivrCallPerPoll and ivrPollPeriod. These scripts may be used to adjust the number of calls retrieved during each poll cycle and the period between poll cycles while the adapter is running.
Note: If the adapter is restarted, these parameters (and the corresponding call rate) will revert to the command line parameters specified in the system.dat file (or the default values if no command line options are specified).
 
Command
Usage
Description
ivrCallPerPoll
ivrCallPerPoll NUM_CALLS_PER_POLL
Changes the number of calls retrieved from the TROUBLE_CALLS table during one poll cycle.
 
ivrPollPeriod
ivrPollPeriod NUM_SECONDS
Changes the period between poll cycles where calls are retrieved from the TROUBLE_CALLS table and submitted to JMService.
 
 
Generic IVR Adapter Troubleshooting
This section identifies high-level messages that could be sent to the Generic IVR Adapter using the Action command for troubleshooting purposes.
Command
Usage
Description
report
Action –services any.IVRGateway report
Reports back if the Generic IVR Adapter has started.
 
stop
Action –services any.IVRGateway stop
Stops the Generic IVR Adapter
 
debug
Action –services any.IVRGateway debug LEVEL
(where LEVEL is 0, 1 or 2)
Sets the Generic IVR Adapter's debug level
 
cleantable
Action –services any.IVRGateway cleantable
Toggles the 'cleantable' command line option. Instructs if the Generic IVR Adapter should remove some records from its tables or not.
 
Note: It is important that the Generic IVR Adapter is already included in the System Data file to run high-level messages properly. For more information, see Configure Adapter to run as NMS System Service.