Telco approval is a problem for this kind of thing.
One possible solution - IIRC the 'off-hook' state is signalled by drawing a
current from the line. If you can detect that current without actually being
connected to the line itself, you can do this without requiring Telco approval.
Looking up the minimum current which signals the device as off-hook, and
coming up with a sane and reliable method of detecting said current, is left as
an exercise for the reader.
But we're drifting very off-topic.
---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/