Re: [SR-Users] CNXCC lock

2015-07-27 Thread Kelvin Chua
already looked into it. let's see if i get the time to create a patch for this Kelvin Chua On Thu, Jul 23, 2015 at 3:28 PM, Dirk Teurlings - SIGNET B.V. < dteurli...@signet.nl> wrote: > Although we also use CNXCC I can't confirm this bug, mainly because we > only fire up CNXCC from routes when t

Re: [SR-Users] CNXCC lock

2015-07-23 Thread Dirk Teurlings - SIGNET B.V.
Although we also use CNXCC I can't confirm this bug, mainly because we only fire up CNXCC from routes when the user still has credits (controlled and checked by MySQL using transactions) As far as the lock_get goes, look into the cnxcc_check.c to find out what gets released when the user overf

[SR-Users] CNXCC lock

2015-07-21 Thread Kelvin Chua
after a call exhausted credits, the next call will fail with a timeout. found out it gets stuck in cnxcc_mod.c line 1137 static call_t *__alloc_new_call_by_money(credit_data_t *credit_data, struct sip_msg *msg, double credit, double cost_per_second, int init