-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
SIP plugin: add logger callback function for processing SIP message traces in a single log callback for Sofia >= 1.13 #3386
SIP plugin: add logger callback function for processing SIP message traces in a single log callback for Sofia >= 1.13 #3386
Conversation
…ingle log callback for Sofia >= 1.13
Thanks for reviving this! I'll review in the next few days and get back to you 👍 |
I've specifically tested on version 1.13. And in current implementation logic for version 1.12 was not changed at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've added some notes inline. Revisiting the logger, I'm starting to wonder whether it's safe to use the static call_id
as we do here: are we sure the logger is always invoked by the same thread? Have you checked this as part of your tests?
@ycherniavskyi were you waiting for more feedback from me, or have all notes been addressed in the commits that followed? |
@lminiero I've addressed all your comments except for the one about dropping OPTIONS, which we decided to leave (assuming I understood you correctly). Therefore, from my perspective, this PR is ready to merge! 😊 |
Thanks, merging then! I'll also backport this to |
…races in a single log callback for Sofia >= 1.13 (#3386)
Fixes #3365.