Module: kamailio
Branch: master
Commit: 955455aad0d078ec65458c8ca9fae6d91f00d4b9
URL:
https://github.com/kamailio/kamailio/commit/955455aad0d078ec65458c8ca9fae6d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-02-02T23:35:55+01:00
htable: allow specifying column names per hash table
- at least two columns must be specified, first is the one corresponding
to key_name
- the values of following columns are concatenated with a comma delimiter
- columns can be specified with cols attribute in htable definition and
they must be enclosed in quotes in order to be a valid sip parameter
value and be separated by comma
modparam("htable", "htable",
"a=>size=4;dbtable=a;cols='key_name,val1,val2,val3'")
---
Modified: modules/htable/ht_api.c
Modified: modules/htable/ht_api.h
Modified: modules/htable/ht_db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/955455aad0d078ec65458c8ca9fae6d…
Patch:
https://github.com/kamailio/kamailio/commit/955455aad0d078ec65458c8ca9fae6d…