Items Telephony_Interface - hollie/misterhouse GitHub Wiki
Telephony_Interface
See original
SYNOPSIS
INI PARAMETERS
callerid_port = localhost:3333
callerid_name = acheron-ncid
callerid_type = ncid
DESCRIPTION
Provides support for common serial and network attached Caller ID devices. The majority of serial devices are basically modems, but some chipsets better support CID features than others. The following CID device types are supported:
default Default modem
motorola Motorola modem
powerbit Intertex (Powerbit, Telia)
rockwell Rockwell chipset modems
supra Supra modems
cirruslogic Cirrus Logic chipset modems
zyxel Zyxel modems
netcallerid NetCallerID devices (no longer available)
ncid NCID - Network Caller ID server
NCID
When using callerid_type = ncid
, the callerid_port
must be given in the format hostname/IP:port
such as:
callerid_port = localhost:3333
INHERITS
METHODS
Method | Description |
---|---|
new() |
Instantiates a new object. |
open_port() |
Open the given serial port or network socket. |
init() |
Initialize the serial device |
reload_reset() |
Unload any defined devices and force a reset. |
check_for_data() |
Look for new data on the serial port or network socket. |
process_phone_data($port, $data) |
Process misc phone data like rings |
process_cid_data($port, $data) |
Process CID data from the device. |
set($p_state, $p_setby) |
Set the device on or off hook |
set_test($data) |
Used for testing. |
AUTHOR
Chris Witte, Bruce Winter, Matthew Williams, Brian Rudy
SEE ALSO
NCID - Network Caller ID