<div dir="ltr"><div>after a call exhausted credits, the next call will fail with a timeout. found out it gets stuck in cnxcc_mod.c line 1137</div><div><br></div><div><div>static call_t *__alloc_new_call_by_money(credit_data_t *credit_data, struct sip_msg *msg,</div><div>                                        double credit, double cost_per_second, int initial_pulse, int final_pulse) {</div><div>        call_t *call = NULL;</div><div>        lock_get(&credit_data->lock);</div><div><br></div><div>... the next lines will never be executed </div></div><div><br></div><div><div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature">Kelvin Chua</div></div>
</div></div>