Hi Surya,

Not sure if you can use a HTTP LB for SIP.

Nevertheless, OpenSIPS (being a multi-purpose SIP server) can act both as a Presence Server/Agent and as a Load Balancer.

You can have a from OpenSIPS doing dispatching to a set of OpenSIPS acting as Presence Servers. As you have full control over the LB logic, you actually can do more than LB, you can actually do kind of clustering of presence entities, so all traffic relevant to a presence entity (all its PUBLISHs and all SUBSCRIBEs to it) will hit the same presence server. So there will be no need to actually share anything between the presence servers.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 29.08.2015 03:18, surya wrote:
surya wrote
Hi Bogdan,

Thanks for the clarification on the columns but I doubt I understood
correctly. Does local_contact goes into contact header and which header
uses socket_info? My doubt is because I see same address in both columns.
May be I can look more into the code. But still, as you mentioned these
values are not retrieved from the tables so these ones are not used as in
table. Does this mean values from the current server processing the
requests are used, meaning it's IP.

We haven't yet done the deployment of multi presence but it will be a load
balancer in front which will disperse the requests to another server on
some threshold load on first server. Is there any guideline about how to
use opensips in HA that can be helpful.


Thanks,
Surya
Regarding multi presenence... I was thinking about HTTP load balancing but
frankly speaking I do not yet know about sip load balancing. I still need to
look at that side but surely we are going to do that.
Can we use opensips load balancer for presence server?



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Use-of-socket-info-and-local-contact-columns-in-the-active-watcher-table-tp7598639p7598757.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to