Re: [reSIProcate] transaction id collisions
- From: Alan Hawrylyshen <alan@xxxxxxxxxx>
- Date: Thu, 2 Jun 2005 10:34:05 -0600
On Jun 2, 2005, at 07.36, Scott Godin wrote:
By tid collisions, do you mean that resip is generating duplicate
tids for
different requests?
I've seen this behavior if you forget to call srand on every thread
in your
application that is creating requests. Even if you only use 1
thread, when
you restart your app and you haven't called srand, it will use the
same
tid's it used the last time you started.
I've also seen win32 clients select the same sequence of random
numbers leading to collisions in the UAS map in the proxy.
Is that the source of the problem? We don't see asserts, but the 1st
'user' of a tid 'wins' and the re-users 'lose' (get ignored).
Alan
a l a n a t j a s o m i d o t c o m