[sr-dev] git:master: modules/sipcapture: Extended sipcapture to support multiple tables

Marius Zbihlei marius.zbihlei at 1and1.ro
Fri Jul 20 09:53:51 CEST 2012


Module: sip-router
Branch: master
Commit: 9a4b9061387ac88c9c0db7945b41c8a24986b7bc
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9a4b9061387ac88c9c0db7945b41c8a24986b7bc

Author: Dragos Dinu <dragos.dinu at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Fri Jul 20 10:48:48 2012 +0300

modules/sipcapture: Extended sipcapture to support multiple tables

The sipcapture module can support storing the information to multiple sql tables.
Tests have shown that a major bottleneck against scalability on multi core CPU of
the capture node instance was caused by using a single MySQL Table.
The frontend (HOMER) will be soon patched to support retrieval of data from multiple
sources.

The decision to select witch table is written to, can be configured from random,
round robin or hashing via username or callid.

---

 modules/sipcapture/README                   |  170 ++++++++++++++++-----------
 modules/sipcapture/doc/sipcapture_admin.xml |   43 +++++++-
 modules/sipcapture/hash_mode.c              |  129 ++++++++++++++++++++
 modules/sipcapture/hash_mode.h              |   61 ++++++++++
 modules/sipcapture/sipcapture.c             |  163 +++++++++++++++++++-------
 modules/sipcapture/sipcapture.h             |   41 +++++++
 6 files changed, 495 insertions(+), 112 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=9a4b9061387ac88c9c0db7945b41c8a24986b7bc



More information about the sr-dev mailing list