You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
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
| Parameter | Presence | Type | Default | Description |
---|
| name | M | string | |
The user name of this digit profile.
|
| type | M | enumeration | |
Specifies the digit's format. This value is set at object
creation time and cannot be modified.
|
| dtmfGenerate | O | | |
Specifies various digit generation attributes.
|
| mfr1Generate | O | | |
Specifies various digit generation attributes.
|
| mfr2Generate | O | | |
Specifies various digit generation attributes.
|
| dtmfDetect | O | | |
Specifies various digit detection attributes.
|
| mfr1Detect | O | | |
Specifies various digit detection attributes.
|
| mfr2Detect | O | | |
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} |