Skip to content
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

SIPX-883: Fix/Workaround for Missing CDRs for failed calls (4xx responses) #152

Open
wants to merge 5 commits into
base: release-21.04-centos7
Choose a base branch
from

Conversation

cbeyersdorf
Copy link

changes for SIPX-865 revert (as SIPX-883 is the real problem and changes made for SIPX-865 cause additional problems).

Workaround for SIPX-883 for me it looks like the problem is caused as the background houskeeping jobs are not working anymore.
For me it looks like something has changed inside the Monitor module from ruby or it is the change to the newer ruby version?

I had added logging to the houskeeping and could see they are never executed at all.
So I've removed the background threads and added the function calls to the main loop of state.

After this change all CDRs are generated correctly even the 4xx ones.

As I'm not an ruby expert (these was my first experience with ruby) I have not time to deep further into the problem.

Maybe someone more experienced in ruby can look into the lib/utils/cleaner.rb and or the lib/utils/terminator.rb and can find and fix the real problem?

I hope this will help.

from SIPX-865
this change did not fix the problem but has negative sideeffects
calls with e.g. 404 SIP Responses will marked as terminated
this creates correct CDRs for failed calls again.
This reverts commit 5f6590d.
it looks like the used cleaner -> terminator stuff is not working anymore
the whole cleanup processes aren't executed at all (as far as I can see and debug)
This workaround works.

One should check if the used dependencies have changend and cause the problems.
@cbeyersdorf cbeyersdorf changed the title Release 21.04 centos7 SIPX-833 Jan 10, 2023
@cbeyersdorf cbeyersdorf changed the title SIPX-833 SIPX-883 Jan 10, 2023
@cbeyersdorf cbeyersdorf changed the title SIPX-883 SIPX-883: Fix/Workaround for Missing CDRs for failed calls (4xx responses) Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant