Home > Archive > Tcl > September 2005 > Capturing ring of modem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Capturing ring of modem
|
|
| alexander@edem.g12.br 2005-09-21, 7:01 pm |
| Hi!
Me again, speaking an horrible english...
So... is it possible know when my telephone receive one call?
I explain: I want build one "electronic secretary" and I need capture
some signals of my modem.
The first, obvious, is if my modem receive one ring. I must count some
rings and start one circuit board (made by me) to answer the call.
I search a lot how to do this with Tcl, but after a lot of tests I just
can't take this rings.
So... if is not possible, maybe somebody here can tell me one start to
do. I just wanna count the rings (and, of course, after work of my
circuit board, capture if the call was over).
[]'s
Alexander Franca
Brazil
| |
| Darren New 2005-09-21, 7:01 pm |
| alexander@edem.g12.br wrote:
> The first, obvious, is if my modem receive one ring. I must count some
> rings and start one circuit board (made by me) to answer the call.
This was easy for me. I had a Hayes-style "AT" command modem, as almost
all are nowadays. I openned the appropriate serial COM: line, sent the
configuration to set it up so it prints "RING" when it gets a ring, then
set a file-event readable. When the ring came in, the modem printed
"RING" to the serial port, and I told the modem to answer.
It's straightforward, if you use the AT commands.
--
Darren New / San Diego, CA, USA (PST)
"Rabbit beer, now with organic hops!"
|
|
|
|
|