Hi Praveen, I didn’t remember exact specification, But it will be always better to send DE-REGISTER once the REGISTER message response is received.
Regards Srinivas From: Parveen Aggarwal [mailto:parveenakara...@gmail.com] Sent: Wednesday, June 28, 2017 11:15 AM To: Banda, Srinivas (Srinivas) Cc: sip-implementors@lists.cs.columbia.edu Subject: Re: [Sip-implementors] Sending deRegister request just after sending REGISTER request Thanks Srinivas for reply. Is there any specification which restricts to send REGISTER with expires=0 before receiving final response of REGISTER with expires>0? Also, what if first REGISTER(With Expires>0) reaches to the network and after that DUT sending REGISTER with expires=0? Regards, Parveen On Wed, Jun 28, 2017 at 11:04 AM, Banda, Srinivas (Srinivas) <sriba...@avaya.com<mailto:sriba...@avaya.com>> wrote: What if the Previous REGISTER(expires > 0) lost in the network, and the REGISTER with expires = 0 might reach the REGISTRAR first in this case REGISTRAR will not find the active registration, so end up with 4xx response. Regards Srinivas -----Original Message----- From: sip-implementors-boun...@lists.cs.columbia.edu<mailto:sip-implementors-boun...@lists.cs.columbia.edu> [mailto:sip-implementors-boun...@lists.cs.columbia.edu<mailto:sip-implementors-boun...@lists.cs.columbia.edu>] On Behalf Of Parveen Aggarwal Sent: Wednesday, June 28, 2017 10:41 AM To: sip-implementors@lists.cs.columbia.edu<mailto:sip-implementors@lists.cs.columbia.edu> Subject: [Sip-implementors] Sending deRegister request just after sending REGISTER request Dear Expert, Is it valid to send deRegister request i.e. REGISTER with expires=0 before receiving final response for previous registration request i.e. REGISTER with expires >0 ? As per RFC 3261, It is mentioned for new REGISTER request only UAs MUST NOT send a new registration (that is, containing new Contact header field values, as opposed to a retransmission) until they have received a final response from the registrar for the previous one or the previous REGISTER request has timed out. Thanks, Parveen _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu<mailto:Sip-implementors@lists.cs.columbia.edu> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.cs.columbia.edu_mailman_listinfo_sip-2Dimplementors&d=DwICAg&c=BFpWQw8bsuKpl1SgiZH64Q&r=DfcjuTVsKgmJaaUkoM6ILHncIUfFzD1YvkhqXoTJ3oE&m=GfL4qOD1hrOoOz-iubTqqxkfDYYxZfSjZbnYyPbrRKA&s=Yley5vwhmX2fXslDVs3mS3hSp9ddYoA20hhRBMh-WB8&e= _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors