[SR-Users] Load balancing traffic based on SIP URI

Federico Cabiddu federico.cabiddu at gmail.com
Fri Apr 1 14:46:58 CEST 2016


Hi,
if I understand correctly your problem is that the first INVITE for a
specific URI will go to a server and the conference will be instantiated
there. Then you must route all the INVITEs from the other participants to
the same server, is it right?
If this is the case why not use algorithm 3 in ds_select_ds (or
ds_select_domain) which does hashing over Request-URI?
(
http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.f.ds_select_dst
)

Regards,

Federico

On Fri, Apr 1, 2016 at 12:26 PM, NITESH BANSAL <nitesh.bansal at outlook.com>
wrote:

> Hello,
>
> I want to use Kamailio to load balance traffic across multiple asterisks.
> The problem is that my SIP traffic is related to conference, so if a SIP
> call
> for a particular URI is sent to an Asterisk instance, any subsequent calls
> for that
> SIP URI should be sent to the same Asterisk instance.
> Is there anyway to achieve this in Kamailio?
>
> Thanks,
> Nitesh
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160401/675acf2d/attachment.html>


More information about the sr-users mailing list