LordOmar has asked for the wisdom of the Perl Monks concerning the following question:

What I am trying to do: On a OpenBSD box, a program that answers dial in connections, asks the dial in client for their phone number, checks that number against a list of approved numbers, if teh number is approved it then hangs up and dials the user back, and establishes a simple terminal connection. I have found a series of bash scripts which does this for PPP but I don't ned or want that functionality, just a simple command line terminal. I'm fairly new to Perl so this seems to be beyond my current skill level, although I will accept any good reference materials one could reccomend on doing this type of thing.

Replies are listed 'Best First'.
RE: Dial Back With Perl?
by Anonymous Monk on Mar 02, 2000 at 17:48 UTC
    The UNIX phylosophy is that every program should do one thing but do it the best way. And all your problems could be solved combining several programs. I don't know lots of OpenBSD, but under linux there is s/w mgetty. It comes with utility callback. Therefore that I suggest is take mgetty for answering calls. write your program to ask for phone number and check for presence in your list of allowed numbers. If you find - exec() callback. Otherwise - just exit().