Advertisement
Guest User

xringd.conf

a guest
Sep 25th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. fg@gateway:~$ cat /etc/xringd.conf
  2. #
  3. # xringd configuration file -- sample
  4. #
  5. # Line format:
  6. # R secs[-secs] [ R secs[-secs] ] ... : command
  7. # comments start with '#' in column 1 only
  8. #
  9. # Pay attention to avoid overlapping events; xringd will only do a
  10. # syntax (not a semantic) check on this file.
  11. #
  12. # Allow a "safe-exit" ring sequence (eg 3 consecutive rings cancels it all)
  13. #
  14. # Copyright (c) 1995-1996 Angelo Haritsis. All rights reserved.
  15. #
  16.  
  17. # command line options (-c -n silently ignored)
  18. # modem device
  19. -m /dev/ttyACM0
  20. #-a /usr/local/audio/bin/play /usr/local/lib/sounds/ring.au
  21. -a /usr/local/bin/ring.sh
  22. # rings this far are taken as one ring:
  23. #-i 500
  24. # after resetting, time after we accept new sequences:
  25. #-t 15
  26. # logging level:
  27. #-l 100
  28.  
  29. # 2 rings 10-25 sec apart followed by 30 secs silence: ppp connect with office1
  30. #R 10-25 R 30 : /etc/ppp/ppp.start office1
  31.  
  32. # 3 rings with 10-20 secs between each pair => ppp connect with office2
  33. #R 10-20 R 10-20 R 30 : /etc/ppp/ppp.start office2
  34.  
  35. # 2 nearish rings then 1 ring after 20-26 secs, followed by no ring in
  36. # 30 secs => heater on!
  37. #R 1-6 R 10-16 R 8 : /usr/local/bin/turn-heater on
  38.  
  39. # Debian default, can we say?
  40. R 20-30 R 30 : /usr/bin/pon provider
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement