#### Pre-Submission Checklist - [X] Commit message has the format required by CONTRIBUTING guide - [X] Commits are split per component (core, individual modules, libs, utils, ...) - [X] Each component has a single commit (if not, squash them into one commit) - [X] No commits to README files for modules (changes must be done to docbook files in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change - [ ] Small bug fix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds new functionality) - [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist: - [X] PR should be backported to stable branches - [X] Tested changes locally - [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
LCR module exports information about selected gateways in flags and tag AVPs if you define corresponding modparams (flags_avp and tag_avp).
This PR exports a similar optional AVP that stores the id of the rule that selected each gateway. For that, a new modparam is added (rule_id_avp).
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1546
-- Commit Summary --
* lcr: export rule_id_avp with matching rule id
-- File Changes --
M src/modules/lcr/doc/lcr_admin.xml (34) M src/modules/lcr/lcr_mod.c (62) M src/modules/lcr/lcr_mod.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1546.patch https://github.com/kamailio/kamailio/pull/1546.diff
README has:
In the same way, rule_id_avp, if defined, contains the id of the rule that selected each gateway.
It should read "selected the gateway".
-- Juha
Already changed, thank you.
Merged #1546.