[sr-dev] git:master: sipcapture: retry insert in DB on initial failure

Lucian Balaceanu lucian.balaceanu at 1and1.ro
Wed Aug 20 17:13:07 CEST 2014


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

Author: lucian balanceanu <lucian.balanceanu at 1and1.ro>
Committer: lucian balanceanu <lucian.balanceanu at 1and1.ro>
Date:   Wed Aug 20 18:08:03 2014 +0300

sipcapture: retry insert in DB on initial failure

- added insert_retries and insert_retry_timeout parameters, which
  control how many times and for how long Kamailio should try to
  rewrite to the Homer database in case the first attempt fails;
  trying to rewrite proves useful especially in heavy load scenarios.

---

 modules/sipcapture/README                   |  173 ++++++++++++++++++---------
 modules/sipcapture/doc/sipcapture_admin.xml |   42 +++++++
 modules/sipcapture/sipcapture.c             |   64 +++++++---
 3 files changed, 204 insertions(+), 75 deletions(-)

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



More information about the sr-dev mailing list