[OpenSIPS-Users] loadbalancer module and SUBSCRIBE

Vlad Paiu vladpaiu at opensips.org
Mon Jan 27 17:43:11 CET 2014


Hello,

The load_balancer module works on top of the dialog module, which only 
supports INVITE based dialogs - thus you'll have to use the dispatcher 
module for handling the distributing of all methods other than INVITE.


Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 27.01.2014 17:33, Bobby Smith wrote:
> Any ideas?  What are some ways people load balance presence to their 
> application servers? (when opensips is just a proxy, and without using 
> any of the presence module support)
>
> Thanks much,
>
>
>
> On Wed, Jan 22, 2014 at 6:06 PM, Bobby Smith <bobby.smith at gmail.com 
> <mailto:bobby.smith at gmail.com>> wrote:
>
>     Greetings list,
>
>     I'd like to be able to load balance subscribes across the same set
>     of servers I'm using to handle calls with the loadbalancer module.
>      I think I've read somewhere (I haven't looked at the code yet)
>     that the loadbalancer module only handles dialog creating INVITEs,
>     and not dialog creating SUBSCRIBES (for sip presence).
>
>     How do others achieve this?  Through the dispatcher module?  It
>     would be really nice to reuse the current mechanism we have,
>     because I want dialog load balancing behavior to be consistent
>     over the pool of servers we have servicing both functionalies for.
>
>     I think a lot of the other modules have problems with SUBSCRIBE as
>     well.  An initial dialog-creating subscribe (for long running
>     subscriptions) doesn't create a dialog when create_dialog() is
>     called from the routing script, which seems to cause some
>     re-SUBSCRIBE messages later on to have issues processing 200 OK's
>     back (not getting to the right place).  So are SUBSCRIBES not
>     supported at all from within the dialog module infrastructure?
>
>     Thanks,
>
>     Bobby
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140127/fcef9d95/attachment.htm>


More information about the Users mailing list