REST API Method: POST /rest/media

Modifies the Media System Configuration settings.

URL:

https://192.168.0.111/rest/media

HTTP Method

POST

Requires Authentication:

true

Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
RTPRTCP_PortStartYesYesint16384Possible values:
  • 1024 - Minimum
  • 32767 - Maximum
The starting number for the RTP and RTCP port range.
RTPRTCP_PortCountYesYesint2500Possible values:
  • 1 - Minimum
  • 7000 - Maximum
The number of RTP and RTCP port pairs used by the SBC. The valid values for SBC1000 and SBC2000 are 1 to 4800 with default value of 600 for the SBC1000 and 1500 for SBC2000. This range for SWe Edge is 2 to 5000 with default value of 2500. This range for CNe Edge is 2 to 7000 with default value of 7000. For example, if the default values are used for starting port number and number of ports, the last port number would be 21383.
MediaDryupTimeNoNoint10Possible values:
  • 0 - Minimum
  • 480 - Maximum
EchoCancel_NLPOptionNoNoEnum1Possible values:
  • 0 - nlpDisabled
  • 1 - nlpMild
  • 2 - nlpStandard
  • 3 - nlpAggressive
This setting controls the Non-Linear Processing (NLP) option for echo cancellation. If NLP is enabled then the options, nlpMild, nlpStandard ("Strong" in the UI), and nlpAggressive represent increasing levels of attenuation. This is applicable only for the SBC 1000/2000 platforms.
EchoCancel_LECOptionNoNoEnum0Possible values:
  • 0 - lecStandard
  • 1 - lecDualFilter
This setting controls the LEC type, standard or dual filter LEC. Switch between standard LEC and dual filter LEC is not recomemded when there is any active call. This is applicable only for the SBC 1000/2000 platforms.
MOHSourceNoNoEnum0Possible values:
  • 0 - mohFile
  • 1 - mohFxs
Configures the source of the system's MOH. This is applicable only for the SBC 1000/2000 platforms.
  • File
    - Music played from the uploaded file.
  • FXS
    - Music played from radio or CD player via an analog FXS port connected to a RJ-11 adapter.
FXSPortSelectionNoYesstringnone32 - Max Length Specifies the string name of the FXS port used for MOH audio in the format of "card:port", E.g. 2:1. This is applicable only for the SBC 1000/2000 platforms.
SendSTUNPacketsNoNoEnum1Possible values:
  • 0 - sspDisabled
  • 1 - sspAlways
  • 2 - sspExceptTeams

Helpful Tip

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

  • No labels