[asterisk-users] log to cdr each dialpan action, not only one record for each call
nik600
nik600 at gmail.com
Sat Mar 14 05:32:25 CDT 2009
I've seen that the CDR manager and i think that it can be enough for
my needs, with the timestamp=yes action.
I think that it wouldn't be too much difficult to set in the
manager_event function (main/manager.c) a condition that if is set
events_on_db=yes in the manager.conf it store the information in a db.
But, the question is:
is manager.conf the correct place to set this kind of configuration?
At the moment, i will just set up a manager connection (socket), save
results on a file and then (each 5/10 minutes) parse the file and
store information on db.
I don't want to introduce too much delay to work on db in real time so
using a file will be more faster.
But i also think that in some situation the possibility to store
events directly into db will be more useful, at this point, this
feature is independent from the CDR.
What do you think about that?
--
/*************/
nik600
http://www.kumbe.it
More information about the asterisk-users
mailing list