|
@@ -242,7 +242,7 @@ int dlg_clean_run(ticks_t ti)
|
|
while (dlg) {
|
|
while (dlg) {
|
|
tdlg = dlg;
|
|
tdlg = dlg;
|
|
dlg = dlg->next;
|
|
dlg = dlg->next;
|
|
- if(tdlg->state==DLG_STATE_UNCONFIRMED && tdlg->init_ts<tm-300 && tdlg->ref<=1) {
|
|
|
|
|
|
+ if(tdlg->state==DLG_STATE_UNCONFIRMED && tdlg->init_ts<tm-300) {
|
|
/* dialog in early state older than 5min */
|
|
/* dialog in early state older than 5min */
|
|
LM_NOTICE("dialog in early state is too old (%p ref %d)\n",
|
|
LM_NOTICE("dialog in early state is too old (%p ref %d)\n",
|
|
tdlg, tdlg->ref);
|
|
tdlg, tdlg->ref);
|