if(t_suspend())
{
xlog("L_NOTICE", "==> processing suspended in transaction [$T(id_index):$T(id_label)] ");
} else {
xlog("L_ERR", "t_suspend err");
exit;
}
Sometimes, I get this log==> processing suspended in transaction [0:13614] ",as far as I know, 0 means that the value cannot be obtained. Executing t_continue(tindex, tlabel, rtname) with parameter 0 will fail.by the way, It's a question of probability.
The $T(id_index) should be ok with value 0, because it is the index of a hash table slot. It might be that $T(id_label) is not set 0.
Can you run with debug=0 and see if the log messages give more details about why it fails to continue?
Cheers, Daniel
-- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com