Acoustic Shock Protection (ASP) is a voice circuit-breaker feature that is designed to protect users, especially those wearing headsets, from exposure to loud, sustained, and piercing tones, such as those produced by a fax machine. It is a workplace-safety feature for voice calls. When the tone is present at the input of the ASP module, the audio path in the affected direction is muted to protect the listener, and a gentle alert tone is played out for as long as the tone persists. ASP may be inserted in either or both directions of a call, that is, applied to incoming packets to protect the ears of a listener on the Time-Division Multiplexing (TDM) gateway, applied to incoming PSTN calls (microphone signal) to protect the ears of listeners at the other end of the call, or applied to both simultaneously.
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for ASP
Supported on PVDM3 only.
Supported only on flex codec complexity.
No support for H.32x video call, complex forking calls, and fax and modem calls.
No support for TDM hairpin call.
The configuration under dial peer has higher priority than the configuration at the global level.
No support for conference calls, IP/SIP phones, and the Skinny Client Control Protocol (SCCP).
CLI supports enabling ASP but not disabling ASP.
No support for dynamically enabling or disabling ASP during a call.
Acoustic Shock Protection (ASP) is an adaptive signal processing algorithm on the Digital Signal Processor (DSP) that analyzes incoming audio for the presence of offending tones that might harm humans. Offending tones include signals that are:
Loud
Tonal (energy concentrated around a single frequency)
Persistent (lasts longer than a few tens of milliseconds)
If an offending tone is present, the audio path in that direction is muted temporarily, and a quiet, alerting signal is played out to the listener side. The call is never dropped; only the audio is muted temporarily. If or when the tone disappears from the input, the mute is removed. ASP does not disrupt low-frequency tones (below 650 Hz) such as ringback, dial, and so forth. Since ASP is designed to mute only single-frequency tones, it allows multi-tone signals such as Dual Tone Multi-Frequency (DTMF) to pass unhindered. ASP is supported on TDM gateways (TDM-VoIP and TDM-TDM) and on the Cisco Unified Border Element (Cisco UBE).
Note
ASP is for voice calls only and not for faxes and modems.
Some of the best practices for ASP are as follows:
Use default values
Use ASP on dial peers where you are certain that people (not faxes) are listening.
Do not use ASP on dial peers associated with fax machines, modems, or TTY/TDD devices. Use fax-relay or modem-relay modes on dial peers dedicated to such devices.
ASP is designed for deployment in situations where customers have experienced acoustic shock safety issues. If there are issues like false triggering (for example, ASP alerts on regular voices), then you must turn off ASP. You can choose from three detector sensitivity modes: slow, auto, or fast. Fast mode is a highly sensitive hair-trigger. Auto mode is recommended. Slow mode lets more tone leak through, but has better rejection of false triggers.
Perform this task to create a media profile to configure acoustic shock protection.
SUMMARY STEPS
1.enable
2.configure terminal
3.media profile asp
tag
4.mode
mode
5.end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Device> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Device# configure terminal
Enters global configuration mode.
Step 3
media profile asp
tag
Example:
Device(config)# media profile asp 5
Creates the media profile to configure ASP and enters media profile configuration mode. The range for the media profile tag is from 1 to 10000.
Step 4
mode
mode
Example:
Device(cfg-mediaprofile)# mode auto
Sets the ASP sensitivity mode to preset = auto (which is default). Auto mode provides a good tradeoff between ASP speed and false trigger rejection.
The other modes are:
slow--Presets ASP sensitivity mode to 1. This mode provides slower detection speed for reduced chance of false triggers.
fast--Presets ASP sensitivity mode to 2. This mode provides faster detection speed but higher chance of false triggers.
expert--This mode exposes direct control of individual ASP parameters and is recommended for test use only.
Step 5
end
Example:
Device(config)# end
Returns to privileged EXEC mode.
Creating the Media Profile to Enable ASP
After the media profile is created, you must create a media class to enable acoustic shock protection. Perform this task to create a media class.
SUMMARY STEPS
1.enable
2.configure terminal
3.media class
tag
4.asp profiletag
5.end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Device> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Device# configure terminal
Enters global configuration mode.
Step 3
media class
tag
Example:
Device(config)# media class 2
Creates the media class to enable the acoustic shock protection feature and enters media class configuration mode. The range for the media class tag is from 1 to 10000.
Step 4
asp profiletag
Example:
Device(cfg-mediaclass)# asp profile 200
Applies the media profile to the media class. The range for the media profile ASP tag is from 1 to 10000.
Step 5
end
Example:
Device(cfg-mediaclass)# end
Returns to privileged EXEC mode.
Configuring the Media Class at a Dial Peer Level for ASP
SUMMARY STEPS
1.enable
2.configure terminal
3.dial-peer voice
tagpots
4.media-class
tag
5.end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Device> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Device# configure terminal
Enters global configuration mode.
Step 3
dial-peer voice
tagpots
Example:
Device(config)# dial-peer voice 20 pots
Defines a particular dial peer and enters dial-peer voice configuration mode. The range for the dial-peer voice tag is from 1 to 1073741823.
Step 4
media-class
tag
Example:
Device(config-dial-peer)# media-class 2
Applies the media class to the specific dial peer. The range for the media class tag number is from 1 to 10000.
Step 5
end
Example:
Device(config-dial-peer)# end
Returns to privileged EXEC mode.
Configuring the Media Class Globally for ASP
SUMMARY STEPS
1.enable
2.configure terminal
3.media service
4.enhancement
5.tdm
tag
6.end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Device> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Device# configure terminal
Enters global configuration mode.
Step 3
media service
Example:
Device(config)# media service
Enters media service configuration mode.
Step 4
enhancement
Example:
Device(cfg-mediaservice)# enhancement
Enters the submode enhance of media service.
Step 5
tdm
tag
Example:
Device(cfg-service-enhance)# tdm 2
Applies the TDM call globally. The range for the media class tag number is from 1 to 10000.
Step 6
end
Example:
Device(config-dial-peer)# end
Returns to privileged EXEC mode.
Verifying ASP
Perform this task to verify the voice quality metrics.
Displays information about digital signal processing (DSP) voice quality metrics.
Troubleshooting Tips
The following commands can help troubleshoot ASP:
debug voip hpi all
debug voip dsmp all
debug voip dsm all
debug voip vtsp all
debug vpm dsp all
Configuration Examples for the Acoustic Shock Protection Feature
Example: Enabling ASP Globally
media profile asp 6
!
media class 1
asp profile 6
!
media service
enhancement
tdm 1
Example: Enabling ASP on a Dial Peer
media profile asp 4
!
media class 1
asp profile 4
!
dial-peer voice 2100 pots
destination-pattern 2100
incoming called-number 1100
media-class 1
port 0/2/0:1
forward-digits all
dial-peer voice 1300 voip
destination-pattern 1300 session target ipv4:1.2.146.102 media-class 1
Feature Information for Acoustic Shock Protection
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1
Feature Information for Acoustic Shock Protection
Feature Name
Releases
Feature Information
Acoustic Shock Protection
15.2(2)T, 15.2(3)T
Acoustic Shock Protection (ASP) is a voice circuit-breaker feature that is designed to protect users, especially those wearing headsets, from exposure to loud, sustained, and piercing tones, such as those produced by a fax machine. It is a workplace-safety feature for voice calls. ASP is supported on TDM gateways and on Cisco UBE.
The following commands were introduced or modified:
media profile asp,
media service.
Acoustic Shock Protection
Cisco IOS XE Release 3.6S
Acoustic Shock Protection (ASP) is a voice circuit-breaker feature that is designed to protect users, especially those wearing headsets, from exposure to loud, sustained, and piercing tones, such as those produced by a fax machine. It is a workplace-safety feature for voice calls. ASP is supported on TDM gateways and on Cisco UBE.
In Cisco IOS XE Release 3.6S, this feature was implemented on the Cisco Unified Border Element (Enterprise)
The following commands were introduced or modified:
media profile asp,
media service.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.