active-charging service xheader-format insert

This command inserts xheader field.

Privilege Level

Security Administrator, Administrator

Syntax

insert xheader_field_name 

xheader_field_name

Specify the Xheader field name.

Must be a string.

string-constant xheader_field_value

Specify the constant string value of xheader field to be inserted.

Must be a string.

delete-existing

Enables detection of spoofing in xheader fields, valid for Request packet.

Usage Guidelines

Use this command to configure the x-header fields to be inserted in HTTP/WSP GET and POST request packets. The x-headers would be inserted at the end of the HTTP/WSP header. This CLI command may be used up to 10 times. There is no control over the order of the fields that are to be inserted. Any of the indicated ruledef variables may be inserted using the variable option, or a static string may be inserted using the string-constant option. Operators may insert x-headers in some HTTP/WSP packets, for which some rules will be configured. The charging-action associated with these rules will contain the list of x-headers to be inserted in the packets.

You can configure a maximum of 10 elements with this command.

Example

The following command configures an x-header field named test12 with a constant string value of testing to be inserted in HTTP/WSP GET and POST request packets:
insert test12 string-constant testing