Retrieve one config element: SD.codec-policy

get

https://cloud-native-SBC-IP/config/v1/sd/codec-policy/{ElementKey}

Retrieve one config element: SD.codec-policy

Request

Path Parameters
Query Parameters
  • Integer value of saved revision, or 'latest', 'active' to show the running config, or 'staging' to show complete configuration to be activated

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

return one config element: CodecPolicyConfig
Body ()
Root Schema : schema
Type: object
create and apply a codec policy to a realm and an agent
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • add-codecs-on-egress
    Specify which codecs to add. The add-codecs are only processed by the outgoing policy. Only codecs that can be transcoded may be specified. No transcodable codecs available with current system configuration.
  • allow-codecs
    Specify which codecs to allow. Specify exceptions with the :no tag. Two special type exceptions are accepted: video:no and audio:no. For example, to allow all codecs except iLBC and video: allow-codecs * iLBC:no video:no. If a codec is given a :force tag, it indicates that if the specified codec is present in the incoming offer, all non-force codecs are stripped out.
  • Allowed Values: [ "disabled", "preferred", "dual" ]
  • Enable transcode of EVRC TTY TDD to BAUDOT in EVRC-G.711 transcoded calls
  • Allowed Values: [ "disabled", "image_first", "audio_first" ]
  • Force a specific ptime on the egress offer. Enable this to ensure the ptime specified in 'packetization-time' is used.
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    name of the codec-policy
  • order-codecs
    Specify the order of the codecs. Matching codecs will be arranged in the SDP media description according to the specified order. Any remaining codecs will be subsequently added to the list, maintaining their original relative order as in the incoming media offer. A wildcard (*) anchors the ordering to either the start or the end of the list. For example - A B C * specifies the relative ordering of the first three codecs. * A B C specifies the relative ordering of the last three codecs. A B * C D indicates a sort of head and tail of the codec list, with everything else placed in between.
  • Minimum Value: 0
    Maximum Value: 4294967295
    This specifies the packetization time (ptime) to use in outgoing SDP offers when 'force-ptime' is enabled. The valid ptime values for each codec are as follows: PCMU 10 20 30 40 50 60, PCMA 10 20 30 40 50 60, G729 10 20 30 40 50 60, G729A 10 20 30 40 50 60, iLBC 20 30 40 60, G726 10 20 30 40 50, G726-16 10 20 30 40 50, G726-24 10 20 30 40 50, G726-32 10 20 30 40 50, G726-40 10 20 30 40 50, G723 30 60 90, G722 20 40, AMR 20 40 60, AMR-WB 20 40 60, opus 10 20 40 60, EVS 20 40 60, EVS AMR-WB IO 20 40 60, SILK 20 40 60.
  • Enable this flag to force the Cloud Native SBC to send a re-invite to a realm other than the one on which fax tone detection is enabled.
  • Removes inband DTMF tones and mutes audio completely to suppress any DTMF tone bleed-through that may accompany incoming telephone-events toward egress.
  • Minimum Value: 50
    Maximum Value: 32000
    A timer is set after a tone is detected. Upon the expiry of this timer, a re-invite will be sent if the SD has not received a re-invite from the terminating endpoint.
  • tone-detection
    Enable tone detect
Nested Schema : add-codecs-on-egress
Type: array
Specify which codecs to add. The add-codecs are only processed by the outgoing policy. Only codecs that can be transcoded may be specified. No transcodable codecs available with current system configuration.
Show Source
Nested Schema : allow-codecs
Type: array
Specify which codecs to allow. Specify exceptions with the :no tag. Two special type exceptions are accepted: video:no and audio:no. For example, to allow all codecs except iLBC and video: allow-codecs * iLBC:no video:no. If a codec is given a :force tag, it indicates that if the specified codec is present in the incoming offer, all non-force codecs are stripped out.
Show Source
Nested Schema : order-codecs
Type: array
Specify the order of the codecs. Matching codecs will be arranged in the SDP media description according to the specified order. Any remaining codecs will be subsequently added to the list, maintaining their original relative order as in the incoming media offer. A wildcard (*) anchors the ordering to either the start or the end of the list. For example - A B C * specifies the relative ordering of the first three codecs. * A B C specifies the relative ordering of the last three codecs. A B * C D indicates a sort of head and tail of the codec list, with everything else placed in between.
Show Source
Nested Schema : tone-detection
Type: array
Enable tone detect
Show Source

404 Response

Not Found
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source
Back to Top