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,CarlosOn 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 -> $12. call will fail, try the next provider3. cnxcc_set_max_credit -> $200, cost per second -> $2what i am expecting to see is, if i dokamctl kamcmd cnxcc.active_clientsi would see $200 as the max_amount. but in kamailio 4.1.5, i still see $100, should itbe 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
--
_______________________________________________
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