We have 2M lines in carrierroute, so we often need to get back the ID of the line from the
DB from carrierroute.
This commit creates a new modparam "id_in_avp" for the module carrierroute which
may be 0 - 2
0 - no ID, only the description is saved in the avp
1 - ID and descrptiotion is saved in the AVP
2 - Only ID is saved in the AVP.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/221
-- Commit Summary --
* Added modparam id_in_avp for carrierroute so the ID may be returned to the AVP
variable for easier debugging
-- File Changes --
M modules/carrierroute/carrierroute.c (7)
M modules/carrierroute/cr_db.c (61)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/221.patch
https://github.com/kamailio/kamailio/pull/221.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/221