Re: [OpenSIPS-Users] Round Robin alg and drouting

2018-06-07 Thread Bogdan-Andrei Iancu

Hi Abdoul,

The dynamic routing does not provide any RoundRobin - inside a rule, 
there are 2 ways of using the destination :

1) as they are, in the same order as listed
2) re-order based on weights

The 2) may give you random distribution of calls over the GWs, but not 
RR. Have you tried in setting weights ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 06/05/2018 05:16 PM, Abdoul Osséni wrote:

Hello list,

Since a few days, I am looking for a solution to my problem without 
success.


Any help will be appreciated.

My question is how implemented round robin algo with drouting?

For each prefix in dr_rule table, I try to make:

 1. first call -> gw1
 2. next call -> gw2
 3. after call  -> gw1
 4. next call -> gw2

Regards

Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Round Robin alg and drouting

2018-06-06 Thread Abdoul Osséni
With cachedb_local module, I was able to implement this.

Regards

Abdoul OSSENI

2018-06-05 16:16 GMT+02:00 Abdoul Osséni :

> Hello list,
>
> Since a few days, I am looking for a solution to my problem without
> success.
>
> Any help will be appreciated.
>
> My question is how implemented round robin algo with drouting?
>
> For each prefix in dr_rule table, I try to make:
>
>1. first call -> gw1
>2. next call -> gw2
>3. after call  -> gw1
>4. next call -> gw2
>
> Regards
>
> Abdoul OSSENI
> Ingénieur DevOps chez Néo-Soft
> Co-Fondateur de ON SERVICES
> Tél : +33 601 135 167
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Round Robin alg and drouting

2018-06-05 Thread Abdoul Osséni
Hello list,

Since a few days, I am looking for a solution to my problem without success.

Any help will be appreciated.

My question is how implemented round robin algo with drouting?

For each prefix in dr_rule table, I try to make:

   1. first call -> gw1
   2. next call -> gw2
   3. after call  -> gw1
   4. next call -> gw2

Regards

Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users