[OpenSIPS-Devel] [OpenSIPS/opensips] 4feff3: Added support for extra headers per body part.
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Mar 20 07:43:51 EDT 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 4feff3ea6de8b961fdf5f52fd19bdd1b10432164
https://github.com/OpenSIPS/opensips/commit/4feff3ea6de8b961fdf5f52fd19bdd1b10432164
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-03-20 (Tue, 20 Mar 2018)
Changed paths:
M modules/sip_i/README
M modules/sip_i/doc/sip_i_admin.xml
M modules/sip_i/sip_i.c
M modules/sip_i/sip_i.h
M modules/sipmsgops/README
M modules/sipmsgops/doc/sipmsgops_admin.xml
M modules/sipmsgops/sipmsgops.c
M msg_translator.c
M parser/parse_body.c
M parser/parse_body.h
Log Message:
-----------
Added support for extra headers per body part.
When adding a body part (directly via sipmsgops module or indirectly via sip_i module), you can specify an optional list of SIP headers (fully formated, including the header terminator) to be pushed into the part next to the Content-Type header.
The specific changes:
* in sipmsgops module, the add_body_part() takes a third optional parameter for extra headers to be pushed into the part;
* in sip_i module, the add_isup_part() funtion takes a second optional parameter for defining a custom set of extra headers;
* in sip_i_module, a new module parameter "default_part_headers" can be used to define the default set of headers to be automatically pushed into the ISUP parts.
More information about the Devel
mailing list