<div dir="ltr">Great. You can share with us how did you did it :)<div><br></div><div>Others would thank you also</div><div><br></div><div>BR</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-04 15:22 GMT+02:00 NITESH BANSAL <span dir="ltr"><<a href="mailto:nitesh.bansal@outlook.com" target="_blank">nitesh.bansal@outlook.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Thanks guys for your ideas, I finally think that I have an idea on how to do it.<div><br></div><div>Nitesh<br><br><div><hr>Date: Fri, 1 Apr 2016 16:28:02 +0200<br>From: <a href="mailto:alberto.sagredo@avanzada7.com" target="_blank">alberto.sagredo@avanzada7.com</a><br>To: <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>Subject: Re: [SR-Users] Load balancing traffic based on SIP URI<div><div class="h5"><br><br><div dir="ltr">Hi Federico. In mi case i have to force some RURIs to a determinate Asterisk . There was some logic to do that instead letting kamailio to handle that situations<div><br></div><div>I haven't tested option 3 , but it must do what you expect i think. Maybe you would need to adjust </div><h3 style="color:rgb(0,0,0);font-family:Helvetica,Arial"> <code>ds_hash_expire</code></h3><div><code>Regards</code></div></div><div><br><div>2016-04-01 14:46 GMT+02:00 Federico Cabiddu <span dir="ltr"><<a href="mailto:federico.cabiddu@gmail.com" target="_blank">federico.cabiddu@gmail.com</a>></span>:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>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?</div><div style="text-align:justify">If this is the case why not use algorithm 3 in ds_select_ds (or ds_select_domain) which does hashing over Request-URI?</div><div style="text-align:justify">(<a href="http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.f.ds_select_dst" target="_blank">http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.f.ds_select_dst</a>)</div><div style="text-align:justify"><br></div><div style="text-align:justify">Regards,</div><div style="text-align:justify"><br></div><div style="text-align:justify">Federico</div></div><div><br><div><div><div>On Fri, Apr 1, 2016 at 12:26 PM, NITESH BANSAL <span dir="ltr"><<a href="mailto:nitesh.bansal@outlook.com" target="_blank">nitesh.bansal@outlook.com</a>></span> wrote:<br></div></div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div>


<div><div dir="ltr">Hello,<div><br></div><div>I want to use Kamailio to load balance traffic across multiple asterisks.</div><div>The problem is that my SIP traffic is related to conference, so if a SIP call</div><div>for a particular URI is sent to an Asterisk instance, any subsequent calls for that</div><div>SIP URI should be sent to the same Asterisk instance.</div><div>Is there anyway to achieve this in Kamailio?</div><div><br></div><div>Thanks,</div><div>Nitesh</div>                                        </div></div>
<br></div></div><span>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></span></blockquote></div><br></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div></div></div></div>                                         </div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>