line_last_registrations
Creates, updates, deletes, gets or lists a line_last_registrations resource.
Overview​
| Name | line_last_registrations |
| Type | Resource |
| Id | ovh.telephony.line_last_registrations |
Fields​
The following fields are returned by SELECT queries:
- list
Informations about a SIP registration (i.e. IP, port, User-Agent...)
| Name | Datatype | Description |
|---|---|---|
datetime | string (date-time) | SIP registration's date |
domain | string | SIP registration's domain |
ip | string (ipv4) | SIP registration's IP (example: 192.0.2.0) |
local_ip | string (ipv4) | SIP registration's local device IP (example: 192.0.2.0) (wire: localIp) |
local_port | integer | SIP registration's local device port (wire: localPort) |
port | integer | SIP registration's port |
user_agent | string | SIP registration's User-Agent (wire: userAgent) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | billing_account, service_name | List last registrations |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
service_name | string | (wire: serviceName) |
SELECT examples​
- list
List last registrations
SELECT
datetime,
domain,
ip,
local_ip,
local_port,
port,
user_agent
FROM ovh.telephony.line_last_registrations
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;