Versions Compared

Key

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

REST API Method: POST /rest/relay

Modifies the digital (DS1) port pair relay on the SBC system.

URL:

https://192.168.0.111/rest/relay

HTTP Method

POST

Requires Authentication:

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[relay - REST API Methods|Resource - relay]

Page Tree
root@parent

Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
digitalRelayStateNoYesEnum0Possible values:
  • 0 - rcsOnline
  • 1 - rcsPassThru
  • 2 - rcsPowerdownPassThru
Configures the digital relay state
  • rcsOnline - each DS1 pair of ports are connected to the unit and capable of originating and terminating PSTN calls.
  • rcsPassThru - each DS1 part of ports are in pass through and not connected to the unit.
  • rcsPowerdownPassThru - each pair of ports is cross-connected when the unit's power is lost or powered off.
analogSysRelayNoYesEnum0Possible values:
  • 0 - rcsOnline
  • 1 - rcsPassThru
  • 2 - rcsPowerdownPassThru
Configures the digital relay state
  • rcsOnline - each Relay FXS and FXO port pairs are connected to the unit and capable of originating and terminating PSTN calls.
  • rcsPassThru - each Relay FXS and FXO port pairs are in pass through and not connected to the unit.

Tip
titleHelpful Tip

The POST can contain either only the attributes that are being updated, or the full set of attributes for the resource