gateway.list
Description
Fetch some simple information about your gateway.
Arguments
None.
Example Requests & Responses
Example One
Request
Requests information about the gateway.
{
    'method' => 'gateway.list',
    'parameters' => { }
} |
Response
{
          'gateway' => {
                         'db_schema_required' => '3',
                         'object_type' => 'gateway_settings',
                         'show_password_warning' => 1,
                         'db_schema' => '3',
                         'model_name' => 'Digium 2-Port T1/E1/SIP Gateway',
                         'system_timestamp' => 1332786116,
                         'log_level' => '7',
                         'mac_address' => 'B2:43:4A:00:00:04',
                         'model_no' => 'G200',
                         'languages' => [
                                          'en_us'
                                        ],
                         'uptime' => '3 days, 1 hour, 38 minutes',
                         'object_id' => 1,
                         'language' => 'en_us',
                         'username' => 'admin',
                         'system_time' => 'Monday, March 26, 2012, 6:21 PM UTC',
                         'software_version' => '1.0.2',
                         'numports' => '2',
                         'object_name' => 'gateway',
                         'numethports' => '1'
                       }
        } |