Module: sems Branch: master Commit: a69efbb6425a1777904c9f48e4358b13b5faa9cd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a69efbb6425a1777904c9f48e4358b13b5faa9cd
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Thu May 26 17:36:21 2011 +0200 initial checkin of db_reg_agent module Purpose ------- The db_reg_agent module allows SEMS to read SIP accounts from a database and register the accounts to SIP a registrar. In that it serves a similar purpose as the reg_agent/registrar_client modules, with the differences that it reads accounts from mysql DB instead of the file system, and that it is built to support many (up to several 10k) subscription. Additionally, accounts may be added, changed and removed while SEMS is running; the db_reg_agent then can be triggered via DI interface (XMLRPC/json-rpc) to pick up the new registration. Features - configurable subscription query - configurable desired expires - flatten out re-register spikes by intelligently planning registration refresh - ratelimiting (x new REGISTER requests per y seconds) - seamless restart of SEMS server possible; registration status is restored from DB. --- apps/db_reg_agent/DBRegAgent.cpp | 988 +++++++++++++++++++++++++++++++ apps/db_reg_agent/DBRegAgent.h | 231 +++++++ apps/db_reg_agent/Makefile | 7 + apps/db_reg_agent/RegistrationTimer.cpp | 275 +++++++++ apps/db_reg_agent/RegistrationTimer.h | 113 ++++ apps/db_reg_agent/etc/db_reg_agent.conf | 50 ++ doc/Readme.db_reg_agent.txt | 69 +++ 7 files changed, 1733 insertions(+), 0 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commitdiff;h=a69efbb6425a1777904c9f48e4358b13b5faa9cd _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
