44.5. Example of CTI TRFA configuration

Activation of the calls analysis of the Abilis user (test3).

44.5.1. Configuring CTI TRFA resource

To activate the traffic survey for a specific user, type:

[14:53:20] ABILIS_CPX:s pref user:test3 cti-trfa:yes

COMMAND EXECUTED

[14:53:28] ABILIS_CPX:d pref user:test3

Parameter:          | Value:
--------------------+----------------------------------------------------------
USER:                 test3
ID:                   8                                             <Read Only>
LAST-CHANGE:          03/10/2015 15:02:30 CET                       <Read Only>
PWD:                  ***
- CTIP not active --
- CLUS not active --
- IAX not active ---
--------------------
SIP-CLIP:             TRANSP
SIP-ACTION:           ADVANCED (No rules)
SIP-CF-RULE:          ALWAYS
SIP-CF-TOUT:          15
SIP-CF-DLY:           10
SIP-CF-FORK-TYPE:     STD
SIP-CF-CDO:           #
SIP-CF-CGO:           *
SIP-VM:               NO
SIP-VM-RULE:          NOANS,OTHERS
SIP-VM-TOUT:          15
SIP-PC-OFFER:         4
SIP-MAIL-FAIL:        NO
SIP-MAIL-FWD:         NO
SIP-MAIL-SEIZED:      NO
- VO not active ----
--------------------
VM-RCPT-LIST:         #
VM-RCPT:              
VM-OGM-MSG:           Message
VM-END-MSG:           SYS
--------------------
MAIL-BODY:            SYS
MAIL-RCPT-LIST:       #
MAIL-DFT-RCPT:        
--------------------
CTI-CALLS-LOG:        YES
CTI-CALLS-LOG-IN:     200
CTI-CALLS-LOG-OUT:    200
--------------------
CTI-TRFA:             YES
--------------------
CALLTRY-TOUT:         SYS
CALLTRY-NRTY:         SYS
--------------------
TON-TO-PREFIX:        SYS
--------------------
ON-DEMAND-VR:         NO
ON-DEMAND-VR-RCPT:    
--------------------
OPC-MAIN-INTERFACE:   SIP
-------------------------------------------------------------------------------
[Caution]Caution

Remember to save the configuration (save conf).

44.5.2. Configuration of the HTTP rights

Add the usertrfa” and enable it to HTTP.

[11:01:39] ABILIS_CPX:a user:trfa pwd:trfa http:yes

COMMAND EXECUTED

[11:01:39] ABILIS_CPX:d user

------------------------+-------------+----------------------------------------
USER             PWD ACT|CTIP CLUS    |CHAT LDAP PPP FTP HTTP MAIL IAX SIP VO
------------------------+-------------+----------------------------------------
admin            *** YES #    #        YES  YES  YES YES YES  NO   NO  NO  NO
guest                NO  #    #        NO   NO   NO  NO  NO   NO   NO  NO  NO
trfa             *** YES #    #        NO   NO   NO  NO  YES  NO   NO  NO  NO

Add the HTTP rights for the user “trfa”.

[11:01:39] ABILIS_CPX:a http rights path:/sys/trfa/cti/ user:trfa

COMMAND EXECUTED

[11:01:39] ABILIS_CPX:d http rights

-------------------------------------------------------------------------------
ID: PATH:
       USER:                            FILE: DIR:  RECUR: PROT:
-------------------------------------------------------------------------------
  1 /sys/
       admin                            r---  l---  YES    PLAIN,SSL
-------------------------------------------------------------------------------
  2 /sys/pub/
       anonymous                        r---  ----  YES    PLAIN,SSL
-------------------------------------------------------------------------------
  3 /sys/trfa/cti/
       trfa                             r---  l---  YES    PLAIN,SSL
-------------------------------------------------------------------------------

44.5.3. Using HTTP for showing CTI TRFA statistics

The CTI TRFA resource allows to save and analyze the phone traffic by service, by number and by user.

Below there are examples of CTI Traffic Analyzer consultations through HTTP interface.

44.5.3.1. Example of request By user

Log-in and click on Phone traffic to access to the following page:

The top tabs let you select the period of time to analyze.

To view the Week phone traffic of user "test3", follow these instructions:

  1. Select Week in the period of time.

  2. Select the format of results lines.

  3. Click on the tab By user and select the user "test3".

  4. Select the incoming for incoming calls.

  5. Select the type of calls in Quantity section and average time in the Average section.

  6. Click the GO! button.

44.5.3.2. Example of request By service

[Important]Important

To view phone traffic by service, activate the CTI TRFA for DISA service, refer to: Section 44.1.4.1, “Activating the CTI TRFA for DISA service”

Log-in and click on Phone traffic to access to the following page:

To view the phone traffic Now of DISA service "day", follow these instructions:

  1. Select Now in the period of time.

  2. Select the format of results lines.

  3. Click on the tab By service and select the service "day".

  4. Select the type of calls in Quantity section and Longest pending call in the Time section.

  5. Click the GO! button.

44.5.3.3. Example of request By number

[Important]Important

To view phone traffic by number, activate the CTI TRFA for called number, refer to: Section 44.1.4.2, “Activating the Phone TRFA for a specific called number”

Log-in and click on Phone traffic to access to the following page:

To view the Day phone traffic of number "49" configured with name "pcphone", follow these instructions:

  1. Select Day in the period of time.

  2. Select the format of results table.

  3. Click on the tab By number and select the number name "pcphone".

  4. Select the type of calls in Quantity section and average time in the Average section.

  5. Click the GO! button.

[Note]Note

The time interval is 5 minutes.