[SR-Users] Load new module in Kamailio

2014-04-04 Thread Patrik Kristel
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
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio-Asterisk - route FROMASTERISK not found

2014-04-20 Thread Patrik Kristel
Hello all,

I'm trying to implement Kamailio 4.1 with Asterisk 12.1.0 regarging this
tutorial:

 http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb


And when I try to compile kamaili.cfg, I still got this error:
ERROR route FROMASTERISK not found

I have loaded all modules like in tutorial.

I tried to find some solve this issue, but with no result.
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Can Kamailio connect WebSocket user with SIP user?

2014-04-29 Thread Patrik Kristel
Hello,

I would like to ask, whether Kamailio does connect WebSocket user with SIP
user. Because, I'm trying to do it regarding this code:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob_plain;f=examples/websocket.cfg;hb=HEAD

and when i'using X-lite i've got
1, Trying
2, 415 Unsupported Media Type


and at Blink client I've got:
1, Trying
2, 488 Not Acceptable Here

as WebSocket client i'm using JsSIP.

Do you think I need to use media server(like Asterisk) to connect it?

Thank you for help!

Patrik
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] How can I implement Asterisk as Media server?

2014-04-30 Thread Patrik Kristel
Hello,

I have Kamailio with websocket module and I want to connect Asterisk as
media server. I'm trying to route calls from web JsSIP users to non-web
users  I would like to ask how can I implement it? Can i use
the rtpproxy-ng Module and here setup IP of Asterisk? Or is there any other
way to do it?

Thank you for your help!

Regards,

Patrik Kristel
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] /tmp/kamailio_fifo is missing

2014-05-07 Thread Patrik Kristel
Hello all,

I trying to debug Errorwith mi_fifo an d I found out that file
kamailio_fifo is missing from the directory /tmp, also I not found it in my
Debian by locate command. I have correctly following lines in my conf files:
in kamailio.cfg:
loadmodule mi_fifo.so
modparam(mi_fifo, fifo_name, /tmp/kamailio_fifo)

in kamctlrc:
OSER_FIFO=/tmp/kamailio_fifo


So, I dont know, it maybe my mysql crashed?


Thank you for you help!

Patrik
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] /tmp/kamailio_fifo is missing

2014-05-09 Thread Patrik Kristel
Hi,

thanks for reply, I resloved it by load Kamailio from backup. It was
probably something with mysql db, possibly was corrupted.

Patrik


On Thu, May 8, 2014 at 9:08 AM, Daniel-Constantin Mierla
mico...@gmail.comwrote:

  Hello,

 is kamailio running? You can check with:

 ps auxw | grep kamailio

 Locate command is using a database to search, you have to do updatedb
 before running it.

 Cheers,
 Daniel


 On 07/05/14 19:35, Patrik Kristel wrote:

 Hello all,

  I trying to debug Errorwith mi_fifo an d I found out that file
 kamailio_fifo is missing from the directory /tmp, also I not found it in my
 Debian by locate command. I have correctly following lines in my conf files:
 in kamailio.cfg:
 loadmodule mi_fifo.so
  modparam(mi_fifo, fifo_name, /tmp/kamailio_fifo)

  in kamctlrc:
 OSER_FIFO=/tmp/kamailio_fifo


  So, I dont know, it maybe my mysql crashed?


  Thank you for you help!

  Patrik


 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
 listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


 --
 Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda 
 - http://www.linkedin.com/in/miconda


 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users