[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [SR-Users] cnxcc serial fork
From:       Carlos_Ruiz_Díaz <carlos.ruizdiaz () gmail ! com>
Date:       2014-08-28 14:24:28
Message-ID: CA+3gBckDojMkKAU=K5Db4z5=fQJSgUrK=zoUSWA8Y+zJ8ZuD5w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Kelvin,

this is an interesting scenario. I will have to reproduce it myself in
order to reply you properly.

Answering your question, yes, it should be updated to 200. Let me check
ASAP.

Regards,
Carlos




On Thu, Aug 28, 2014 at 4:31 AM, Kelvin Chua <kelchy@gmail.com> wrote:

> hi carlos,
>
> i have a serial forking scenario to several providers as failover. and i
> used cnxcc_set_max_credit to control the session credit/time.
>
> just wanted to make sure it does what i think it should do so i made a
> little experiment.
> the logic goes this way.
> 1. cnxcc_set_max_credit -> $100, cost per second -> $1
> 2. call will fail, try the next provider
> 3. cnxcc_set_max_credit -> $200, cost per second -> $2
>
> what i am expecting to see is, if i do
>
> kamctl kamcmd cnxcc.active_clients
>
> i would see $200 as the max_amount. but in kamailio 4.1.5, i still see
> $100, should it
> be updated to $200? is there an override in cnxcc_set_max_credit when
> called twice or after failure_route?
>
> Kelvin Chua
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Carlos
http://caruizdiaz.com
http://ngvoice.com
+52 55 3048 3303

[Attachment #5 (text/html)]

<div dir="ltr">Hi Kelvin,<div><br></div><div>this is an interesting scenario. I will \
have to reproduce it myself in order to reply you \
properly.</div><div><br></div><div>Answering your question, yes, it should be updated \
to 200. Let me check ASAP.</div> \
<div><br></div><div>Regards,</div><div>Carlos</div><div><br></div><div><br></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 4:31 AM, \
Kelvin Chua <span dir="ltr">&lt;<a href="mailto:kelchy@gmail.com" \
target="_blank">kelchy@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>hi carlos,</div><div><br></div><div>i \
have a serial forking scenario to several providers as failover. and i used \
cnxcc_set_max_credit to control the session credit/time.</div> \
<div><br></div><div>just wanted to make sure it does what i think it should do so i \
made a little experiment.</div> <div>the logic goes this way.</div><div>1. \
cnxcc_set_max_credit -&gt; $100, cost per second -&gt; $1</div><div>2. call will \
fail, try the next provider</div><div>3. cnxcc_set_max_credit -&gt; $200, cost per \
second -&gt; $2</div>

<div><br></div><div>what i am expecting to see is, if i \
do</div><div><br></div><div>kamctl kamcmd \
cnxcc.active_clients</div><div><br></div><div>i would see $200 as the max_amount. but \
in kamailio 4.1.5, i still see $100, should it</div>

<div>be updated to $200? is there an override in cnxcc_set_max_credit when called \
twice or after failure_route?</div><span class="HOEnZb"><font color="#888888"><br \
clear="all"><div>Kelvin Chua</div> </font></span></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" \
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr">Carlos<div><a href="http://caruizdiaz.com" \
target="_blank">http://caruizdiaz.com</a></div><div><a href="http://ngvoice.com" \
target="_blank">http://ngvoice.com</a></div> <div>+52 55 3048 3303</div></div>
</div>



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic