Hey Matt<br><br>I wonder if it is possible that it doesn't work with AEL, does this seem ok to you?<br><br> s => {<br> Ringing();<br> wait(2);<br> Answer();<br> Set(MONITOR_EXEC=/etc/asterisk/lameconvert.php /var/spool/asterisk/monitor/^{MONITOR_FILENAME});<br>
Queue(MyTestQ,ni,,,18);<br> Hangup();<br> }<br><br><br>I have debug mode on but no errors, yet the recording works perfect with mixmonitor just not opened by my script yet my script works great and the permissions seem fine too.<br>
<br>Strange one.<br><br>D<br><br><div class="gmail_quote">2009/8/20 Dáibhéad Antoine O'Reilligh M.Sc B.Sc <span dir="ltr"><<a href="mailto:oreillda@tcd.ie">oreillda@tcd.ie</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'll give it a go!!<br><br>I apreciate the info and the example.<br>David<br><br>
Message: 5<br>
Date: Fri, 21 Aug 2009 01:45:29 +1200<br>
From: Matt Riddell <<a href="mailto:lists@venturevoip.com" target="_blank">lists@venturevoip.com</a>><br>
Subject: Re: [asterisk-users] Post recording command to be executed<br>
after the end of recording<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>><br>
Message-ID: <<a href="mailto:4A8D5379.60400@venturevoip.com" target="_blank">4A8D5379.60400@venturevoip.com</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
On 21/08/09 1:35 AM, D?ibh?ad Antoine O'Reilligh M.Sc B.Sc wrote:<br>
> Hi all<br>
><br>
> Does anybody know where this command is supposed to go?<br>
> Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{<div>MONITOR_FILENAME} /tmp/^{MONITOR_FILENAME})<br>
<br>
The idea is that you set the variable called MONITOR_EXEC before you go<br>
into the queue.<br>
<br>
It will check for the presence of this and if there is one it will run<br>
it after the call has finished.<br>
<br>
So, for example:<br>
<br>
exten => s,1,Answer()<br>
exten => s,n,Set(MONITOR_EXEC=something)<br>
exten => s,n,Queue(support)<br>
<br>
--<br>
Cheers,<br>
<br>
Matt Riddell<br>
Director<br>
_____________</div><br clear="all"><br>-- <br>_________________________________________<br><br>Mr. David Anthony O'Reilly, M.Sc, B.Sc<br><br>Researcher @ MISL Group, University College Cork (Current)<br><br>M.Sc MOB Postgraduate @ University College Cork - M.Sc (Mobile Networking and Computing) - 2009<br>
<br>Computer Science Graduate of The University of Dublin, Trinity College - B.Sc (Computer Science) 2008<br><br>Email: <a href="mailto:oreillda@tcd.ie" target="_blank">oreillda@tcd.ie</a> / <a href="mailto:dor3@student.cs.ucc.ie" target="_blank">dor3@student.cs.ucc.ie</a><br>
</blockquote></div>