With the latest CVS build of OSER, when an INVITE is
sent followed by a
CANCEL, before OSER has finished processing the initial INVITE, the
outbound call is not torn down, and SER routes the CANCEL message to
itself.
this is more a logical problem and not sure how it can be fixed (if
it can be fixed). The only idea it come into my mind is to delay the
CANCEL that does not match a transaction....but is quite ugly.
What about forwarding the CANCEL and keept in in memory. For every
incoming INVITE we will first check if there is already a CANCEL for
this.