[OpenSIPS-Devel] Limitations of dialog module

Dan Pascu dan at ag-projects.com
Tue Aug 4 18:15:43 CEST 2009


On Tuesday 04 August 2009, Iñaki Baz Castillo wrote:
> 2009/8/4 Dan Pascu <dan at ag-projects.com>:
> >> But if this behaviour is not implemented, could it affect the design
> >> you suggest for "virtual dialogs"?
> >
> > Not if we confirm the dialog with the ACK instead of the 200 OK.
> 
> If both 200 OK arrive to the UAC, it will generate two ACK (one for
> each branch). Theoricaly the UAC will also send a BYE for the last 200
> received.
> 
> This is:
> 
> - UAS1 replies 200.
> - UAS2 replies 200 (at the "same" time).
> - OpenSIPS routes the first 200 stateful to the UAC.
> - OpenSIPS routes the second 200 stateless to the UAC.
> - UAC generates an ACK for first 200.
> - OpenSIPS create a established dialog.
> - UAC generates an ACK for the second 200.
> * Would OpenSIPS generate a new *established* dialog?
> - UAC sends inmediately a BYE for the second dialog (as RFC3261 states).
> * Would this BYE terminate the second established diaog in OpenSIPS?
> or the first one? or both?
> 
> This is the risk I see.

We can simply create multiple dialogs when this happens, which is correct in 
the end, and some of them will be immediately closed by a BYE, only one will 
remain.

-- 
Dan



More information about the Devel mailing list