Not sure with 4.2, but in the latest version the dialog should be removed from profile immediately it gets to state terminated, not waiting for the dialog to be destroyed.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/545#issuecomment-198535260