Hi; The response must includes a list with the current bindings in the registrar server. If the list is empty ( no Contact headers in the response ) that means that there are no bindings in the server for the AOR you tried to REGISTER. For example a REGISTER for an AOR with Expires 0 ( Unregister ) will result in a response with no Contact ( assuming there are no other UAs registering for the same AOR ).
The response is valid. There may be another problem regarding the Registration process. Regards Diego B Igor Vanin wrote: > Hello > > A softphone sends the REGISTER request (adding or refreshing a binding) to a > Registrar and receives 200 OK response. > This response, as specified in RFC 3261, part 10.3, step 8, MUST contain > Contact header field values enumerating all current bindings. > > 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. > 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? > > -- > With best regards, Igor Vanin, St. Petersburg, Russia > mailto:[EMAIL PROTECTED] http://gpmail.spb.ru > > > _______________________________________________ > 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
