/usr/share/kamailio/xhttp_pi/pi_framework-01 is in kamailio-xml-modules 4.2.0-2+deb8u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <!-- Declare all mods
Each mod must have:
- a 'mod_name'
- at least one 'cmd'
Each cmd must have:
- a 'cmd_name'
- a 'db_table_id'
- a 'cmd_type': c q o
Each cmd_type can have:
- 'clause_cols' used to specify one or multiple clauses
- 'query_cols' used for perfoming the actual query
- 'order_by_cols' used to specify sorting output
Each clause_cols will have 'col' elemnts.
Each col will have:
- a mandatory 'field' identifying the name of the field
- an optional 'value' identifing the given value
- an optional 'link_cmd' identifing the update cmd with prepared values
* only for query_cols for DB1_QUERY commands
- a mandatory 'operator' only for 'clause_cols'
The [clause|query|order_by]_cols can be:
- ov : optional with multiple 'col' with optional 'value'
- mv : mandatory with at least one 'col' with optional 'value'
- o : optional with at most one 'col' with no 'value'
- m : mandatory with at least one 'col' with no 'value'
/* col in cmd_type */
|command |clause_cols|query_cols|order_by_cols|
|DB1_QUERY | ov | m | o |
|DB1_INSERT | - | mv | - |
|DB1_DELETE | mv | - | - |
|DB1_UPDATE | ov | mv | - |
|DB1_REPLACE| - | mv | - |
/* clause_cols operator */
- '<' '<'
- '>' '>'
- '=' '='
- '<=' '<='
- '>=' '>='
- '!=' '!='
-->
|