Pre-Submission Checklist

Type Of Change

Checklist:

Description

Previously, to remove a parameter from a header it was needed to create a complex method on the configuration file for each header/parameter. This modification moves this complexity to the 'pv_headers' module.

Two new functions:

Both functions take as parameters the name of the header and the name of the parameter.

It returns '-1' if the combination header/parameter:

Examples (proxy configuration):

if (pvh_header_param_exists("Supported", "100rel"))
{
// "100rel" is present on the "Supported" header
}

if (pvh_remove_header_param("Supported", "100rel"))
{
// "100rel" removed from header "Supported"
}


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3070

Commit Summary

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3070@github.com>