[sr-dev] improving the dialog module
Juha Heinanen
jh at tutpro.com
Sun Mar 14 18:13:23 CET 2010
Timo Reimann writes:
> That will definitely break the single-dialog approach. However, one could
> work around this by introducing a counter to dialogs which is incremented
> for each re-seen, unconfirmed request and decremented when responses are
> forwarded (i.e., when the dialog module calls dlg_onreply()). There, the
> dialog's state wouldn't be modified unless the counter drops to zero.
if you don't like two dialogs, why not just do not call the dialog
functions when request spirals to P1 the second time?
-- juha
More information about the sr-dev
mailing list