[SR-Users] cnxcc serial fork

Kelvin Chua kelchy at gmail.com
Thu Aug 28 11:31:12 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140828/2d318a7d/attachment.html>


More information about the sr-users mailing list