muted.conf.sample 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Sample muted configuration file
  3. #
  4. # Copyright (C) 2004 Digium, Inc.
  5. #
  6. # First you have the host, username, and password
  7. # we use to connect to the asterisk system
  8. #
  9. # What is this? Well, haven't you ever wished you could automatically
  10. # turn down the volume on your stereo, CDPlayer, etc, when a call comes in,
  11. # and then return it to normal when the call ends? Well, this is a possible
  12. # mechanism to make this happen!
  13. # You have to fire up the new utils/muted, which runs as a daemon in the
  14. # background. This daemon connects to asterisk via a manager interface, and
  15. # also reads this config file from /etc/muted.conf. when the channels mentioned
  16. # are activated, it tweaks the sound levels on the sound card(s).
  17. # So, depending on the sound card, you may be able to run all your sound
  18. # generating devices thru your sound card, and use this mechanism to quiet
  19. # them down while you are on the phone. If anyone figures out how to make
  20. # this work with kids, please inform!!
  21. #
  22. host localhost
  23. user user
  24. pass pass
  25. #
  26. # List each channel we're supposed to watch
  27. #
  28. channel DAHDI/1
  29. channel DAHDI/2
  30. channel SIP/mark
  31. #
  32. # Mute level is the percentage of the current volume we should
  33. # lower the music to.
  34. #
  35. mutelevel 20
  36. #
  37. # Smooth fade makes the fadein/fadeout nicer sounding
  38. #
  39. smoothfade