Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Resources | profiles | digitProfile

digitProfile

This object creates and configures a profile for digit collection. Digit profiles define the parameters for DTMF/MFR1/MFR2 digit generation and collection.

Exists on Condition (/system/sbcPersonality/role !='msbc') and (/system/sbcPersonality/role !='mrfp')

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The user name of this digit profile.
typeMenumeration Specifies the digit's format. This value is set at object creation time and cannot be modified.
dtmfGenerateO Specifies various digit generation attributes.
mfr1GenerateO Specifies various digit generation attributes.
mfr2GenerateO Specifies various digit generation attributes.
dtmfDetectO Specifies various digit detection attributes.
mfr1DetectO Specifies various digit detection attributes.
mfr2DetectO Specifies various digit detection attributes.
REST API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/profiles/digitProfile/{name}

REST API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/profiles --data '
<digitProfile>
     <name>{name}</name>
     <type>{type}</type>
</digitProfile>
'

REST API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/profiles/digitProfile/{name}