You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
Resources |
profiles |
dtmfTrigger
dtmfTrigger This object allows you to configure a profile defining conditions for triggering on DTMF digit strings. |
Exists on Condition | /system/sbcPersonality/role !='msbc' |
Configuration
| Parameter | Presence | Type | Default | Description |
---|
| name | M | string | |
The user name of the dtmf trigger entry.
|
| state | O | enumeration | disabled |
The administrative state of this dtmf trigger.
|
| pattern | O | string | S# |
The trigger pattern.
|
| interdigitTimeout | O | int32 | 4000 |
Specifies interdigit timer in milliseconds.
If 0, then timer is disabled
|
| longdigitDuration | O | int32 | 2000 |
Specifies minimum duration in milliseconds for
a digit to be considered long. If 0, then long
digits are disabled
|
REST API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/profiles/dtmfTrigger/{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 ' <dtmfTrigger> <name>{name}</name> </dtmfTrigger> ' |
REST API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/profiles/dtmfTrigger/{name} |