[sr-dev] git:master: dialog(k): more dialog info stored in db

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 17 09:37:46 CET 2012


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Feb 17 09:26:19 2012 +0100

dialog(k): more dialog info stored in db

- profiles the dialog belongs to are stored in xdata column, serialized
  as json document. A restart will restore them
- internal flags are stored and restored from database table, column
  iflags (for now the flag for sending BYE on dialog timeout)

---

 modules_k/dialog/Makefile         |    1 +
 modules_k/dialog/dlg_db_handler.c |   65 +++++++++++--
 modules_k/dialog/dlg_db_handler.h |    7 +-
 modules_k/dialog/dlg_handlers.c   |    4 +-
 modules_k/dialog/dlg_hash.h       |   11 ++-
 modules_k/dialog/dlg_profile.c    |  202 +++++++++++++++++++++++++++++++++++++
 modules_k/dialog/dlg_profile.h    |   20 ++++
 7 files changed, 294 insertions(+), 16 deletions(-)

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



More information about the sr-dev mailing list