Module: kamailio
Branch: master
Commit: 27e3ecb60702749837f2dc59d694933b12e3a7bd
URL:
https://github.com/kamailio/kamailio/commit/27e3ecb60702749837f2dc59d694933…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-02-02T00:04:57+01:00
mtree: allow specifying column names per tree
- at least two columns must be specified, first is the one corresponding
to tprefix
- if more than two, then the values of those columns are concatenated
with a comma delimiter
- columns can be specified with cols attribute in mtree definition and
they must be enclosed in quotes in order to be a valid sip parameter
value and be separated by comma
modparam("mtree", "mtree",
"name=mt;dbtable=mtree;cols='tprefix,tvalue1,tvalue2'")
---
Modified: modules/mtree/mtree.c
Modified: modules/mtree/mtree.h
Modified: modules/mtree/mtree_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/27e3ecb60702749837f2dc59d694933…
Patch:
https://github.com/kamailio/kamailio/commit/27e3ecb60702749837f2dc59d694933…