Draco - Xringd config files


/usr/local/src/xringd-1.20.lsm


Begin3
Title:		xringd
Version:	1.20
Entered-date:	17JUL97
Description:	The Linux Extended Ring Daemon.
		It matches "sequences" of a phonerings/timedelay confguration
		with rings and time delays coming from a modem. A fully matched
		sequence will execute a specified command.
		Thus, commands can be run while your modem stays on-hook.
		Does not affect getty's or other progs using the same port.
		Source and an aout bin are included.
Keywords:	xringd, serial, uart, ring daemon, callback
Author:		ah@doc.ic.ac.uk (Angelo Haritsis)
Maintained-by: ah@doc.ic.ac.uk (Angelo Haritsis)
Primary-site:	sunsite.unc.edu /pub/Linux/system/Network/daemons
		23k xringd-1.20.tgz
Alternate-site: dolphin.doc.ic.ac.uk /pub/Linux/xringd
		23k xringd-1.20.tgz
Platforms:	Linux 1.3.48+, RI serial cable line connected, 16xx0 uart
Copying-policy: GPL
End

/etc/xringd.conf

-l 100
R 30 : /usr/local/sbin/force10
#
# xringd configuration file -- sample
#
# Line format:
# R secs[-secs] [ R secs[-secs] ] ... : command
# comments start with '#' in column 1 only
#
# Pay attention to avoid overlapping events; xringd will only do a 
# syntax (not a semantic) check on this file.
#
# Allow a "safe-exit" ring sequence (eg 3 consecutive rings cancels it all)
#
# Copyright (c) 1995-1996 Angelo Haritsis. All rights reserved.
#

# command line options (-c -n silently ignored)
#-m /dev/ttyS1
#-a /usr/local/audio/bin/play /usr/local/lib/sounds/ring.au
#
# rings this far are taken as one ring:
#-i 500	
# after resetting, time after we accept new sequences:
#-t 15
# logging level:
#-l 100

# 2 rings 10-25 sec apart followed by 30 secs silence: ppp connect with office1
#R 10-25 R 30 : /etc/ppp/ppp.start office1

# 3 rings with 10-20 secs between each pair => ppp connect with office2
#R 10-20 R 10-20 R 30 : /etc/ppp/ppp.start office2

# 2 nearish rings then 1 ring after 20-26 secs, followed by no ring in
# 30 secs => heater on!
#R 1-6 R 10-16 R 8 : /usr/local/bin/turn-heater on


Index, Back On to Samba

Copyright ©, 1997, Ben Spade. Permission is given to copy or link to this document, as long as this notice remains intact.