[sr-dev] [kamailio] Added modparam id_in_avp for carrierroute (#221)

Thomas Boros notifications at github.com
Wed Jun 24 20:48:58 CEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150624/0af79e00/attachment-0001.html>


More information about the sr-dev mailing list