> Recently I met a strange server, which is responding to the 
> REGISTER requests (adding or refreshing a binding) with the 
> 200 OK response *without* any Contact header fields.

Since it is considered an abnormal situation, the device can act as it
wishes as long as it doesn't continually retry without some reasonable
time delay.

There is likely something related to the Contact which makes it unusable
(scheme, transport, malformed, decoding issue, etcetera) or too low in
priority (q too low, too many contacts, etcetera).



> I understand that such responses are incorrect, but I must 
> choose the best way how my softphone should handle them.
> Two opposed variants are:
> 1) interpret 200 w/o contact as signal from the server that 
> it did not registered my contact (i.e. handle it the same way 
> as 403 response);
> 2) interpret 200 w/o contact as successfull registration of 
> the contact which the softphone tried to register.
> Which of these variants is more correct and user-friendly?


Both of your variants are acceptable.  It is hard to say which is best
since it really depends upon why the Contact is being lost and if the
phone is really still usable.  If some of the Contacts are working,
option 2 might be better.  If none of the phones contacts are working,
option 1 might be better.

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

Reply via email to