just to mention that kamctl base depends on awk, so this language can
be used in case something is easier to do with it than pure shell.
Cheers,
Daniel
On 9/28/10 8:53 PM, Juha Heinanen wrote:
Ovidiu Sas writes:
If the script can be provided in bash, then it would be nice to be
integrated
Hello Juha,
The awk version of the script is now integrated in kamctl.
Regards,
Ovidiu Sas
On Wed, Sep 29, 2010 at 6:59 AM, Juha Heinanen j...@tutpro.com wrote:
Daniel-Constantin Mierla writes:
just to mention that kamctl base depends on awk, so this language can
be used in case
Ovidiu Sas writes:
The awk version of the script is now integrated in kamctl.
thank you very much,
-- juha
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
Ovidiu Sas writes:
If the script can be provided in bash, then it would be nice to be
integrated in kamctl:
- kamctl lcr weight_eval weight_1 weight_2 ... weight_n
ovidiu,
possibly it could be done, but i'm not that good in bash.
-- juha
___
SIP
.-
-Mensaje original-
De: Juha Heinanen [mailto:j...@tutpro.com]
Enviado el: domingo, 26 de septiembre de 2010 2:03
Para: Ricardo Martinez; us...@lists.kamailio.org
Asunto: Re: [SR-Users] LCR weight column question
ricardo,
i studied the weight problem a bit more and came to the conclusion
Hello,
On 9/24/10 9:43 AM, Juha Heinanen wrote:
[...]
any ideas on how to improve weighted random number calculation without
loosing performance?
maybe there are other options, but here is what I did for dispatcher
weighted load balancing:
- each destination set has associated an array of
Daniel-Constantin Mierla writes:
maybe there are other options, but here is what I did for dispatcher
weighted load balancing:
- each destination set has associated an array of 100 integers
- when destination set is loaded, this array is filled with indexes of
destination addresses in the
Daniel-Constantin Mierla writes:
you can create as well an utils or tools directory inside lcr module
folder, that will suggest direct relation with the module.
ok, juha
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
If the script can be provided in bash, then it would be nice to be
integrated in kamctl:
- kamctl lcr weight_eval weight_1 weight_2 ... weight_n
Regards,
Ovidiu Sas
On Mon, Sep 27, 2010 at 1:53 PM, Juha Heinanen j...@tutpro.com wrote:
Daniel-Constantin Mierla writes:
you can create as well
ricardo,
i studied the weight problem a bit more and came to the conclusion that
implementing a fair weighting algorithm would be too complicated.
below is a script that can be used to find weight values matching
desired probabilities for lcr gateways. i don't know if it would be
appropriate to
Ricardo Martinez writes:
As you can see there is no a 20,20,20,20,10,10 call repartition.
Could this be a bug?
ricardo,
it is a feature of the way randomized weights are currently
calculated. if you have two wgs with weights 1 and 2 and then generate
two random numbers
1 * random number
2 *
Ricardo Martinez writes:
I’m wondering how the “Weight” column in the LCR ‘gw’ table Works.
weight is probabilistic weight of the gateway that applies when
priorities of the gateways are the same.
If I have 100 calls, I was expecting was to have 20 to GW05, 20 to GW06, 20
to GW09 and 20 to
de septiembre de 2010 11:17
Para: Ricardo Martinez
CC: us...@lists.kamailio.org
Asunto: [SR-Users] LCR weight column question
Ricardo Martinez writes:
I’m wondering how the “Weight” column in the LCR ‘gw’ table Works.
weight is probabilistic weight of the gateway that applies when
Ricardo Martinez writes:
I’m observing something like this : (these are “Simmultaneous calls”
graphs)
ricardo,
my email client does not know to display your data, but weight is
assigned to gws like this:
matched_gws[gw_index].weight = t-weight * (rand() 8);
where t-weight comes from db
Hello.
I’m wondering how the “Weight” column in the LCR ‘gw’ table Works.
I have 5 gateways defined with different weights.
gw_name grp_id ip_addr hostnameport uri_scheme
transport strip tagweightping flags
GW0258 10.0.0.71
2010/9/22 Ricardo Martinez rmarti...@redvoiss.net:
If I have 100 calls, I was expecting was to have 20 to GW05, 20 to GW06, 20
to GW09 and 20 to GW10
Finalle 10 to GW02 and 10 to GW02.
Is this the correct interpretation of this parameter?
Yes, but note you need to do much more that 100
16 matches
Mail list logo