Introduce a versatile behavior of the rtpengine module
in terms of ability to parse flags on the daemon side,
instead of module. Previous behavior is also kept.
General points:
- rtpengine daemon supports rtpp flags processing from now on
- module still provides in the bencode (when calling daemon):
call-id, to/from tags, viabranch (so identification call data)
- even though the module's interface is updated,
a backwards compatibility is given, so no obligatory changes
from kamailio script users required
- each rtpengine module's function which takes rtpp flags
as a parameter, now is able to get a third parameter `viabranch`,
which is used to detect, which approach to use (older/newer):
- without the viabranch - older one used
- with the viabrnach - new one used, so rtpp flags parsing on
the daemoin side
The goal is to deprecate processing of option flags on the module
side and only parse them on the daemon side.
This brings a list of benifits, such as:
- no need to keep in sync daemon and module (for specific flags)
- support of different rtpp flag string formats (raw), so that,
for example, kamailio script users can use plain text or
bencode dictionary like format
Change-Id: I2e7874a6e425d0f25556a45645fa9417cc9f459d
This places the file definitions at the top, and makes sure these long
license texts are shared by multiple File stanzas.
For file specific licenses that are not common we leave them as is in
their File stanzas.
Change-Id: Iddc350c7543ec01c58c2d0b65b6a82a0512df6bd
The location of the license on Debian systems is not part of the
license, nor the license itself. Move it into a Comment to avoid
confusion.
Change-Id: I97685edfc05cb813058ebba25d7ad1e5eb986ab4
When invoking lcr.get_statistics and lcr.stats from kamcmd,
print gateway "flags" field as "gw_id" instead of gw_id because "flags" reflects
what it is reported in webui.
Change-Id: I880d251657c3b0cb87327cb55ed4ce5e28ce027b
For MIME multipart SDPs, the embedded MIME section can contain a
Content-Length header. Update this field if preset after rewriting the
SDP.
Change-Id: If4d8027e79b6976e2e0d30f27868416a1774f2bd