>>>>> "RM" == Ryan Mitchell <[EMAIL PROTECTED]> writes:
RM> int to2 = DEFAULT_FREQ_OK + thread_safe_rand() % 8000 - 40000; peer-> pokeexpire = ast_sched_add(sched, to2, sip_poke_peer_s, peer); Would this code get run for each OPTION packet sent? If so, perhaps a less expensive random function could be found. Or maybe thread_safe_rand is already cheap enough, it just seems overkill for something with such a low requirement for randomness quality. /Benny _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev