[reSIProcate] True uniqeness of Helper::computeCallID()
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
Share it!