At 13:09 26/02/2007, Martin Hoffmann wrote:
If you already have a transaction for the INVITE, you should be fine by simply passing the CANCEL to tm by calling t_relay(). Don't remember what tm does with a CANCEL it doesn't have a transaction for. IMHO it should do nothing and give an error back.
IMO, it used to create a kind of special (or crippled) transaction to allow CANCEL forwarding after a SER reboot. Not really 100% sure what it does now. (For potential TM redesigners: this is why it pays off to produce branch parameters in a way which can be derived from the original request --> then even rebooted SER generates branches consistently)
-jiri
-- Jiri Kuthan http://iptel.org/~jiri/