[sr-dev] git:master: core: remove syn_branch functionality for calculating Via branch parameter

Henning Westerholt hw at kamailio.org
Fri May 24 15:50:29 CEST 2013


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

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date:   Fri May 24 15:38:03 2013 +0200

core: remove syn_branch functionality for calculating Via branch parameter

* remove syn_branch parameter and functionality from core and tm module for
  calculating the Via branch parameter
* reported from Richard Brady, rnbrady at gmail dot com to sr-dev
* kamailio is not standard compliant with this setting enabled (RFC 3261,
  17.2.3 and 16.11) for stateless forwarding of replies
* the performance reason that motivated this functionality are today not
  valid anymore, even embedded systems have more than enough power to
  calculate MD5 and other modules uses more expensive operations anyway
* adapt a bunch of example and test configuration that used this parameter,
  it has been also removed from the core cookbook wiki

---

 cfg.lex                     |    2 -
 cfg.y                       |    3 --
 examples/pcscf/kamailio.cfg |    1 -
 examples/websocket.cfg      |    2 -
 forward.c                   |   32 +++++++++----------------
 globals.h                   |    1 -
 main.c                      |    2 -
 modules/tm/h_table.c        |   45 +++++++++++++++++-------------------
 modules/tm/h_table.h        |    4 +-
 modules/tm/t_lookup.c       |   53 +++++++++---------------------------------
 modules/tm/t_msgbuilder.c   |    6 +----
 test/sf.cfg                 |    1 -
 test/stress.cfg             |    1 -
 test/tcp.cfg                |    1 -
 14 files changed, 48 insertions(+), 106 deletions(-)

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



More information about the sr-dev mailing list