Bugs item #3178281, was opened at 2011-02-11 15:21 Message generated for change (Comment added) made by anca_vamanu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3178281&group_id=232389
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules Group: 1.6.x >Status: Closed >Resolution: Rejected Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Anca Vamanu (anca_vamanu) Summary: Srand in b2b_entities Initial Comment: Hi, The use of srand is wrong in generation of random value in the second part of callid. srand have to be called one time for init, after call rand to get a random value. Regards, ---------------------------------------------------------------------- >Comment By: Anca Vamanu (anca_vamanu) Date: 2011-02-11 17:01 Message: Hi Olivier, You are right, srand is not used right there. However, we want to take out that part from there, not use srand anymore and extend another mechanism for getting unique values that is now used for top hiding, to other scenarios also. Now for top hiding the from_tag is computed from 4 values taken from the message - callid, fromtag, ruri and via branch. I will implement this and take out the random from there next week. Thanks and regards, -- Anca Vamanu OpenSIPS Developer ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3178281&group_id=232389 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel