modules/sipcapture: Extended sipcapture to support multiple tables
authorDragos Dinu <dragos.dinu@1and1.ro>
Fri, 20 Jul 2012 07:48:48 +0000 (10:48 +0300)
committerMarius Zbihlei <marius.zbihlei@1and1.ro>
Fri, 20 Jul 2012 07:48:48 +0000 (10:48 +0300)
commit9a4b9061387ac88c9c0db7945b41c8a24986b7bc
tree251e30e6d8d20b40c596821e64dd7d1a6366fd6d
parent0f702f6e236eb0cbb238bf83a0c4ae94d7b3cad8
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
modules/sipcapture/doc/sipcapture_admin.xml
modules/sipcapture/hash_mode.c [new file with mode: 0644]
modules/sipcapture/hash_mode.h [new file with mode: 0644]
modules/sipcapture/sipcapture.c
modules/sipcapture/sipcapture.h