<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 -> $100, cost per second -> $1</div><div>2. call will fail, try the next provider</div><div>3. cnxcc_set_max_credit -> $200, cost per second -> $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><br clear="all"><div>Kelvin Chua</div>
</div>