Distinctive Ring Aware Modems And GNU/Linux?
toughguy asks: "I've got a single phone line with three numbers attached to it. The three numbers make three different rings when they are called ("Distinctive Ring Service"). I'm trying to get a Linux machine (RedHat) to answer only on one of the distinctive rings so that it can receive faxes on that line. So far I haven't had any luck. I'm wondering if anyone has been able to get a Linux machine answering distinctive rings. If so, what modem hardware were you using and what software package as well?"
use with mgetty+sendfax.
Do you want the computer and modem to answer the phone no matter which of the three (virtual) lines rings? Do you want it to emulate a fax machine for one line, an answering machine for another, and something else for the third? Do you have anything else hooked up to that phone line besides the modem, like, for instance, a real telephone? What's the price difference between having one copper pair that answers to 3 different identities of the form (xxx) xxx-xxxx and having 3 actual copper pairs, each with its own unique (xxx) xxx-xxxx?
I see even classic Slashdot is now pretty much unusable on dial up anymore.
AT-SDR=4
Sending that command to your modem (presumably as part of the init. string) will tell your modem only to answer on a triple ring. It will report this as "RING 3." If you wanted it only to work for the single rings, you'd use AT-SDR=1 ("RING 1") and for dual rings, AT-SDR=2 ("RING 2".) Some modems will send "RING A," "RING B," etc. -- I gather that there's no such thing as a standard message for this.
Some of the places that I gathered this from include Motorola, FaxTalk, Fosh Australia and Dell Europe. This google was the most useful one.
Good luck -- you should have pretty much all of the info that you need at this point, I hope.
-Waldo
It's been a while since I ran my BBS (ObReminisce: Aahhh, yes...those were the days), but lemme see if I can think my way through this one.
:)
If you're using one of many modems that supporting distinctive ring (that feature was quite common Back In The Day, I can only assume that it still is), then you should be able to use AT settings, if such things still exist, to echo something aside from "RING" when the phone rings. "RING 0," "RING 1," etc. When mgetty is looking for activity, I think it just looks for "RING" and answers. You should be able to modify mgetty to only answer upon seeing "RING 0".
It ain't a link to an RPM, but it's something.
-Waldo
I found some information about an extension to mgetty, called vgetty. This might be what your after. See here. I'm sure there's more information, but I thought I'd leave that up to you.
When shit hits the fan get some of these https://youtu.be/pY-GncsZ-UE
You could try at lhd.zdnet.com
When shit hits the fan get some of these https://youtu.be/pY-GncsZ-UE
--
Vote Socialist or quit whining!
Help us build a better map!
Obviously you think this or you wouldn't be asking the question. However, this isn't far from the truth :-(. First of all, the program you probably want to use is mgetty which is included with Red Hat. In 7.1 there are four mgetty packages on the second disk. You definitely want mgetty installed, and probably mgetty-voice if you intend to use this as an answering machine type system. Now, I have browsed through the documentation directories for mgetty and I do agree it is pretty lame. In addition trying to search for mgetty is not very helpful. The first result returned from google is http://www.leo.org/~doering/mgetty/ which seems to be about the best reference you will find (so google seems to be doing its job). However the distinctive ring is buried in the caller-ID section and I am not exactly sure how to go about getting this to work. My advice is to read the docs thoroughly and also look for comments in the config files. There is also a mention in an mgetty FAQ on faqs.org of a mailing list for mgetty. You will probably get a better response on a mailing list for the software than on a general forum such as slahsdot.
A few things you should know is how to put your modem into distinctive ring mode. You will probably need to change an S register so that the modem will report RING 1, RING 2, RING 3, etc. instead of just plain RING. Use minicom to test this out. You may be able to do an AT$ or ATS$ to get lists of commands (works on USR modems, and I think also some Winmodems have something similar, maybe just the USR/3com ones.
I hope that helps you out in your quest. If nothing else start viewing the mgetty source and if necessary patch it to better support distinctive ring. Or maybe it has good support but is just poorly documented, so document it so the next guy can figure it out.
Whoa there, toughguy (heh). Nobody's accusing you of not doing your homework. Both your question and the hardware answer are interesting. Personally I hadn't known until now that such devices exist.
Judging by your response, though, you seem to be looking for a software-only solution. That said, I think the hardware answer should probably work for what you're trying to do if the computer is only supposed to handle *one* of the ring-types. Of course, if you want, one of the ring-types to be a fax line, and the other, say, a bbs, all handled by the same computer, you'd either need two modems or a software solution.
"Intelligence is the ability to avoid doing work, yet getting the work done".
It's only software!
There are many hardware solutions available which only route a ring signal to a phone jack if the appropriate ring style is detected.
However, the problem I'm running into is finding a PCI-based Non-Winmodem which does voice. I have a similar application I need to find one for. Everyone recommends the Zyxel modems, but they don't currently make an internal model, and as far as I can tell the 1496 was only available in ISA. For my app, this must be internal as it's going in a rack mount environment where we pay per rack inch.
From what I can tell, the vast majority of the PCI Voice modems out there are WinModems. I happen to be a FreeBSD user, so of course I need a real "hardware modem".
Maybe one of the other readers can shed some light on this....
--
Open a terminal, (pass strings to your modem)
Some common commands are:
Rockwell chipset: AT-SDR=7
Conexant chipset: AT+VDR=1,5
Lucent chipset: AT+VDR=1,10
US Robotics chipset: ATS41=1
Hope this helps!!
this person uses mgetty http://mail-index.netbsd.org/current-users/2001/06 /27/0023.html
I know its not directly for Linux, but this piece of mail may you give you some help or direction.
You may even get useful info from the author of the mail if you ask nicely.
dave