[sr-dev] git:alexh/master: modules/tm: Make 487 a prioritized reply code too

Alex Hermann alex at speakup.nl
Mon Aug 8 13:05:15 CEST 2011


On Monday 08 August 2011, Henning Westerholt wrote:
> On Monday 08 August 2011, Alex Hermann wrote:
> > [..]
> > modules/tm: Make 487 a prioritized reply code too
> 
> Hi Alex,
> 
> there is this passage in RFC3261, 16.7, bullet 6 "Choosing the best
> response":
> 
> "The proxy SHOULD give preference to responses that provide information
> affecting resubmission of this request, such as 401, 407, 415, 420, and
> 484 if the 4xx class is chosen."
> 
> Not sure if I interpret it correctly, but 487 does not affect the
> resubmission of a request, I think.

You're correct from an rfc point of view. I made this patch because i've seen 
the 487 loose from an earlier received response, even though the caller 
cancelled the call and would expect a 487 as repsonse tot the INVITE.

Don't you think that if a caller cancels a call, the response to the INVITE 
should always be 487, even if there are (higher priority) responses from other 
branches?
-- 
Greetings,

Alex Hermann




More information about the sr-dev mailing list