47.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 36, HTTP - HyperText Transfer Protocol.

47.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 in runtime for both local and remote.

[Tip]Tip

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

47.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 [max 80 alphanumeric characters, not including <space>]LOG

LOG

set to 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 (see LOG parameter for more details)

ACT

[YES/NO] to set the OPC active/inactive during runtime (init res:OPC to commit the change)

maxusers

Max. number of users to be stored in the OPC table.

maxcalls

Max. number of users to be stored in the OPC table.

maxclients

Max. number of monitors that can require information from OPC.

maxremotes

Max. number of external remote collector that can be stored locally.

ABILISID

identifier used when exporting information outside local collector.

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 69.11, “How to configure opc to collect call information from a remote abilis” to configure opc to collect call information from a remote abilis.