[sr-dev] git:master: tm: added t_is_set("target") function

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 29 12:27:20 CEST 2012


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Jun 29 12:25:24 2012 +0200

tm: added t_is_set("target") function

- returns true if the attribute specified by the target parameter is set
  for current transaction (e.g., failure_route, branch_route,
  onreply_route)
- on_negative was replaced with on_failure internally to be consistent
  with config file naming

---

 modules/tm/README            |   20 +++++++++++++
 modules/tm/doc/functions.xml |   35 ++++++++++++++++++++++
 modules/tm/h_table.h         |    2 +-
 modules/tm/t_fwd.c           |    2 +-
 modules/tm/t_lookup.c        |    4 +-
 modules/tm/t_reply.c         |   32 ++++++++++----------
 modules/tm/t_reply.h         |    6 ++--
 modules/tm/timer.c           |    2 +-
 modules/tm/tm.c              |   65 ++++++++++++++++++++++++++++++++++++++----
 modules/tm/tm_load.c         |    2 +-
 10 files changed, 139 insertions(+), 31 deletions(-)

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



More information about the sr-dev mailing list