5.15. Test functionalities

5.15.1. Ping

This command executes a Ping to the specified IP address using the options indicated in the command row.

The following command allows have a complete list of the allowed options of the command:

[18:01:34] ABILIS_CPX:ping ?

Usage: ping <address> [-a] [-n count] [-l size] [-i TTL] [-v TOS] [-r count]
                      [-w timeout] [-z delay] [-f] [-p] [-m] [-s src_address]
                      [-t] [-ts] [-st nnn] [-std nnn]
Options:
  -a              Resolve addresses to hostnames.
  -n count        Number of echo requests to send.
  -t              Echo requests are sent until interrupted by user.
  -l size         Send buffer size.
  -f              Set IP header "don't fragment" flag (DF).
  -i TTL          Time To Live.
  -v TOS          Type of service [use number or D, T, R, C].
  -r count        Record route for count hops.
  -s src_address  Set source address for outgoing requests.
  -w timeout      Timeout to wait for each reply [10..30000 msec].
  -z delay        Set time delay between consecutive ping requests
                  [0..300000 msec].
  -p              Show in/out interface of ping message [IP-xxx or INTERNAL].
  -m              Show MAC address of the response (host or gateway).
  -ts             Show timeStamp.
  -st nnn         Show IP-nnn resource char-in/out statistics.
  -std nnn        Show IP-nnn resource char-in/out differential statistics.

Here is an example of the command execution.

[18:01:34] ABILIS_CPX:ping 192.168.11.253

Pinging 192.168.11.253 with 32 bytes of data:

Reply from 192.168.11.253: bytes=32 time=6 ms TTL=64
Reply from 192.168.11.253: bytes=32 time=10 ms TTL=64
Reply from 192.168.11.253: bytes=32 time=7 ms TTL=64
Reply from 192.168.11.253: bytes=32 time=14 ms TTL=64

--- 192.168.11.253 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3011ms
rtt min/avg/max = 6/9/14 ms

5.15.2. Tracert / Traceroute

This command traces the route of the IP packet sent to the IP address specified in the command row.

[18:01:34] ABILIS_CPX:tracert 192.168.11.253

Tracing route to 192.168.11.253 over a maximum of 30 hops

  1     6 ms     6 ms     6 ms   192.168.11.253

Trace complete.

The following command displays the syntax:

[18:01:34] ABILIS_CPX:tracert ?

Usage: tracert/traceroute <address> [-a] [-h max_hops] [-w timeout] [-z delay]
                                    [-p] [-m] [-s src_address]
Options:
  -a              Resolve addresses to hostnames.
  -h max_hops     Maximum number of hops to search for target.
  -s src_address  Set source address for outgoing requests.
  -w timeout      Wait timeout for each reply [max. 30000 msec].
  -z delay        Set time delay between consecutive hosts [max. 300000 msec].
  -p              Show in/out interface of trace message [IP-xx or INTERNAL].
  -m              Show MAC address of the response (host or gateway).

5.15.3. Pingstat

This command pings a destination and retrieves the increments in CHAR-INPUT and CHAR-OUTPUT of the resource(s) used to transmit and receive, and some statistics useful for making line performances analysis (easily importable in a spreadsheet).

[18:01:34] ABILIS_CPX:pingstat 192.168.11.253 -t -l 1 -z 1000

Pinging 192.168.11.253 with 1 bytes of data:

Reply from 192.168.11.253: IpResOut=1 IpResIn=1 bytes=1 RTT=0 ms TTL=255
date       time      timeStamp     diffIn    diffOut    RTT
22/04/2015 13:37:23          0          0          0      0
22/04/2015 13:37:24        999        170        174      0
22/04/2015 13:37:25       1999        697        579      0
22/04/2015 13:37:26       2999        308        269      0
22/04/2015 13:37:27       3999        450        436      0
22/04/2015 13:37:28       4999        273        311      0
22/04/2015 13:37:29       5999         92        207      0
22/04/2015 13:37:30       6999        651        797      0
22/04/2015 13:37:31       7999        829        479      0
22/04/2015 13:37:32       8999        436        429      0
22/04/2015 13:37:33       9999       2339        534      0
22/04/2015 13:37:34      10999        276        171      0
22/04/2015 13:37:35      11999        711        678      0
22/04/2015 13:37:36      12999        262        211      0
22/04/2015 13:37:37      13998       1013        396      0
22/04/2015 13:37:38      14998        273        344      0
22/04/2015 13:37:39      15998         92        130      0
22/04/2015 13:37:40      16998       1293        749      0
22/04/2015 13:37:41      17998        218        271      0
22/04/2015 13:37:42      18998        589        567      0
22/04/2015 13:37:43      19998     176464      10483      0

--- 192.168.11.253 ping statistics ---
22 packets transmitted, 22 received, 0% packet loss, time 19998ms
rtt min/avg/max = 0/0/0 ms

PREVIOUS COMMAND(s) ABORTED

The following command displays the syntax:

[18:01:34] ABILIS_CPX:pingstat ?

Usage: pingstat <address> [-a] [-n count] [-l size] [-i TTL] [-v TOS] [-t]
                          [-w timeout] [-z delay] [-f] [-m] [-s src_address]
Options:
  -a              Resolve addresses to hostnames.
  -n count        Number of echo requests to send.
  -t              Echo requests are sent until interrupted by user.
  -l size         Send buffer size.
  -f              Set IP header "don't fragment" flag (DF).
  -i TTL          Time To Live.
  -v TOS          Type of service [use number or D, T, R, C].
  -s src_address  Set source address for outgoing requests.
  -w timeout      Timeout to wait for each reply [10..30000 msec].
  -z delay        Set time delay between consecutive ping requests
                  [10..300000 msec].
  -m              Show MAC address of the response (host or gateway).
Outputs:
  date            Date when PING request is transmitted.
  time            Time when PING request is transmitted.
  timeStamp       Time elapsed from first request (milliseconds).
  diffIn          Number of incoming byte since the previous request.
  diffOut         Number of outgoing byte since the previous request.
  RTT             Round Trip Time of PING request and response (in msec).

5.15.4. DSPs test

The Audio Compressors DSPs test can be invoked manually by command TEST DSP. The execution of the test is logged.

[11:58:19] ABILIS_CPX:test dsp

YOU ASKED TO EXECUTE DSPs TEST ON EVERY CARD
PROCEED (N/Y)?y

DSPs TEST IN PROGRESS
THIS MAY TAKE FEW MINUTES (Type CTRL+C + ENTER to stop)...


CELL32-1
   skipped (no DSP present)
VPOTS-4
   skipped (no DSP present)
BSE-1
   DSP:0  -  good

Overall test result: GOOD

COMMAND COMPLETED

[11:58:24] ABILIS_CPX:d l

Current Local Time: Wednesday 22/04/2015 13:40:56 (UTC+2.00)

22/04/2015 13:40:08 [00291] I: DSP test start
22/04/2015 13:40:08 [00292] I: DSP test end

The test can be executed using various options:

[11:58:29] ABILIS_CPX:test dsp ?

TEST DSP [card] [method] [action] [output] [msec]          Executes DSPs test

DSPs test options:

card       Card selection. It must be 'type-n', where 'type' can be a CTI
           card type and 'n' can be [1..255]
           Execute the test of the specified card. By default the test is
           executed on every card.
method     Testing method selection [free, wait, force].
           - free: test only the ACs which are free;
           - wait: disable use of AC by CTIR and wait until all AC are free,
                   then make the test;
           - force: disable use of AC by CTIR, force close of all calls that
                    use AC, wait until all AC are free, then make the test.
           By default only free ACs are tested.
action     Action selection [log, recover].
           - log: only log errors and recovery actions;
           - recover: log errors and recovery action plus, in case of
                      failure, automatically attempt to recover the DSP
                      via reset.
           By default only log errors and recovery are done.
output     Output selection [brief, detailed, quiet].
           By default brief output is provided.
msec       Duration of the test of each channel [100..10000 msec]
           By default 500 msec.
[Note]Note

DSPs test is always performed at startup and it's logged. If the test detects a problem, it attempts up to two times to recover by resetting the DSP and repeating the test.

In case all DSPs are OK:

22/04/2015 13:40:08 [00291] I: DSP test start
22/04/2015 13:40:08 [00292] I: DSP test end

If there's some problem:

22/04/2015 17:22:13 [00291] I: DSP test start
22/04/2015 17:22:16 [00293] W: BRI4-5 DSP#0 BBBBB recover
22/04/2015 17:22:17 [00293] W: BRI4-5 DSP#0 BBBBB recover
22/04/2015 17:22:17 [00294] W: BRI4-5 DSP#0 BBBBB bad
22/04/2015 17:22:18 [00293] W: BRI4-5 DSP#1 BBBBB recover
22/04/2015 17:22:19 [00293] W: BRI4-5 DSP#1 BBBBB recover
22/04/2015 17:22:20 [00294] W: BRI4-5 DSP#1 BBBBB bad
22/04/2015 17:22:20 [00292] I: DSP test end