Setting logging security on DTMF input

As previously discussed, Voice Platform supports logging security features that let you prevent sensitive information such as passwords or credit card numbers from appearing in the call logs and recordings. To suppress spoken input, you can activate this feature either by setting a property in VoiceXML, or within the grammar itself via a <meta> tag. However, a secure_context set within a <meta> tag in a grammar does not apply to DTMF input.

Consequently, if you intend to use DTMF to handle sensitive information in your application—for example, if users will enter a credit card number via the keypad—you must use the VoiceXML swirec.secure_context property in your application, to ensure that the DTMF event is properly suppressed in the logs:

<property name= "swirec.secure_context" value = "suppress"/> 

When using a secure context, test the results carefully to verify that sensitive information is concealed as intended.

For a full discussion of logging security, see Logging security.