Recording to email

Is there a way in which a user can receive an email of a recorded call that they initiated? For example John Doe ext 110 hits *1 to record the call hes on. When he hangs up that recording is sent to john@email.com?

Yes, but you need to program that behavior with features.conf & some script.

I did something similar, but was not a conversation was recorded message. here is my code, you can modify it and add the app Mixmonitor() instead Record()

Install ssmtp Install ssmtp: sudo apt-get install ssmtp
Edit the ssmtp config file : gksu gedit /etc/ssmtp/ssmtp.conf
Enter this in the file:
root=username@gmail.com
mailhub:465=smtp.gmail.com
rewriteDomain=gmail.com
AuthUser=username
AuthPass=password
FromLineOverride=YES
UseTLS=YES

install MPACK

apt-get install mpack

usage:

mpack -s “file you wanted” ./data.pdf ambiorixg12@gmail.com

[grabadora]
exten => _205,1,Answer()
exten=>205,2,Set(FECHA=${STRFTIME(${EPOCH},%Y-%m-%d%H-%M-%S)})
exten => _205,3,Wait(2)
exten => _205,4,Record(${FECHA}:wav)
exten => _205,5,Wait(2)
exten => _205,6,Playback(${FECHA})
exten => 205,7,Wait(2)
same =>n,set(calltime=${STRFTIME(${EPOCH},%Y-%m-%d
%H-%M-%S)})
exten=>h,1,System(/usr/bin/mpack -s “Asterisk Dominicana ${calltime}” /var/lib/asterisk/sounds/${FECHA}.wav ambiorixg12@hotmail.com,ambiorixg12@gmail.com)