[Asterisk-Users] SIP callid

Wolfgang S. Rupprecht list+asterisk-users at lists.wsrcc.com
Wed Mar 23 13:45:35 MST 2005


chuck_ramirez at yahoo.com (Chuck Ramirez) writes:
> Looking at the source code I noticed that rand() is
> used four times to get a callid. Is that safe enough?

RAND(3)                   OpenBSD Programmer's Manual                  RAND(3)

NAME
     rand, srand - bad random number generator
...

Is there some reason asterisk can't just read some bytes out of
/dev/urandom?

-wolfgang



More information about the asterisk-users mailing list