Hi, I'm experimenting this real case very often:
- Kamailio invokes "force_rtproxy()" for an INVITE and sets a
flag(USE_RTPPROXY).
- A CANCEL arrives (so I invoke "unforce_rtpproxy()").
- Inmediatelly a 183 arrives from downstream (before the UAS receives
the CANCEL generated by Kamailio).
- flag(USE_RTPPROXY) is set so I invoke "force_rtpproxy()" for the 183
response, and obviously I get this error from RtpProxy module (since the
RtpProxy session was ended upon recepit of the CANCEL):
ERROR:nathelper:force_rtp_proxy: incorrect port 0 in reply from rtp proxy
Yes, nothing wrong happens, but I would like to avoid this error in the logs.
Unfortunatelly when processing the incoming CANCEL kamailio cannot unset a
flag in the related INVITE transaction, so I cannot do
"resetflag(USE_RTPPROXY)" when receiving the CANCEL (it's not useful at
all).
So I cannot guess any way to do it, suggestions?
Thanks a lot.
--
Iñaki Baz Castillo <ibc(a)aliax.net>