[sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

Daniel-Constantin Mierla notifications at github.com
Mon Jul 26 18:22:28 CEST 2021

I haven't encountered such situation. Is it parallel forking case or serial forking?

What is not clear for me is your remark: `new branch is created with $ru = $ru` -- is it done in failure route or branch route? If in branch route, what is the reason for it? In branch route it is not supposed to create new branches, only update the current outgoing branch.

As for troubleshooting, I would try to add some logs in the code to gather more details, maybe trying to figure out what are the cases/functions in your config when $ru may be updated (pv module, core functions, ...) and see if it is done when not expected. Also, catching the sip traffic should help to see if many messages in the same transaction are handled at the same time.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210726/ed10ab7c/attachment.htm>

More information about the sr-dev mailing list