rami.info



mydtmfcid

Posted in AtWherever by Rami on the February 20th, 2005

OVERVIEW:
mydtmfcid is a program that listens on the parallel port for decoded DTMF caller ID that is fed from an external circuit using the MT8870 chip and then logs the call to a mysql database. The DTMF caller ID standard is used in some non-US countries like Kuwait, where I’m using it at. I’m using this program with asterisk to get the caller ID information as the Wildcard X100P doesn’t support this standard.

HARDWARE USED:
You will need to make the circuit included with the program
(mydtmfcid.gif) and attach it to the parallel port. You won’t need a
power supply for the circuit since the MT8870 chip doesn’t use much
power and thus it can be powered using the parallel port.

SOFTWARE DEPENDINCIES:
*gcc
*mysql

INSTALLATION:
To install mydtmfcid do the following:
1. Edit the mydtmfcid.h file.
2. Run make in the source directory and copy the binary to any location
you want.
3. Execute the included mydtmfcid.sql using mysql.

USAGE AND CONFIGURATION:
To use the program just insert your phonebook numbers into the phonebook
table and run the program in the background. If you want to have the
caller ID set in asterisk as well, use the set-callerid.agi script in
your extensions.conf file.

TODO:
*Make a script to add phonebook entries.

CREDIT:
The part that decodes the binary input from the parallel port into a
number as well as most of the circuit has been taken from numpress
made by hermann@flashback.net.

If you have any suggestions, comments, bugs or fixes just send them to me!

Rami AlZaid

Check out the ChangeLog Here
Download the latest version, v0.1 Here

Leave a Reply