Perhaps you misunderstood my question, let me clarify

My question is about the contents of the 200 OK response for a REGISTER 
which deregisters a Contact: if a UAC deregisters, should the Contact be 
returned with 'expires=0' (a), or should it be omitted from the 200 OK 
response altogether (b)

According to the reasoning "the 200 OK response always contains a list of 
registered contacts", it would be (b). But I have also seen implementations 
that just reflect all Contact headers received in the REGISTER request, 
adding an 'expires' parameter to each (expires=0 in case of deregistration)

Regards,
Jeroen

Franz wrote:
> I think that is not correct.
>
> If the request contains a contact, this mean you want to register this
> contact (or deregister if expires=0).
> If you send a request with an special contact (I think it was a *) and
> expires=0 this means you want to unregister all. If you send no
> contact header at all you just poll.
>
> The 200 Ok response always contains a list of registered contacts.
>
> M. Rangnathan schrieb:
>> Here is a guess :
>>
>> expires=0 implies you want to remove a specific contact. No contact
>> means you want to remove all contacts?
>>
>> Ranga
>>
>> Jeroen van Bemmel wrote:
>>
>>> Which is correct:
>>>
>>> a) 200 OK for deregister with Contact header with expires=0 in it
>>> b) 200 OK for deregister without any Contacts
>>>
>>> Regards,
>>> Jeroen
>>> _______________________________________________
>>> Sip-implementors mailing list
>>> [email protected]
>>> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors 

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to