Port

hi all…

i’m porting an old application from 1.4 to 1.8 and have this problem with the agi scripts that is really annoying. basically when i try to set up a variable in the script like:

echo “EXEC Set caca=moo/sln/to_hear_this_again”;
echo “\n”;
echo “EXEC Playback ${caca}”;
echo “\n”;

i get

– Launched AGI Script /var/lib/asterisk/agi-bin/moo/test.php
[Jan 31 22:54:11] ERROR[7103]: utils.c:1131 ast_carefulwrite: write() returned error: Broken pipe
– AGI Script Executing Application: (Set) Options: (caca=moo/sln/to_hear_this_again)
[Jan 31 22:54:11] ERROR[7103]: utils.c:1131 ast_carefulwrite: write() returned error: Broken pipe
– AGI Script Executing Application: (Playback) Options: (${caca})
[Jan 31 22:54:11] WARNING[7103]: file.c:648 ast_openstream_full: File ${caca} does not exist in any format

it used to work on 1.4…

any ideas?

thanks…

no comment?!