Why does $T(id_index) return 0 even though t_suspend() is executed successfully?
mm e via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
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.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!