Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-15 Thread Alexandru Covalschi
thanks, will try that 2015-06-15 14:07 GMT+03:00 Juha Heinanen : > Alexandru Covalschi writes: > > > > sorry, i thought you use registrar/usrloc modules > > Well, I do use them - so if you could explain in which table does > Kamailio > > write the user's proto and which flags I can use - I'll mak

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-15 Thread Juha Heinanen
Alexandru Covalschi writes: > > sorry, i thought you use registrar/usrloc modules > Well, I do use them - so if you could explain in which table does Kamailio > write the user's proto and which flags I can use - I'll make a test to see > which scheme is preferable :) before calling save() functio

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-15 Thread Murugan Pandian
Let me try this script ,Thanks On Mon, Jun 15, 2015 at 1:27 PM, Alexandru Covalschi <568...@gmail.com> wrote: > > sorry, i thought you use registrar/usrloc modules > Well, I do use them - so if you could explain in which table does Kamailio > write the user's proto and which flags I can use - I'l

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-15 Thread Alexandru Covalschi
> sorry, i thought you use registrar/usrloc modules Well, I do use them - so if you could explain in which table does Kamailio write the user's proto and which flags I can use - I'll make a test to see which scheme is preferable :) So, about script: 1.) Write to redis Please read http://kamailio.

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-14 Thread Juha Heinanen
Alexandru Covalschi writes: > > you don't need a database for that. you can use location table flags > Can you please describe how to do that? I chosen redis because I need to > figure out the proto of the leg_b (called) user pretty fast - mysql is much > slower. sorry, i thought you use registr

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-14 Thread Murugan Pandian
Ya sure Alexandru monday ok for me(Waiting for your Script :) ) Thanks man On Sun, Jun 14, 2015 at 11:11 PM, Alexandru Covalschi <568...@gmail.com> wrote: > > You have any route logic (script) for bellow operation > Well, I can, if you can wait till Monday. > > > you don't need a database for th

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-14 Thread Alexandru Covalschi
> You have any route logic (script) for bellow operation Well, I can, if you can wait till Monday. > you don't need a database for that. you can use location table flags Can you please describe how to do that? I chosen redis because I need to figure out the proto of the leg_b (called) user prett

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-14 Thread Juha Heinanen
Murugan Pandian writes: >1. On each registration user's proto is stored in redis database you don't need a database for that. you can use location table flags. > 2. When rtpengine is being called, Kamailio checks user's proto > a) If user is WS and is incoming call, dispatch him to medi

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-14 Thread Murugan Pandian
Thanks ALexandru You have any route logic (script) for bellow operation 1. On each registration user's proto is stored in redis database 2. When rtpengine is being called, Kamailio checks user's proto a) If user is WS and is incoming call, dispatch him to media relay with RTP/AVP flag

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-14 Thread Alexandru Covalschi
Hi, sorry, my previus answer wasn't clear enough - was writing it in a very sleepy mood :) No, kamailio acts as a full proxy server for websocket and SIP. P2P is for caruzdias's configuration from github. You can try following this http://nil.uniza.sk/sip/kamailio/configuring-kamailio-4x-websocket

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-13 Thread Murugan Pandian
HI Alexandru, i try to connect like this !--Freeswitch(IVR,Callcenter,dialplan,sip auth) Browser(chrome,firefox,opera)--(WS)--->Kamailio--->! !--Freeswitch(IVR,Callcenter,dialplan,sip auth) i understand Kamailio o

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-13 Thread Alexandru Covalschi
Sorry, a mistake: on outgoing webrtc it MUST have RTP/SAVP or RTP/SAVPF 2015-06-13 21:54 GMT+03:00 Alexandru Covalschi <568...@gmail.com>: > Well, I performed that by creating a media relay consisting of 2 > freeswitches and using rtpengine. > > You just need to handle WebRTC by kamailio using k

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-13 Thread Alexandru Covalschi
Well, I performed that by creating a media relay consisting of 2 freeswitches and using rtpengine. You just need to handle WebRTC by kamailio using kamailio websocket module: http://kamailio.org/docs/modules/4.3.x/modules/websocket.html caruzdias-es configuration helped me a lot in understanding h

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-13 Thread Murugan Pandian
it's posible dispatching websocket request? I am try to connect browser(WebRTC) to sip-phone and vice versa,How i can achieve more concurrent call(more then 1000 call) On Sat, Jun 13, 2015 at 8:49 PM, Alex Balashov wrote: > That question is difficult to answer without some elaboration on your p

Re: [SR-Users] SIP-over-Websocket Load Balancing

2015-06-13 Thread Alex Balashov
That question is difficult to answer without some elaboration on your part as to what you want to achieve.