statistics.list

Description

Fetch a list of statistics.

Arguments

None.

Example Requests & Responses

Example One

Request

Fetch a list of statistics.

{     'method' => 'statistics.list',     'parameters' => { } }

Response

'statistics' => {                             'calls' => [                                          {                                            'in_side' => {                                                           'tech' => 'SIP',                                                           'chan' => '',                                                           'endpoint' => '8005555555'                                                         },                                            'out_side' => {                                                           'tech' => 'SIP',                                                           'chan' => '',                                                           'endpoint' => 'MyKewlSIPprovider'                                                          },                                            'did' => 95555555                                          }                                        ],                             'processed' => '6',                             'active' => '1'                           }

Return to Documentation Home I Return to Sangoma Support