devel:kamailio-5.0-design
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:kamailio-5.0-design [2016/02/28 10:50] – miconda | devel:kamailio-5.0-design [2016/05/03 16:33] (current) – miconda | ||
---|---|---|---|
Line 15: | Line 15: | ||
Initial content for this document is listing also ideas popped up during discussions at Fosdem 2016 and Kamailio Development Workshop - among participants: | Initial content for this document is listing also ideas popped up during discussions at Fosdem 2016 and Kamailio Development Workshop - among participants: | ||
- | ===== Configuration File ===== | + | ===== Configuration File Interpreters |
Goals: | Goals: | ||
Line 24: | Line 24: | ||
* reloading routing rules at runtime | * reloading routing rules at runtime | ||
- | To achieve the above, following sub-sections collects the proposals for configuration file language. | + | Ongoing implementation that enables writing routing blocks in Lua and Python as alternative to native |
+ | * [[devel: | ||
- | ==== Exporting Functions To Embedded Interpreters ==== | ||
- | * define and implement an export interface from modules to embedded interpreters to automatically add new functions to embedded interpreters, | + | ===== Source Tree Structure ===== |
- | ==== Routing Logic In Embedded Interpreters Scripting ==== | + | Goals: |
- | * writing | + | * group files per components to be easier to spot their role, especially |
- | * eventually setting | + | |
- | * routing logic in an embedded language should allow reloading at runtime without kamailio restart | + | |
- | ===== Source | + | ==== Reorganizing |
It was discussed in the past: | It was discussed in the past: | ||
* source code files should be relocated to have a better structure for include headers, core files, modules and internal libraries as well as utilities | * source code files should be relocated to have a better structure for include headers, core files, modules and internal libraries as well as utilities | ||
+ | |||
+ | Two models proposed: | ||
+ | |||
+ | * a) only move core files in a new ' | ||
+ | * b) move all source code files for Kamailio in a new ' | ||
===== Build System ===== | ===== Build System ===== | ||
- | Revising | + | Goals: |
+ | |||
+ | * revising | ||
+ | |||
+ | ==== Reviewing Alternative Build Systems ==== | ||
Alternatives to analyze: | Alternatives to analyze: | ||
Line 62: | Line 69: | ||
Reviving the exiting unit testing or selecting another framework. | Reviving the exiting unit testing or selecting another framework. | ||
+ | |||
+ | Available frameworks: | ||
+ | |||
+ | * http:// | ||
==== Minimal Unit Tests ==== | ==== Minimal Unit Tests ==== |
devel/kamailio-5.0-design.1456656634.txt.gz · Last modified: 2016/02/28 10:50 by miconda