[sr-dev] [kamailio/kamailio] lcr: export rule_id_avp with matching rule id (#1546)

Carlos Cruz Luengo notifications at github.com
Fri May 25 19:04:41 CEST 2018


#### 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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180525/45b02ba4/attachment-0001.html>


More information about the sr-dev mailing list