[asterisk-users] Post recording command to be executed after the end of recording

Matt Riddell lists at venturevoip.com
Thu Aug 20 08:45:29 CDT 2009


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
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)



More information about the asterisk-users mailing list