FreePBX Paid Support


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


How to get recorded calls emailed to the users mailbox?

hgj's picture

Hi.

I have enabled the automon feature (*1), which works.
It leaves the recorded messages in /var/spool/asterisk/monitor where they can be picked up by the web gui.

What I want is to have those recorded messages sent to the e-mail account associated with the extension who recorded the conversation.

I've written a shell-script to do this. The problem is I can't get asterisk to run the script.
I tried putting it in macro-hangupcall as a System() call, but that did not work.


__________________