Hello
Get the compiled module from
kamailio-websocket-modules<http://pkgs.org/debian-sid/debian-main-i386/k…
(apt-get install kamailio-websocket-modules)
Or make a build from sources (in src dir: make_and_install compile kwebsocket) but there
are some required libraries (see documentation of Websocket module)
And put the websocket.so file in your /usr/local/lib64/Kamailio/modules directory
Olivier
De : sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
De la part de Patrik Kristel
Envoyé : jeudi 3 avril 2014 19:21
À : sr-users(a)lists.sip-router.org
Objet : [SR-Users] Load new module in Kamailio
Hello all,
I would like to ask, how can I load new module in Kamailio 4.1.2? Actually, I have an
issue, when I tried to compile my kamaiio.cfg I've got error:
root@kamailio:/usr/local/# kamailio -c kamailio.cfg
loading modules under /usr/local/lib64/kamailio/modules/
0(25392) ERROR: <core> [sr_module.c:587]: load_module(): ERROR: load_module: could
not find module <websocket> in </usr/local/lib64/kamailio/modules/>
0(25392) : <core> [cfg.y:3408]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 323, column 12-25: failed to load module
0(25392) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command
ws_handle_handshake
0(25392) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 1083, column 27: unknown command, missing
loadmodule?
ERROR: bad config file (2 errors)
when I look physically to the /usr/local/lib64/kamailio/modules/ there is some modules,
but websocket.so is missing. So, how can I get and load module in Kamailio?
Thank you for help!
BR,
Patrik Kristel