New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dialog module: dialog in 5 state is not removed #545
Comments
What is the exact version you are running (kamailio -v)? There were some fixes in the minor releases in v4.2.x. |
4.2.7 (the latest git) |
Hi. |
as far as I know, in dialog module 5-state-dialiog have to be deleted up to "tm"."wt_timer" period. |
- reported by Dmitri Savolainen, GH #545
The transaction is lost after restart -- I pushed a safety clean for aged terminated dialogs to deal with the case. |
Following the comments on commit: I understood the issue appears is revealed after a restart, so this was a safety for such cases, because the transaction is not recovered afterwards. If the dialog will be destroyed when the response is received, then retransmitted messages won't be handled properly (e.g., uac module has some features relying on dialog module), that's the reason for destroying when transaction is destroyed. |
sorry I did not write it here
Without commit 23a3481: there are dialog in 5 state which alive while kamailio alive (deleted after kamailio restart )
So may be it is a good idea adding dialog status filter to "get_profile_size". |
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. |
ok. thanks |
in v4.2
i made missconfiguration in kamailio.cfg, so kamailio send INVITE to itself:
INVITE request: endpoint -> kamailio -> kamailio
sip 407: kamailio -> kamailio -> endpoint
alfter that, _dlg.profile_list _ return this dialog up to kamailio restart
The text was updated successfully, but these errors were encountered: