Hello Daniel,
2012/6/12 Daniel-Constantin Mierla <miconda@gmail.com>
Hello,
I am a bit confused now. sipcapture role is to store the SIP signaling messages in database for the purpose of later analysis -- you can export pcap from the database later.
Well, I don't have enough experience with sipcapture module but (maybe I'm wrong) I don't think it is a good idea to store so huge data in mysql in high loading environment.
Rather that I would suggest to keep them in some flat databases, like mongo, redis, kassandra, etc...
Eventually, by looking to the sources, I don't think there is another way except mysql...
What is the obsolete logging system you think about?
If you look to log custom info messages, then see the xlog module:
* http://kamailio.org/docs/modules/3.3.x/modules_k/xlog.html
You can print your own message to syslog (or stderr), in the format you wish.
Yes, I'm using syslog but personally it's a backward way.
Nowadays there is a lot of logging frameworks. I think that, unofficial, log4XXXX (where XXXX - one of c, cpp, java, python, etc) already a standard of
logging system.
When using syslog/logrotate - the only one way to modify a root settings, no way to configure only userland part by configuring a logging strategy inside application
like a many software allows.
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw