Difference between revisions of "M4 Header Transformation Rules Groups"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
=About=
Header Transformation Rules are used to modify or add headers.
'''Header Transformation Rules''' are available in the '''Routing''' section.
'''Header Transformation Rules''' are available in the '''Routing''' section.


[[File:M4_routing_header_transformation_rules.png]]
[[File:M4_routing_header_transformation_rules.png]]


=Create=
Press '''ADD NEW''' to create '''Header Transformation Rules Group'''.
Press '''ADD NEW''' to create '''Header Transformation Rules Group'''.


[[File:M4_header_transformation_rules_add_new.png]]
[[File:M4_header_transformation_rules_add_new.png]]


The image below shows which headers are possible to modify.
The image below shows which headers are possible to modify.  
 
<br>
[[File:M4_header_transformation_rules.png]]
[[File:M4_header_transformation_rules.png]]


Line 21: Line 26:
It is also possible to add a custom header to the empty header field.
It is also possible to add a custom header to the empty header field.


Regexp Transformation is used to modify headers.
=Enable=
 
When rules are created, they should be enabled at Termination Point settings: Termination Point Signaling Settings
<br>
[[File:Termination point rules settings.png]]
 
=Format=
 
Kamailio Transformations are used to modify headers. More information [[M4_Kamailio_Transformations | here]]


<br><br>
<br><br>

Revision as of 09:30, 30 November 2023

About

Header Transformation Rules are used to modify or add headers.

Header Transformation Rules are available in the Routing section.

M4 routing header transformation rules.png

Create

Press ADD NEW to create Header Transformation Rules Group.

M4 header transformation rules add new.png

The image below shows which headers are possible to modify.
M4 header transformation rules.png

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
Termination point rules settings.png

Format

Kamailio Transformations are used to modify headers. More information here



See also