El Sábado, 1 de Noviembre de 2008, Kaeman Chris escribió:
if (is_method("CANCEL")) {
setflag(1);
setflag(3);
if (t_check_trans())
t_relay();
exit;
}
I suposse (you didn't say it) that flag(1) is the accounting flag.
Well, delete the "setflag" lines above since you don't need to set
accounting
flags for CANCEL. If you already set acc flag during the INVITE then the
CANCEL will be automatically handled by accounting module.
--
Iñaki Baz Castillo