Hi,
It appears that in "shutdown only" mode (modparm db_mode = 3 ) dialogs are not cleared from the database on startup:
1. kamctl start initiate call 2. kamctl stop 3. kamctl start terminate call (dialog is terminated correctly) 4. kamctl db show dialog shows the dialog record 5. kamctl stop 6. kamctl db show dialog shows the (now very dead) dialog record
Perhaps the dialog table should be cleared right after step 3 or at the beginning of step 5 when the dialog module is in "shutdown only" mode.