EVAPI
Debugging
Issue 1 0(83950) ERROR:
cd /kamailio/src/modules/evapi
make
once the evapi.so file is build then copy to module mpath location for kamilio modules
cp evapi.so /usr/local/lib64/kamailio/modules/
Issue 2 evapi_dispatch.c:34:10: fatal error: ‘ev.h’ file not found Solution Install libev
brew install libev
or for ubuntu systems
apt-get install libev-dev
Issue 3 could not find module
Issue 4 0(86149) ERROR:
Issue 5 Module version mismtach with core like
Loading modules under config path: /usr/local/lib64/kamailio/modules/
0(86503) ERROR: <core> [core/sr_module.c:353]: version_control(): module version mismatch for /usr/local/lib64/kamailio/modules/evapi.so; core: kamailio 5.4.0-dev3 (x86_64/darwin); module: kamailio 5.4.0-dev4 (x86_64/darwin)
Solution It is more feasible to update the modules than to update the core , hence goto the git location for modules and checkout the correct branch . In this case
cd kamailio
git checkout 5.3.0
sudo make all
and then rebuild the so file as decsribed in Issue 1
Isue6 0(16513) ERROR:
brew install jansson
Issue7 TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: null aolution
References
- http://kb.asipto.com/kamailio:k43-async-sip-routing-nodejs
- https://packages.ubuntu.com/ for Ubuntu Packages