[asterisk-dev] [Code Review] SIP: for an INVITE transaction, treat all 2XX responses the same as a 200

Olle E. Johansson oej at edvina.net
Tue Sep 28 13:41:05 CDT 2010


28 sep 2010 kl. 18.22 skrev David Vossel:

> 
> ----- Original Message -----
>> From: "Olle E. Johansson" <oej at edvina.net>
>> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
>> Sent: Tuesday, September 28, 2010 1:05:54 AM
>> Subject: Re: [asterisk-dev] [Code Review] SIP: for an INVITE transaction, treat all 2XX responses the same as a 200
>> 23 sep 2010 kl. 17.13 skrev Simon Perreault:
>> 
>>> On 2010-09-23 11:01, David Vossel wrote:
>>>> A 202 for an INVITE does not really make sense to me. Since it is
>>>> not
>>>> recognized for an INVITE, RFC 3261 says we should process it like a
>>>> 200 in section 8.1.3.2
>>> 
>>> My interpretation of the RFC is not the same as yours, but I also
>>> understand your point of view. I think this would be a good question
>>> for
>>> sip-implementors at lists.cs.columbia.edu.
>> 
>> My question here is really if this is just theory or if anyone has
>> seen anything else than 200 OK in the 2xx
>> class for an INVITE?
>> 
>> Curious.
>> /O
>> --
> 
> This will never happen, but it is theoretically correct .

Ok, then we're in agreement. There might be a reason in the future to add a strange 2xx code
as an alternative to 200 for an INVITE, but today there is not.

Cheers,
/O


More information about the asterisk-dev mailing list