[reSIProcate] True uniqeness of Helper::computeCallID()

David Thompson mrdatman at hotmail.com
Wed Sep 27 18:35:16 CDT 2006


Has anyone had issue with the true uniqueness of Helper::computeCallID().
 
I've used the value returned from this to push about two million calls into cdr records....however I am discovering that some new calls are attaching themselves to old cdr records.......
 
The algorithm used in Helper.cxx is the base64 of md5 of hostname + Random::getRandomHex(8)
 
My guess is there is a good chance that you will get a random number twice.
 
Does anyone have an idea on how this can be improved or a quick code snippet for me to create a truly unique callid? 
 
Thanks in advance,
 
David
_________________________________________________________________
Share your special moments by uploading 500 photos per month to Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060927/dcee4440/attachment.htm>


More information about the resiprocate-devel mailing list