Module: sems Branch: master Commit: 8a9bca719acc2cf12d810f065b4d8a445d5c7f45 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=8a9bca719acc2cf12d810f065b4d8a445d5c7f45
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Tue Jan 11 01:09:18 2011 +0100 sbc: regex maps, flexible active profile selection - regex maps are files with regex=>value entries which, once loaded, can be used with $M(key=>mapname) pattern replacement - it is now possible to use replacements in active_profile, and also a list of profiles can be specified here - the first matching will be used --- apps/sbc/ParamReplacer.cpp | 49 ++++++++++ apps/sbc/RegexMapper.cpp | 65 +++++++++++++ apps/sbc/RegexMapper.h | 55 +++++++++++ apps/sbc/SBC.cpp | 137 ++++++++++++++++++++++----- apps/sbc/SBC.h | 13 ++- apps/sbc/etc/sbc.conf | 12 ++- apps/sbc/etc/src_ipmap.conf | 7 ++ apps/sbc/tools/sems-sbc-get-regex-map-names | 7 ++ apps/sbc/tools/sems-sbc-set-regex-map | 13 +++ core/AmUtils.cpp | 22 ++++- core/AmUtils.h | 3 + doc/Readme.sbc.txt | 75 +++++++++++++-- 12 files changed, 420 insertions(+), 38 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commitdiff;h=8a9bca719acc2cf12d810f065b4d8a445d5c7f45 _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
