devel:config-engines
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
devel:config-engines [2017/01/10 21:41] – miconda | devel:config-engines [2017/11/20 13:31] (current) – miconda | ||
---|---|---|---|
Line 412: | Line 412: | ||
Some examples of configuration files using the native, Lua or Python interpreter are available in Kamailio source tree inside the **examples/ | Some examples of configuration files using the native, Lua or Python interpreter are available in Kamailio source tree inside the **examples/ | ||
- | * https:// | + | * https:// |
The configuration file to start with is **kamailio-basic-kemi.cfg**: | The configuration file to start with is **kamailio-basic-kemi.cfg**: | ||
- | * https:// | + | * https:// |
You can either rename it to kamailio.cfg or use **-f** command line option to point to it. | You can either rename it to kamailio.cfg or use **-f** command line option to point to it. | ||
Line 422: | Line 422: | ||
If started without any change and no define in command line, then Kamailio will continue to load the routing blocks in the native language, stored in the file **kamailio-basic-kemi-native.cfg**: | If started without any change and no define in command line, then Kamailio will continue to load the routing blocks in the native language, stored in the file **kamailio-basic-kemi-native.cfg**: | ||
- | * https:// | + | * https:// |
If you define WITH_CFGLUA inside **kamailio-basic-kemi.cfg** or provide the command line parameter **-A WITH_CFGLUA**, | If you define WITH_CFGLUA inside **kamailio-basic-kemi.cfg** or provide the command line parameter **-A WITH_CFGLUA**, | ||
- | * https:// | + | * https:// |
If you define WITH_CFGJSDT inside **kamailio-basic-kemi.cfg** or provide the command line parameter **-A WITH_CFGJSDT**, | If you define WITH_CFGJSDT inside **kamailio-basic-kemi.cfg** or provide the command line parameter **-A WITH_CFGJSDT**, | ||
- | * https:// | + | * https:// |
If you define WITH_CFGPYTHON inside **kamailio-basic-kemi.cfg** or provide the command line parameter **-A WITH_CFGPYTHON**, | If you define WITH_CFGPYTHON inside **kamailio-basic-kemi.cfg** or provide the command line parameter **-A WITH_CFGPYTHON**, | ||
- | * https:// | + | * https:// |
Combining **kamailio-basic-kemi.cfg** with **kamailio-basic-kemi-native.cfg** results more or less in the **kamailio-basic.cfg** from the **etc/** folder in Kamailio source tree. The Lua, JavaScript and Python scripts are offering the same features, but written in another language. | Combining **kamailio-basic-kemi.cfg** with **kamailio-basic-kemi-native.cfg** results more or less in the **kamailio-basic.cfg** from the **etc/** folder in Kamailio source tree. The Lua, JavaScript and Python scripts are offering the same features, but written in another language. |
devel/config-engines.1484084473.txt.gz · Last modified: 2017/01/10 21:41 by miconda