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. < [email protected]> wrote: > 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 overflows, you might be able to work out a > patch. > > Cheers, > Dirk > > > On 22-07-15 08:55, Kelvin Chua wrote: > >> 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 initial_pulse, int final_pulse) { >> call_t *call = NULL; >> lock_get(&credit_data->lock); >> >> ... the next lines will never be executed >> >> >> >> >> Kelvin Chua >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> [email protected] >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > [email protected] > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
