Hi Tristan,
thanks for the patches. I will look over it and commit, most of them I find very useful. Also, I have to take care of integration with the patches coming from the Homer project announced yesterday evening by Alexandr Dubovicov, which extended the siptrace module as well -- looks like you had more or less same goals.
Cheers, Daniel
On 8/5/11 10:17 AM, Tristan Bruns wrote:
Hello OpenSER/Kamailio developers,
we implemented some additional features in siptrace. The main objective was to have multiple kamailios send duplicates of sent/received packets to one logging server (also running kamailio). We did not just set db_url to the logging server because of performance concerns.
The attached patches contain our commits. I hope that you find them useful.
Viele Grüße / Best regards, Tristan Bruns (DECOIT GmbH)
0001-modules_k-siptrace-separately-store-to-db-and-or-sen.patch modules_k/siptrace: separately store to db and/or send duplicate
0002-modules_k-siptrace-Add-trace_to_database-configurati.patch modules_k/siptrace: Add trace_to_database configuration parameter
Adding configuration parameter to disable writing to the database. We can use this to only duplicate the SIP messages without storing them in our database.
0003-modules_k-siptrace-Add-x-headers-feature.patch modules_k/siptrace: Add "x-headers" feature
The "x-headers" feature stores the fromip, toip, method and direction in the message body (using X-* headers). This allows to transmit them using duplicate_uri from one kamailio to an other.
0004-modules_k-siptrace-Add-column-time_us.patch modules_k/siptrace: Add column time_us
0005-modules_k-siptrace-Add-time-to-x-headers.patch modules_k/siptrace: Add time to x-headers
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev