1823718 Members
3781 Online
109664 Solutions
New Discussion юеВ

Modem caller ID

 
Javier Ballesteros
Occasional Contributor

Modem caller ID

We have some external users accessing via modem our HP9000 R380 (HP-UX 10.20) server. Provided that:
- the telephone company offers the caller ID service (not ISDN but analog lines)
- the modem supports the caller ID feature

is it possible to configure HP-UX to:
- reject incoming calls based on the calling telephone number?
- log the callers' telephone numbers?

Thank you very much.
JosT M. del Rfo
2 REPLIES 2
Steven Sim Kok Leong
Honored Contributor

Re: Modem caller ID

Hi,

If the incoming call's phone number can be displayed in one way or another in HP-UX, you may wish to create an Expect script for this purpose.

Expect scripting allows non-interactive scripting for interactive programs such as minicom. It allows you to specify various inputs to deal with various outputs from your interactive program.

Regards.

Steven Sim.
Bill Hassell
Honored Contributor

Re: Modem caller ID

Modems that understand caller ID will have an extended status capability. There is nothing in HP-UX that can take advantage of this feature, especially if you want to use getty to post a login prompt. The sequence would require the getty program to first perform status checks on the modem, then compare the ID string with a file. There is no code to perform this task in getty.


Bill Hassell, sysadmin