Action is an instruction that adapts identified messages to the required format once the message is identified.
The Action construct optionally uses construct variables to copy values from one part of the message and use them in other parts of the message.
The regular expression-based adaptation module uses the Action construct.
Action can be:
The Add action adds a header or an attachment body to the message. For example, you can use the Add action to add a route header to the message.
The Modify action modifies a part of the request-line, response-line, header, or an attachment body in the message. For example, you can modify the display name in the Name field of the Contact header.
The Delete action deletes the identified instances of the header or attachment body. For example, you can remove the specific attachments in outgoing messages.
A new Log action can be added to the regular-expression adaptations. This action will not modify a SIP message, but will instead log an event indicating that conditions were met for the action to execute.