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

Reply via email to