no need to call srand() when it is already called in asterisk.c