Hi Daniel
Just test and be sure it is not always the ua header of the first branch, I haven't analysed the code much, but it seemed to point to sip msg filed, which is for first branch.
At least, in the branch route, I get different ua per branch.
I have not yet verified, if they match the ua of the called destination or if they are random ;)