Stefan Sayer
b397d727dc
b/f: db_reg_agent: also shutdown cleanly on rapid shutdown (e.g. signal 15)
...
otherwise the processing thread continues to run, and the process crashes
on shutdown
14 years ago
Stefan Sayer
5ad253c210
b/f: db_reg_agent: when unregistering, don't remove reg for auth & provisional reply
...
thanks to rfuchs for report
14 years ago
Stefan Sayer
df480e790a
db_reg_agent: closing DB connection on unload
15 years ago
Stefan Sayer
9e7e7cfd6a
b/f: small timer mem leak when unregistering fails
15 years ago
Stefan Sayer
04039d909d
b/f: cleaner shutdown of registration timer thread
15 years ago
Stefan Sayer
015c2e3f3c
b/f: further safety precautions on timer buckets
15 years ago
Stefan Sayer
a94de00b66
b/f: db_reg_agent: don't reset contact if contact_hostport specified
15 years ago
Stefan Sayer
7a6126210d
b/f: fix index search for search from the past
15 years ago
Stefan Sayer
d56e0fec7f
don't retry failed de-register. delete_failed_deregistrations option
15 years ago
Stefan Sayer
526678f013
b/f: fix registration refresh if calculated in the past
...
for restarts with expired registrations and with
minimum_register_interval set, this could lead to lost registrations
15 years ago
Stefan Sayer
c37b66ac7b
db_reg_agent: re-register if user or realm changed
15 years ago
Stefan Sayer
398fce127c
db_reg_agent: refreshRegistration to immediately re-register
15 years ago
Stefan Sayer
acb2338dff
b/f: deadlock on timer too far in the future
15 years ago
Stefan Sayer
27551354bf
db_reg_agent: add ratelimit_slowstart option
15 years ago
Stefan Sayer
50017c0284
db_reg_agent: adds optional outbound_proxy
15 years ago
Stefan Sayer
25d1e08a30
db_reg_agent: removed adding colon iof query in the code
15 years ago
Stefan Sayer
6878d44d11
b/f: db_reg_agent: fixed ratelimit
...
fixed ratelimiting, which would otherwise limit at about two times
the rate
thanks to Vlada B for reporting
15 years ago
Stefan Sayer
fa0614f40b
db_reg_agent: introduced TO_BE_REMOVED status
15 years ago
Stefan Sayer
793b142fc3
db_reg_agent: b/f: auth detect, retry on send msg err
15 years ago
Stefan Sayer
4886a14038
db_reg_agent: save_auth_replies option
15 years ago
Stefan Sayer
3454e5fa93
db_reg_agent: configurable contact to register
...
- override hostport portion
- set per-subscription contact
15 years ago
Stefan Sayer
7ef93f050d
db_reg_agent: save_contacts option
15 years ago
Stefan Sayer
8533307c6c
db_reg_agent: added retry on error, delete removed registrations
15 years ago
Stefan Sayer
6b45d89a3e
b/f: create registrations DB entry if not there
15 years ago
Stefan Sayer
bf784d2506
fix for 1.4 core without offer_answer
15 years ago
Stefan Sayer
11dd8bcff0
fix for oa core changes
15 years ago
Stefan Sayer
7ae3ca4d4d
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.
15 years ago