Sip Device Line

Create

Create a new Sip Device Line record.

post/api/cp/sip-device-line

Request body

idinteger

Id

sip_device_idinteger

Sip Device Id (references sip_device.id)

line_idxinteger required

Line Idx

display_namestring

Display Name

clistring

Cli

hoststring

Host

usernamestring

Username

passwordstring password

Password

stun_serverstring

Stun Server

proxystring

Proxy

varsstring

Vars

Example request

{
  "id": 12345,
  "sip_device_id": 1,
  "line_idx": 1,
  "display_name": "example_display_name",
  "cli": "example_cli",
  "host": "example_host",
  "username": "john_doe",
  "password": "********",
  "stun_server": "example_stun_server",
  "proxy": "example_proxy",
  "vars": "example_vars"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.