Creates a Media List Profile Table given a specific Table ID.
https://134.56.227.163/rest/medialistprofile/{identifier}
PUT
true
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|---|---|---|---|---|---|
Description | No | No | string | none | 64 - Max Length | Meaningful name for the profile. |
VoiceFaxProfileID | Yes | No | string | 1 | 200 - Max Length | Identifies a comma separated string of the Media Profile IDs to be used in this profile. |
CryptoProfileID | No | No | int | 0 | Possible values:
| Identifies a cryto profile ID used. If no crypto profile is used then this is set to 0. |
DeadCallDetection | No | No | Enum | 0 | Possible values:
| To turn on and off the DCD feature based off of RTCP. |
DSCP | Yes | No | int | 46 | Possible values:
| The DSCP value to be used in the IP header of media packets from the Sonus SBC 1000/2000, for calls that use this Media List |
ReceiveGain | Yes | No | int | 0 | Possible values:
| Specifies the gain or loss in decibels to apply to received signals. Rx gain implies the gain of signal from Packet to PCM side. |
TransmitGain | Yes | No | int | 0 | Possible values:
| Specifies the gain or loss in decibels to apply to transmitted signals. Tx gain implies the gain of signal from PCM to Packet side. |
SilenceSuppression | No | No | Enum | 0 | Possible values:
| To turn on and off the Voice Activity Detection and send PT13 packets when on. |
SrtpROC | No | No | Enum | 0 | Possible values:
|
Specifies how the SG will handle SRTP ROC on new session key:
|
ComfortNoiseTDM | No | No | Enum | 0 | Possible values:
| Not used. |
DigitRelayType | Yes | No | Enum | 1 | Possible values:
|
Specifies the digit relay type to use.
|
DigitRelayPayloadType | Yes | No | int | 101 | Possible values:
|
Specifies the payload type used for RFC 2833 packets.
This field is available when Digit (DTMF) Relay Type is set to RFC 2833. |
ModemRelay | Yes | No | Enum | 0 | Possible values:
| Specifies if modem passthrough is enabled when using the G.711 codec. |
FaxRelay | Yes | No | Enum | 0 | Possible values:
| Specifies if fax passthrough is enabled when using the G.711 codec. |
CNGToneDetection | Yes | No | Enum | 0 | Possible values:
| Specifies if the system should detect fax calling tones. This tone is produced by the origination side fax machine. |
CNGNumberOfCycles | Yes | No | int | 2 | Possible values:
|
Specifies the number of cycles that must be detected by the system before it considers the tone to be a valid CNG tone. 1 to 5 are valid values.
This field is available when CNG Tone Detection is enabled. |
MediaRTCPMode | Yes | No | Enum | 0 | Possible values:
| Specifies if RTCP-XR packet type can be used in RTCP channel. If XR is chosen make sure the remote end can support XR RTCP frames. |
curl --cookie PHPSESSID=fsqgefadjojefv6lmdtij6lh44 -s -k -i https://134.56.72.218/rest/medialistprofile/1 -X PUT --data "ConfigIEState=1&CNGNumberOfCycles=2&ModemRelay=0&MediaRTCPMode=0&DigitRelayPayloadType=101&FaxRelay=0&VoiceFaxProfileID=1&DSCP=46&CNGToneDetection=1&Description=Default Media List&SrtpROC=0&CryptoProfileID=0&SilenceSuppression=0&DeadCallDetection=1&TransmitGain=0&ReceiveGain=0&DigitRelayType=1&ComfortNoiseTDM=0"
<?xml version="1.0"?> <root> <status> <http_code>200</http_code> </status> <medialistprofile id="1" href="https://134.56.72.218/rest/medialistprofile/1"> <CNGNumberOfCycles>2</CNGNumberOfCycles> <CNGToneDetection>1</CNGToneDetection> <ComfortNoiseTDM>0</ComfortNoiseTDM> <CryptoProfileID>0</CryptoProfileID> <DSCP>46</DSCP> <DeadCallDetection>1</DeadCallDetection> <Description>Default Media List</Description> <DigitRelayPayloadType>101</DigitRelayPayloadType> <DigitRelayType>1</DigitRelayType> <FaxRelay>0</FaxRelay> <MediaRTCPMode>0</MediaRTCPMode> <ModemRelay>0</ModemRelay> <ReceiveGain>0</ReceiveGain> <SilenceSuppression>0</SilenceSuppression> <SrtpROC>0</SrtpROC> <TransmitGain>0</TransmitGain> <VoiceFaxProfileID count="1"> <entry href="https://134.56.72.218/voicecodecprofile/1">1</entry> </VoiceFaxProfileID> </medialistprofile> </root>