According to the documentation a dialog is automatically destroyed when a BYE is received.

But, dialog was not destroyed.

What can I do?

I am testing with kamailio 5.5 version