Changeset 168:6db078b955e3 in freeDiameter for doc
- Timestamp:
- Feb 2, 2010, 10:15:05 AM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/rt_default.conf.sample
r167 r168 45 45 # 46 46 # In the following definitions, "STR/REG" stands for: 47 # - a quoted string "some.peer" that will match exactly this string , or48 # - a bracket-quoted string ["some regex"] that will be interpreted as a POSIX regular expression, and attempt to match the string.47 # - a quoted string "some.peer" that will match exactly this string (case-insensitive), or 48 # - a bracket-quoted string ["some regex"] that will be interpreted as a POSIX extended regular expression (case-sensitive), and attempt to match the string. 49 49 # 50 50 # The RULE is specified as: … … 53 53 # The CRITERIA can be: 54 54 # * -> matches any message. 55 # oh="STR/REG" -> selects the message if the string or regular expression matches the message's Origin-Host 55 # oh="STR/REG" -> selects the message if the string or regular expression matches the message's Origin-Host AVP content 56 56 # or="STR/REG" -> idem with Origin-Realm 57 57 # dh="STR/REG" -> idem with Destination-Host … … 61 61 # 62 62 # The TARGET is also of a similar form: 63 # i="STR/REG"-> Will apply the score to this peer if its Diameter-Id is matched by the string or regular expression.64 # r ="STR/REG" -> Idem with the peer's advertized Diameter-Realm.63 # "STR/REG" -> Will apply the score to this peer if its Diameter-Id is matched by the string or regular expression. 64 # rlm="STR/REG" -> Idem with the peer's advertized Diameter-Realm. 65 65 # 66 66 # The SCORE is either numeric (positive or negative), or one of the following constants (see values in freeDiameter.h): … … 79 79 # 80 80 # Here are some examples: 81 # 1) Rule to add a default next-hop to all messages:82 # * : i="proxy.testbed.aaa" += DEFAULT ;81 # 1) Rule to add a default next-hop peer to all messages: 82 # * : "proxy.testbed.aaa" += DEFAULT ; 83 83 # 84 84 # 2) Rule to route messages for a given realm (realmA) through another realm (realmB): 85 # dr="realmA" : r ="realmB" += DEFAULT_REALM ;85 # dr="realmA" : rlm="realmB" += DEFAULT_REALM ; 86 86 # 87 87 # 3) Avoid sending messages with decorated NAI to the proxy A: 88 # un=[".+!.+@.+"] : i="proxy.A" += NO_DELIVERY ;88 # un=[".+!.+@.+"] : "proxy.A" += NO_DELIVERY ; 89 89 90 90
Note: See TracChangeset
for help on using the changeset viewer.