DNC
Definition
The tag allows you to add numbers to your CallFire DNC list.
Value
This is the number you want to add.
Attributes
Attribute | Required | Values | Description |
---|---|---|---|
name | N | any text | A unique name for the tag |
loggingEnabled | Y | true or false | Disable IVR logging. Default is true |
Examples
The following example adds the incoming caller ID to your DNC list.
<dialplan name="Root">
<menu maxdigits="1" timeout="10000">
<play name="beginning" type="tts">Please press 1 to be added to our do not call list.</play>
<keypress pressed="1">
<dnc>${call.callerid}
</dnc>
<play type="tts">Thank you, you have been added.</play>
<hangup/>
</keypress>
</menu>
</dialplan>