Hey Matt
I wonder if it is possible that it doesn't work with AEL, does this seem ok
to you?
s => {
Ringing();
wait(2);
Answer();
Set(MONITOR_EXEC=/etc/asterisk/lameconvert.php
/var/spool/asterisk/monitor/^{MONITOR_FILENAME});
Queue(MyTestQ,ni,,,18);
Hangup();
}
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.
Strange one.
D
2009/8/20 Dáibhéad Antoine O'Reilligh M.Sc B.Sc <[email protected]>
> I'll give it a go!!
>
> I apreciate the info and the example.
> David
>
> Message: 5
> Date: Fri, 21 Aug 2009 01:45:29 +1200
> From: Matt Riddell <[email protected]>
> Subject: Re: [asterisk-users] Post recording command to be executed
> after the end of recording
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 21/08/09 1:35 AM, D?ibh?ad Antoine O'Reilligh M.Sc B.Sc wrote:
> > Hi all
> >
> > Does anybody know where this command is supposed to go?
> > Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{MONITOR_FILENAME}
> /tmp/^{MONITOR_FILENAME})
>
> The idea is that you set the variable called MONITOR_EXEC before you go
> into the queue.
>
> It will check for the presence of this and if there is one it will run
> it after the call has finished.
>
> So, for example:
>
> exten => s,1,Answer()
> exten => s,n,Set(MONITOR_EXEC=something)
> exten => s,n,Queue(support)
>
> --
> Cheers,
>
> Matt Riddell
> Director
> _____________
>
>
> --
> _________________________________________
>
> Mr. David Anthony O'Reilly, M.Sc, B.Sc
>
> Researcher @ MISL Group, University College Cork (Current)
>
> M.Sc MOB Postgraduate @ University College Cork - M.Sc (Mobile Networking
> and Computing) - 2009
>
> Computer Science Graduate of The University of Dublin, Trinity College -
> B.Sc (Computer Science) 2008
>
> Email: [email protected] / [email protected]
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users