Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
minLevel2

connection_status.list

Description

...

Code Block
{
    'method' => 'connection_status.list',
    'parameters' => { }
}

Response

Code Block

'connection_status' => {
          't1_e1_interfaces' => [
                                 {
                                   'signalingport_num' => 'PRI1',
                                   'name' => 'port1',
                                   'status_desc' => 'Up, Active',
                                   'description' => 'port1'
                                 },
                                 {
                                   'signalingport_num' => 'PRI2',
                                   'name' => 'port2',
                                   'status_desc' => 'Up, Active',
                                   'description' => 'port2'
                                 }
                               ],
          'sip_endpoints' => [
                              {
                                'name' => 'ErinsGTW',
                                'status_desc' => {
                                                   'output_string' => 'eringtw_200/eringtw        (Unspecified)                            D          0        UNKNOWN    ',
                                                   'reg_status' => 'not_registered',
                                                   'hostname' => 'Unspecified',
                                                   'latency' => 'unreachable' // when qualify is on
                                                 },
                                'registration' => 'out',
                                'host' => 'dynamic',
                                'defaultuser' => 'eringtw',
                              },
                              {
                                'name' => '6001',
                                'status_desc' => {
                                                   'output_string' => '6001/6001                  (Unspecified)                            D   N      0        Unmonitored ',
                                                   'reg_status' => 'not_registered',
                                                   'hostname' => 'Unspecified',
                                                   'latency' => 'Unmonitored' // when qualify is off
                                                 },
                                'registration' => 'in',
                                'host' => 'dynamic',
                                'defaultuser' => '6001',
                              }
                            ],
          'network_interfaces' => {
                                   'dns_addresses' => [
                                                        '10.24.55.4',
                                                        '10.19.29.253'
                                                      ],
                                   'hostname' => 'G200-00-00-04',
                                   'devices' => [
                                                  {
                                                    'mac_address' => 'B2:43:4A:00:00:04',
                                                    'gateway_address' => '10.24.23.254',
                                                    'status_ok' => 1,
                                                    'net_mask' => '255.255.248.0',
                                                    'name' => 'eth1',
                                                    'ip_address' => '10.24.18.34'
                                                  }
                                                ]
                                 }
        }
};