Ayesha Shahab wrote: > Hi, > > For a non-established dialogs how do we have a 400 Bad Request response ? > > The scenario is as follows > 1. A sends an INVITE to B > 2. A gets 100 trying response > 3. A sends lot many OPTIONS towards B > 4. B does not respond to the OPTIONS > 5. B responds with 400 Bad Request for the INVITE > 6. A receives a 400 terminate indication > 7. ???
Based on the info above, there is no dialog - not even an early dialog. (To have one A would have to receive a 1xx response (xx != 00) with a To-tag.) So there is no dialog to deal with. You will complete the INVITE *transaction* by sending an ACK. You didn't say how the OPTIONS requests were addressed. They couldn't have been in-dialog because there is no dialog for them to be in. Each of the outstanding OPTIONS transactions must complete independently. You will retransmit each one according to the state machine, and if you never get a response each transaction will eventually time out. Thanks, Paul > What should happen at Step7? Do we terminate all the transactions (INVITE > and OPTIONS) and bring down the dialog? > If we terminate all the transactions and bring down the dialog, we will then > not receive a 408 Request Timeout response for the OPTIONS.. > > How should we handle a 4xx, 5xx , 6xx response for a non-established dialog? > > /Ayesha > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors