Module: sip-router
Branch: alexh/dialog-sync-wip
Commit: be2a3cc70a8d31643d00d5c50470811c01c00fef
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=be2a3cc…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: Thu Aug 7 17:13:17 2014 +0200
dialog: Add syncing via DMQ
Primary purpose is to sync profiles. This implements just that.
Enough of the state is synced to maintain identical profiles counts on
all kamailio instances.
Changed profiles are only synced as the request is sent out, adding
multiple profiles will result in just 1 sync message at the moment
the request is being sent.
It is not possible for the 'other' instances to send in-dialog requests.
---
modules/dialog/dialog.c | 9 +
modules/dialog/dlg_dmq.c | 425 +++++++++++++++++++++++++++++++++++
modules/dialog/dlg_dmq.h | 47 ++++
modules/dialog/dlg_handlers.c | 64 +++++-
modules/dialog/dlg_hash.c | 15 +-
modules/dialog/dlg_hash.h | 2 +
modules/dialog/dlg_profile.c | 2 +
modules/dialog/doc/dialog_admin.xml | 23 ++
8 files changed, 576 insertions(+), 11 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=be2…