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') and (/system/sbcPersonality/role !='mrfp')

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The user name of the dtmf trigger entry.
stateOenumerationdisabled The administrative state of this dtmf trigger.
patternOstringS# The trigger pattern.
interdigitTimeoutOint324000 Specifies interdigit timer in milliseconds. If 0, then timer is disabled
longdigitDurationOint322000 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}

  • No labels