This telagent integrates telephones as resources in the web, using the tel: scheme; see Real-Time Resources in the Web for details; the basic idea is:
Start it going ala:
python telAgent.py /dev/ttyS3 491-0501 8501 ~/.phoneLog >~/.phoneHTTPlog
and it will
Netscape, unfortunately, doesn't support proxying tel:... URIs; in fact, it doesn't recognize them as absolute URIs. You can, however, (ab)use the urn: proxy support; try this automatic proxy configuration for urn:tel: URIs (i.e. in the Netscape preferences under Advanced/Proxies, point your "Configuration location (URL)" there; or copy it to your local disk etc.), and then try W3C's MIT office phone, rigged with netscape work-around.
My tel: handler is limited to localhost (127.0.0.1); I haven't figured out a good way to get the absolute URI of the dialer to the right parts of the code.
There's an abstract TelnumNav class for figuring out what digits to call to get from this phone to the phone identified by some URI; the subclass I've implemented is the rules for dialing from 913 in Kansas (which is pretty much like any place else in the U.S., except for 816 numbers).
I just downloaded medusa-src-20000601.tar.gz and unpacked it and then used
PYTHONPATH=/medusa's/parent/dir python ...
to help python find it
update Dec 2002: medusa-0.5.3.tar.gz from amk's updated medusa
conversation with David Boles... JWZ's caller-id thingy...
found cid 17Dec2000; it's a client/server caller-id thingy in python
Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.
Current directory: [Public] / 2001 / telagent
File | Rev. | Age | Author | Last log entry | |
---|---|---|---|---|---|
Parent Directory | |||||
Attic/ [show] | |||||
telnum.py | 1.5 | 16 years | connolly | added --digits option 2006-03-31 10:38 | |
README.cvs.html | 1.4 | 21 years | connolly | updated to python2.2, amk medusa | |
areaCodes.py | 1.2 | 21 years | connolly | updated to python2.2, amk medusa | |
telAgent.py | 1.9 | 21 years | connolly | updated to python2.2, amk medusa | |
cellAgent.py | 1.1 | 21 years | connolly | n3 from cellphone starting to work | |
tel.pac | 1.1 | 23 years | connolly | prepared for release to fork/fogo |