My SIP stack has two modes of operation: it's either a stateless proxy or it's not. As a stateful proxy it will never proxy messages statelessly, so I can use the mode of operation to decide whether to statelessly proxy or reject with a 481.
Thanks for your help, Dale. CH On 20 August 2012 16:00, Worley, Dale R (Dale) <[email protected]> wrote: > On Sun, 2012-08-19 at 10:36 +0100, Clayton Hawbaker wrote: > > Assume the server transport layer of my SIP stack receives a CANCEL and I > > can't find a matching server transaction. > > > > Section 9.2 (RFC 3261) says: > > > > > But Section 16.10 (in the context of stateful proxies) says: > > > So how does my SIP stack know whether to reject the CANCEL with a 481 or > > statelessly forward? > > Section 9.2 concerns server behavior, section 16.10 concerns proxy > behavior. > > The obvious rule is that if the device *might* have statelessly proxied > the corresponding request, it must statelessly proxy the CANCEL. But if > the device *knows* that it saw no corresponding request (e.g., it is > only a UAS/UAC, or it proxies transaction-statefully, and has no record > of the request), then it should respond 481. > > Dale > > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
