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

2016-04-04 Thread Alberto Sagredo
r 2016 16:28:02 +0200 > From: alberto.sagr...@avanzada7.com > To: sr-users@lists.sip-router.org > Subject: Re: [SR-Users] Load balancing traffic based on SIP URI > > > Hi Federico. In mi case i have to force some RURIs to a determinate > Asterisk . There was some logic to do

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

2016-04-04 Thread NITESH BANSAL
Thanks guys for your ideas, I finally think that I have an idea on how to do it. Nitesh Date: Fri, 1 Apr 2016 16:28:02 +0200 From: alberto.sagr...@avanzada7.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Load balancing traffic based on SIP URI Hi Federico. In mi case i have to

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

2016-04-01 Thread Alberto Sagredo
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 I haven't tested option 3 , but it must do what you expect i think. Maybe you would need to adjust ds_hash_expire Regards 2016-04-01 1

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

2016-04-01 Thread Federico Cabiddu
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 d

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

2016-04-01 Thread Alberto Sagredo
I have done something similar as follows if($rU=~"^[0-3][0-9][0-9]$") { $var(valor)=1; } And later.. if(!ds_select_domain("$var(valor)", "4")) { sl_send_reply("500", "Service Unavailable"); xlog("L_INFO","[$fU@$si:$sp]{$rm} Sin destinos disponibles para $rd \n");