thanks for code. That was exactly my startup, but the problem arised when I tried to change Festival's default voice. I managed to do it with say-text.pl, but am still struggling with get-weather.pl. I have strange feeling that Perl scripts are somehow in different environment when run from Asterisk that plain run...
Are you using your code with latest Asterisk and Festival ? If you do, then I'm doing something wrong...