[sr-dev] git:master: dialog: add option to increment cseq upon local authentication to next hop

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 5 15:40:39 CEST 2014


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Sep  5 15:11:57 2014 +0200

dialog: add option to increment cseq upon local authentication to next hop

- feature has to be enabled via module parameter track_cseq_updates
- it does it only for downstream direction (requests from caller and
  callee, as it is the typical use case of calling via a provider, after
  authenticating the caller locally, provider asks for another 'trunk'
  authentication)
- diff of cseq value is stored in dialog var named 'cseq_diff',
  therefore be sure it is not overwritten from config

---

 modules/dialog/dialog.c       |    6 +
 modules/dialog/dlg_cseq.c     |  324 +++++++++++++++++++++++++++++++++++++++++
 modules/dialog/dlg_cseq.h     |   30 ++++
 modules/dialog/dlg_handlers.c |   41 +++++-
 modules/dialog/dlg_handlers.h |    6 +
 modules/dialog/dlg_hash.c     |    2 +-
 modules/dialog/dlg_hash.h     |    3 +-
 7 files changed, 404 insertions(+), 8 deletions(-)

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



More information about the sr-dev mailing list