Child pages
  • Message Waiting Indication (MWI)
Skip to end of metadata
Go to start of metadata

View MWI settings

Available in 14 starting with 14.10

Resource URI: /mwi/settings

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description

path


type


value


defaultValue


description


Specific Response Codes: N/A

HTTP Method: GET

Retrieves tall MWI settings.

Example: XML format

<Settings>

<Setting>

<path>status-config/SIP_STATUS_TCP_PORT</path>

<type>integer</type>

<value>5110</value>

<defaultValue>5110</defaultValue>

<label>MWI TCP Port</label>

</Setting>

<Setting>

<path>status-config/SIP_STATUS_UDP_PORT</path>

<type>integer</type>

<value>5110</value>

<defaultValue>5110</defaultValue>

<label>MWI UDP Port</label>

</Setting>

<Setting>

<path>status-config/SIP_STATUS_HTTP_PORT</path>

<type>integer</type>

<value>8100</value>

<defaultValue>8100</defaultValue>

<label>MWI HTTP Port</label>

</Setting>

<Setting>

<path>status-config/SIP_STATUS_LOG_LEVEL</path>

<type>enum</type>

<options>

<entry>

<key>NOTICE</key>

</entry>

<entry>

<key>CRIT</key>

</entry>

<entry>

<key>EMERG</key>

</entry>

<entry>

<key>WARNING</key>

</entry>

<entry>

<key>ERR</key>

</entry>

<entry>

<key>INFO</key>

</entry>

<entry>

<key>ALERT</key>

</entry>

<entry>

<key>DEBUG</key>

</entry>

</options>

<value>NOTICE</value>

<defaultValue>NOTICE</defaultValue>

<label>Logging Level</label>

<description>Handling of SUBSCRIBE/NOTIFY messages for voicemail notification control (MWI)</description>

</Setting>

<Setting>

<path>status-config/SIP_STATUS_MAX_EXPIRES</path>

<type>integer</type>

<label>Max expires</label>

</Setting>

<Setting>

<path>status-config/SIP_STATUS_MIN_EXPIRES</path>

<type>integer</type>

<label>Min expires</label>

</Setting>

<Setting>

<path>resource-limits/fd-soft</path>

<type>integer</type>

<value>32768</value>

<defaultValue>32768</defaultValue>

<label>FD Soft</label>

<description>FD Soft resource limit</description>

</Setting>

<Setting>

<path>resource-limits/fd-hard</path>

<type>integer</type>

<value>65536</value>

<defaultValue>65536</defaultValue>

<label>FD Hard</label>

<description>FD Hard resource limit</description>

</Setting>

<Setting>

<path>resource-limits/core-enabled</path>

<type>boolean</type>

<value>false</value>

<defaultValue>false</defaultValue>

<label>Core Enabled</label>

<description>Core Enabled resource limit</description>

</Setting>

</Settings>

JSON format

{

settings: [9]

0: {

path: "status-config/SIP_STATUS_TCP_PORT"

type: "integer"

options: null

value: "5110"

defaultValue: "5110"

label: "MWI TCP Port"

description: null

}-

1: {

path: "status-config/SIP_STATUS_UDP_PORT"

type: "integer"

options: null

value: "5110"

defaultValue: "5110"

label: "MWI UDP Port"

description: null

}-

2: {

path: "status-config/SIP_STATUS_HTTP_PORT"

type: "integer"

options: null

value: "8100"

defaultValue: "8100"

label: "MWI HTTP Port"

description: null

}-

3: {

path: "status-config/SIP_STATUS_LOG_LEVEL"

type: "enum"

options: {

NOTICE: null

CRIT: null

EMERG: null

WARNING: null

ERR: null

INFO: null

ALERT: null

DEBUG: null

}-

value: "NOTICE"

defaultValue: "NOTICE"

label: "Logging Level"

description: "Handling of SUBSCRIBE/NOTIFY messages for voicemail notification control (MWI)"

}-

4: {

path: "status-config/SIP_STATUS_MAX_EXPIRES"

type: "integer"

options: null

value: null

defaultValue: null

label: "Max expires"

description: null

}-

5: {

path: "status-config/SIP_STATUS_MIN_EXPIRES"

type: "integer"

options: null

value: null

defaultValue: null

label: "Min expires"

description: null

}-

6: {

path: "resource-limits/fd-soft"

type: "integer"

options: null

value: "32768"

defaultValue: "32768"

label: "FD Soft"

description: "FD Soft resource limit"

}-

7: {

path: "resource-limits/fd-hard"

type: "integer"

options: null

value: "65536"

defaultValue: "65536"

label: "FD Hard"

description: "FD Hard resource limit"

}-

8: {

path: "resource-limits/core-enabled"

type: "boolean"

options: null

value: "false"

defaultValue: "false"

label: "Core Enabled"

description: "Core Enabled resource limit"

}-

-

}

Unsupported HTTP Method: PUT, POST, DELETE


View or modify MWI settings

Available in 14 starting with 14.10

Resource URI: /mwi/settings/{settingPath}

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description

setting

The MWI setting related information is similar to the one described under /mwi/settings.

Specific Response Codes: N/A

HTTP Method: GET

Retrieves the MWI settings from the specified path.

Example: XML format

<Setting>

<path>status-config/SIP_STATUS_MAX_EXPIRES</path>

<type>integer</type>

<label>Max expires</label>

</Setting>

JSON format

{

path: "status-config/SIP_STATUS_MAX_EXPIRES"

type: "integer"

options: null

value: null

defaultValue: null

label: "Max expires"

description: null

}

HTTP Method: PUT

Updates the settings of the MWI from the specified path. PUT data is plain text.
HTTP Method: DELETE
Deletes the settings of the MWI from the specified path.

Unsupported HTTP Method: POST

  • No labels