[Kamailio-Devel] Flags are not visible when processing CANCEL
Iñaki Baz Castillo
ibc at aliax.net
Fri May 22 10:19:22 CEST 2009
Hi, using Kamailio 1.5 I've realized that INVITE transaction flags are
not visible during CANCEL processing, this is:
- INVITE arrives.
- I set a flag(FLAG_USE_RTPPROXY)
- t_relay(), so transaction is created.
- CANCEL arrives for that transaction.
- I check isflagset(FLAG_USE_RTPPROXY) and it returns false.
Is it the expected behaviour? Is there any reason not to get the
transaction flags during CANCEL processing?
Example of usage (if the flag would be visible during CANCEL):
if is_method("CANCEL") {
if (t_check_trans()) {
if isflagset(FLAG_USE_RTPPROXY) {
unforce_rtp_proxy();
}
t_relay();
}
exit;
}
Regards.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the Devel
mailing list