To display the diagnostics of the CTIVO resource the following commands are used:
Shows diagnostic information, such as the state of the resource, the currently used channels, the currently active CTIVO user etc.
Shows diagnostic information in an extended format: the same information listed for d d ctivo command and the calling and the called number, the state of call etc.
[10:21:09] ABILIS_CPX:d d ctivo
RES:CtiVo ---------------------------------------------------------------------
CTI_Virtual_Office
STATE:ACTIVE SESNUM:5 CUR-SESNUM:1
------------------------------------------------------------------------
SES: USER: Routing-State: UsedChannels:
------------------------------------------------------------------------
0 test - 2
1 - 0
2 - 0
3 - 0
4 - 0
[10:21:26] ABILIS_CPX:d de ctivo
RES:CtiVo ---------------------------------------------------------------------
CTI_Virtual_Office
STATE:ACTIVE SESNUM:5 CUR-SESNUM:1
------------------------------------------------------------------------
SES: USER: Routing-State: UsedChannels:
CH: Side: VO-State: UsedAdapters:
CtiEvent VoCommands Media
AD: CG CD Type Dtmf
Q931-State Aux-Q932-State V-Aux-Q932-State
CtiEvent VoCommands Media
------------------------------------------------------------------------
0 test - 2
0 USER READY 1
Enabled Enabled Enabled
0 AP -
10-CONNECTED IDLE IDLE
Enabled Enabled Enabled
1 NET - 1
Enabled Enabled Enabled
0 736 555 CTIR -
10-CONNECTED IDLE IDLE
Enabled Enabled Enabled
------------------------------------------------------------------------
1 - 0
------------------------------------------------------------------------
2 - 0
------------------------------------------------------------------------
3 - 0
------------------------------------------------------------------------
4 - 0
------------------------------------------------------------------------
The meaning:
STATE
The CTIVO driver state:
INACTIVE
- CTIVO is not ready to
receive connections.
ACTIVE
- CTIVO fully active.
SESNUM
Maximum number of simultaneous CTIVO connections toward CTIR.
CUR-SESNUM
Number of currently used Sessions.
SES
The number of the CTIVO session.
USER
The name of the identified user.
Routing-State
Virtual Office Routing state.
UsedChannels
Currently used channels.
UsedAdapters
Currently used adapters.
CH
Channel identifier.
Side
The side of the channel.
VO-State
Virtual office state.
VoCommands
Virtual Office commands Enabled/Disabled.
CtiEvent
CTI signaling Enabled/Disabled.
Media
Media Enabled/Disabled.
AD
Number of the adapter.
CG
Calling address.
CD
Called address.
Type
Type of adapter.
Dtmf
State of DTMF state machine.
Q931-State
State of Q931 protocol for this Channel.
Aux-Q932-State
ITU-T Q.932 auxiliary state.
V-Aux-Q932-State
ITU-T Q.932 virtual auxiliary state.
Media
Media Enabled/Disabled.
To display the statistics of the CTIVO resource the following commands are used:
Shows statistic information, such as the number of calls, the number of call transfers, the number of calls put on hold, the number of registered calls etc.
Shows statistic information in an extended format: the same information listed for d se ctivo command are shown for each session.
[10:25:39] ABILIS_CPX:d s ctivo
RES:CtiVo ---------------------------------------------------------------------
CTI_Virtual_Office
--- Cleared 0 days 00:23:29 ago, on 20/07/2016 at 10:02:11 -------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 1| |HOLD | 0| |
CALL-CLOSE | 2| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 1| |CALL-CUR | 1| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
DENIED-IP | 0| |BANNED-IP | 0| |
------------------------------------------------------------------------
[10:25:40] ABILIS_CPX:d se ctivo
RES:CtiVo ---------------------------------------------------------------------
CTI_Virtual_Office
--- Cleared 0 days 00:24:28 ago, on 20/07/2016 at 10:02:11 -------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 1| |HOLD | 0| |
CALL-CLOSE | 2| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 1| |CALL-CUR | 1| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
DENIED-IP | 0| |BANNED-IP | 0| |
------------------------------------------------------------------------
SES:0 USER:
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 0| |HOLD | 0| |
CALL-CLOSE | 1| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 1| |CALL-CUR | 1| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
------------------------------------------------------------------------
SES:1 USER:
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 0| |HOLD | 0| |
CALL-CLOSE | 0| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 0| |CALL-CUR | 0| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
------------------------------------------------------------------------
SES:2 USER:
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 0| |HOLD | 0| |
CALL-CLOSE | 0| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 0| |CALL-CUR | 0| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
------------------------------------------------------------------------
SES:3 USER:
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 0| |HOLD | 0| |
CALL-CLOSE | 0| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 0| |CALL-CUR | 0| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
------------------------------------------------------------------------
SES:4 USER:
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CALL | 0| |HOLD | 0| |
CALL-CLOSE | 0| |UNHOLD | 0| |
CALL-TRANSF| 0| |RECORD | 0| |
CALLBACK | 0| |RECORD-STOP| 0| |
CALL-SWITCH| 0| |DTMF-OUTB | 0| |
MIXCTIC | 0| | | | |
CALL-SUCC | 0| |CALL-CUR | 0| |
CALL-SEQ | 0| |CALL-FORK | 0| |
NOCHAN | 0| 0|DTMF-INB | 0| |
------------------------------------------------------------------------
With reference to the shown interval of time («Cleared 0 days 00:24:28 ago») these counters show the number of:
CALL | Number of incoming/outgoing calls. |
CALL-CLOSE | Closed calls by VO user. |
CALL-TRANSF | Transferred calls by VO user. |
CALLBACK | Requested callbacks by VO user. |
CALL-SWITCH | Requested call switching by VO user. |
MIXCTIC | Requested call mixctic by VO user. |
CALL-SUCC | Successful incoming/outgoing calls. |
CALL-SEQ | Calls to VO user performed in sequence mode. |
NOCHAN | Calls to VO user calls discarded because there was no available channel. |
HOLD | Received/sent ON HOLD invite. |
UNHOLD | Received/sent OFF HOLD invite. |
RECORD | Requested call record by VO user. |
RECORD-STOP | Requested call record stop by VO user. |
DTMF-OUTB | Out band DTMFs sent by VO user. |
CALL-CUR | Calls to VO user performed to current user-num. |
CALL-FORK | Calls to VO user performed in fork mode. |
DTMF-INB | In band DTMFs. |
DENIED-IP | Discarded signalling packets coming from UDP cause IP source is not allowed. The not-allowed requester is a client whose IP address is not present in IPSRC and IPSRCLIST parameters configuration. |
BANNED-IP | Discarded signalling packets coming from UDP cause IP source is banned by IPBAN service. |
To show the log of virtual office just issue the command d ctivo log
[15:54:16] ABILIS_CPX:d ctivo log
CURRENT EVENTS LOG MASK: DFT
Current Local Time: Friday 03/07/2015 14:27:18 (UTC+2.00)
DATE TIME Event SES CHAN ADAP AP Description
------ ------ ----- --- ---- ---- --- ------------------------------------------
020715 215945 Info - - - 001 OKAPI Reg user test
020715 215953 Info 000 - - - Open session for user test
020715 215953 Info 000 U000 A000 001 CALL command issued
020715 220056 Info 000 U000 A000 001 CLOSE command issued
To set the filter event use s ctivo log event:<filter>
[15:55:22] ABILIS_CPX:s ctivo log event: ?
S CTIVO LOG EVENT:val Set CTIVO log events filter EVENT: CtiVo log events filter [ERR, INFO, DBG] or [DFT, FULL], where - ERR, INFO, DBG filters can be joined using "," operator; - DFT: means ERR and INFO events; - FULL: means every type of event. By default the event mask is set to 'DFT'. [15:55:46] ABILIS_CPX:s ctivo log event:full
COMMAND EXECUTED
The filter used at the startup of the Abilis may be set via the following parameter:
[15:55:22] IMBOURNE:s p ctivo volog:full
COMMAND EXECUTED [15:55:22] IMBOURNE:init res:ctivo
COMMAND EXECUTED
Finally to clear the log use c ctivo log.
[15:55:25] ABILIS_CPX:c ctivo log
COMMAND EXECUTED