Module: sems Branch: master Commit: c21947c8f4f6c7f30eb8c3c1778d00fc2e181a7e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=c21947c8f4f6c7f30eb8c3c1778d00fc2e181a7e
Author: Juha Heinanen <[email protected]> Committer: Juha Heinanen <[email protected]> Date: Mon Sep 30 19:38:48 2013 +0300 doc: added example on selecting active profile based on R-URI param --- doc/Readme.sbc.txt | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/doc/Readme.sbc.txt b/doc/Readme.sbc.txt index c3c623a..c4af5e2 100644 --- a/doc/Readme.sbc.txt +++ b/doc/Readme.sbc.txt @@ -43,6 +43,8 @@ In this list a profile may be selected o depending on "profile" option in P-App-Param header (active_profile=$(paramhdr)) + o depending on "profile" parameter of Request URI + o using any replacement pattern (see below), especially regex maps $M(val=>map) By using the latter options, the SBC profile for the call can also be selected in @@ -50,7 +52,7 @@ the proxy. Examples: active_profile=auth_b2b - active_profile=$(paramhdr),refuse + active_profile=$(paramhdr),$rP(profile),refuse active_profile=$M($si=>ipmap),$(P-SBCProfile),refuse Example: _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
