<div dir="ltr">Dear all<div><br></div><div>i'm trying to access to the input audio raw stream with a very basic EAGI script:</div><div><br></div><div><br></div><div><div>#!/bin/sh</div><div>echo "EXEC Queue 2001"</div><div>cat  /dev/fd/3 > /tmp/pippo<br></div><div><br></div><div>This is my dialplan:</div><div><br></div><div><div>exten => 001,NoOp(test)</div><div>exten => 001,n,Answer</div><div>exten => 001,n,EAGI(/tmp/my-eagi.agi)</div></div><div><br></div><div><br></div><div>When i call, the script is executed and the call goes in queue, i can hear the MOH, the file /tmp/pippo is created but it is empty.</div><div><br></div><div>Any idea or suggestion?</div><div><br></div><div>PS:</div><div>if i use the application monitor or MixMonitor the call is recorded correctly.</div><div><br></div><div>I'm using Asterisk 1.6.2.9-2+squeeze12</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">/*************/<br>nik600<br><a href="http://www.kumbe.it" target="_blank">http://www.kumbe.it</a></div>
</div></div>