Logging unattended incoming calls

Hi all:

I need to log incoming calls, that are not going to be attended (it’s to control the presence of some workers in some ubications). I’d like to know if it’s posible to log this information (Phone number of the caller, time and date, etc) with asterisk, and to store it in a database for further analysis.

Thanks for your attention.


yes, either use the default csv call detail reporting, or look at the asterisk-addons for interfacing with assorted database engines for recording this info.

you can also use the asterisk AGI to make outcalls to perl or php programs, either of which offer you the chance to log whatever you need. If you place your AGI call into your dialplan immediately after your Answer() call, your code will get invoked for each incoming call.