Mercurial > hg > freeDiameter
comparison doc/rt_rewrite.conf.sample @ 1341:b0401251d8c0
rt_rewrite: new extension
This extension allows rewriting messages: putting data from one AVP
into another, or removing AVPs altogether.
Written for Effortel Technologies SA and published with their consent.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Tue, 09 Apr 2019 16:01:29 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1340:daf61e573fee | 1341:b0401251d8c0 |
---|---|
1 # This file contains information for configuring the rt_rewrite extension | |
2 # To find how to have freeDiameter load this extension, please refer to the freeDiameter documentation. | |
3 # | |
4 # The rt_rewrite extension allows moving data from one AVP into another one, or dropping AVPs altogether. | |
5 | |
6 # This extension supports configuration reload at runtime. Send | |
7 # signal SIGUSR1 to the process to cause the process to reload its | |
8 # config. | |
9 | |
10 # The config consists of MAP for AVP pairs of source/target, or DROP for a source. | |
11 # | |
12 # MAP = "Source-AVP" > "Destination-AVP"; | |
13 # | |
14 # It is possible to specify AVPs below GROUPED AVPs with the by separating AVPs with a colon (':'): | |
15 # MAP = "Grouped-AVP1" : "Octetstring-AVP1" > "Grouped-AVP2" : "Grouped-AVP3" : "Octetstring-AVP2"; | |
16 # Intermediate destination grouped AVPs will be created automatically. | |
17 # | |
18 # NOTE: you can not move grouped AVPs as a unit, you have to move each separate AVP. | |
19 # i.e., this will not work: | |
20 # MAP = "Grouped-AVP1" > "Grouped-AVP2"; | |
21 # | |
22 # For removing AVPs, use DROP: | |
23 # DROP = "Grouped-AVP1" : "Octetstring-AVP1"; |