xPL NetCallerId

Description

xPL NetCallerId is a module for xPL4Java that reads the caller id information from a NetCallerID device and sends xPL CallerId messages. Due to time constraints I have not had time to prepare any documentation. xPL_NetCallerId requires the RXTX Library to be installed and available to xPL4Java. I did not include this library in the jar file because it includes native code that is dependent upon your operating system.

Two sample scripts are available below that utilize the NetCallerId and Orator modules. The Simple Script simply reads the caller id info and sends a TTS message. The DB Lookup Script reads the caller id info, looks up the name to be announced in a MySQL database, logs the call to the database and sends a TTS message.

NetCallerID Device

Downloads

xPL NetCallerId v0.5 Module Jar 8KB Source Code 4KB
Sample Scripts Simple Script 1KB DB Lookup Script 3KB

Schema

xPL NetCallerId uses the CID.NETCALL schema, which is inherited from the CID.BASIC schema.

CID.NETCALL
{
calltype=<INBOUND or OUTBOUND>
phone=<number called or calling, part number or blank allowed>
cln=<Caller Name>
call-date=<Date/Time of the Call>
}

For the NetCallerID calltype will always be INBOUND.

Where the call-date is in the format "MMDDhhmm".

Installation

To install the module simply copy the jar file to the "jars" directory under your xPL4Java server. Note that the RXTX Serial I/O library must be installed and available to xPL4Java.

For Developers

xPL_NetCallerId requires the RXTX Serial I/O Library.
This site is © Copyright Domus Cura 2008, All Rights Reserved.
Contact me at: mick@domuscura.com