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:
https://github.com/kamailio/kamailio/issues/2708#issuecomment-886845980