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.