Difference between revisions of "M4 Header Transformation Rules Groups"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 42: | Line 42: | ||
= User-Agent header = | = User-Agent header = | ||
User-Agent header can be changed in the system configuration file. Please contact support to change this header. | [[M4_User-Agent|User-Agent]] header can be changed in the system configuration file. Please contact support to change this header. | ||
<br><br> | <br><br> | ||
= See also = | = See also = | ||
* [[M4 Regexp Examples]] | * [[M4 Regexp Examples]] |
Revision as of 10:08, 30 January 2024
About
Header Transformation Rules are used to modify or add headers.
Header Transformation Rules are available in the Routing section.
Create
Press ADD NEW to create Header Transformation Rules Group.
The image below shows which headers are possible to modify.
Depending on the header, it is possible to:
- Forward without changes - no changes to headers.
- Transform and forward - modify the current header.
- Transform existing, generate if missing - modify the current header if it exists. If it does not exist, a header will be generated.
- Overwrite - drop the original header if it exists and create a new one.
- Drop - removes the header.
It is also possible to add a custom header to the empty header field.
Enable
When rules are created, they should be enabled at Termination Point settings: Termination Point Signaling Settings
Format
Kamailio Transformations are used to modify headers. More information here
User-Agent header
User-Agent header can be changed in the system configuration file. Please contact support to change this header.