50.1. OPC resource

The OPC service (Operator's Panel Control) shows the CTI ports' status and the information about the current telephone calls. The OPC allows authorized users to initiate and transfer calls simply using the mouse.

In order to run the OPC, both the HTTP and OPC resources must be active.

[Tip]Tip

Interesting chapter: Chapter 39, HTTP - HyperText Transfer Protocol.

50.1.1. Activating the OPC resource

Add the resource to the Abilis system with the following command:

[16:27:36] ABILIS_CPX:a res:opc

COMMAND EXECUTED

The OPC resource may already exist in the system, but may not yet be active: set it active with the following command.

[16:27:41] ABILIS_CPX:s p opc act:yes

COMMAND EXECUTED

The OPC resource may collect call information from the local as well as from remote Abilis. The operator can view the call status of several sites in the same web page. The parameter abilisid of the OPC resource has the purpose to permit the programmer to choose which is the wished ABILIS target.

[16:38:12] ABILIS_CPX:s p opc abilisid:myabilis

COMMAND EXECUTED

The new abilisid is available at runtime for both local and remote.

[Tip]Tip

Refer to Section 50.1.2, “OPC resource parameters” to have more information about collecting information from a remote Abilis. A how to is available directly at this link.

50.1.2. OPC resource parameters

The following command shows the current values of the OPC parameters (use d p opc ? for a short online help).

[16:48:43] ABILIS_CPX:d p opc

RES:Opc -----------------------------------------------------------------------
        DESCR:Operator_Panel_Collector
       LOG:NO          ACT:YES         XML-TOUT:60       XML-MIN-DELAY:500
       maxusers:200    maxcalls:200    maxclients:20     maxremotes:5
       ABILISID:myabilis
       - OPC Remote collectors ------------------------------------------------
       REM:0  ABILISID:                                  ENABLED:NO
              SRCADD:R-ID (192.168.030.001)              TOS:0-N
              SERVER:
              PROT:PLAIN   PORT:AUTO    RETRY-DELAY:60
              LOGIN:
              PASSWORD:
       -----------------------------------------------------------------
       REM:1  ABILISID:test                              ENABLED:NO
              SRCADD:R-ID (192.168.030.001)              TOS:0-N
              SERVER:192.168.001.150
              PROT:PLAIN   PORT:AUTO    RETRY-DELAY:60
              LOGIN:admin
              PASSWORD:********
       -----------------------------------------------------------------
       REM:2  ABILISID:                                  ENABLED:NO
              SRCADD:R-ID (192.168.030.001)              TOS:0-N
              SERVER:
              PROT:PLAIN   PORT:AUTO    RETRY-DELAY:60
              LOGIN:
              PASSWORD:
       -----------------------------------------------------------------
       REM:3  ABILISID:                                  ENABLED:NO
              SRCADD:R-ID (192.168.030.001)              TOS:0-N
              SERVER:
              PROT:PLAIN   PORT:AUTO    RETRY-DELAY:60
              LOGIN:
              PASSWORD:
       -----------------------------------------------------------------
       REM:4  ABILISID:                                  ENABLED:NO
              SRCADD:R-ID (192.168.030.001)              TOS:0-N
              SERVER:
              PROT:PLAIN   PORT:AUTO    RETRY-DELAY:60
              LOGIN:
              PASSWORD:
       -----------------------------------------------------------------

Meaning of the most important parameters:

DESCR

Resource description. From 0 up to 79 Alphanumeric extended characters. Case is preserved. Spaces are allowed. Strings holding spaces must be written between quotation marks (E.g.: "str1 str2").

LOG

State changes log and alarm generation [NO if events are not to be recorded into the Abilis LOG files, otherwhise: D: Debug Log; S: System Log; A: Alarm view; L: Local audible alarm; T:SNMP traps; +E: Extended Log of state changes].

ACT

Operation activation [NO, YES].

maxusers

Maximum number of users that can be stored into OPC table [1..1000].

maxcalls

Maximum number of calls that can be stored into OPC table [1..1000].

maxclients

Number of monitors that can require information from OPC [1..250].

[Note]Note

An equal of greater number of HTTP sessions must be available.

maxremotes

Max. number of external remote collector that can be stored locally [0..50].

ABILISID

Abilis ID used when exporting information outside local collector. From 0 up to 32 characters ['0'..'9', 'A'..'Z', 'a'..'z']. Case is preserved.

REM

Remote collector index [0..(maxremotes: - 1)].

ENABLED

Enable/disable connection to the server [NO, YES].

SRCADD

Source IP address for outgoing connections.

SERVER

IP address of the remote abilis.

LOGIN

Login used to authenticate to the remote Abilis.

PASSWORD

Password used to authenticate to the remote Abilis.

The syntax for setting the OPC parameters is the usual one: s p opc parameter:value

[Caution]Caution

As usual, changes on parameters whose name is displayed in UPPERCASE can be committed with the command init res:opc, whilst changes on parameters written in LOWERCASE require a new system's startup (save conf and warm start).

[Tip]Tip

Refer to chapter Section 75.13, “How to configure OPC to collect call information from a remote Abilis” to configure OPC to collect call information from a remote Abilis.