# Port

**URL:** <https://community.asterisk.org/t/port/34020>\
**Category:** Asterisk Support\
**Created:** [February 1, 2011, 4:26am UTC](https://community.asterisk.org/t/port/34020 "2011-02-01T04:26:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toshog](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@toshog](https://community.asterisk.org/u/toshog)\
**Post date:** [February 1, 2011, 4:26am UTC](https://community.asterisk.org/t/port/34020/1 "2011-02-01T04:26:59Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![toshog](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@toshog](https://community.asterisk.org/u/toshog)\
**Post date:** [February 1, 2011, 5:39pm UTC](https://community.asterisk.org/t/port/34020/2 "2011-02-01T17:39:14Z")

</div>

no comment?!
