<br><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 8:35 AM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Friday 01 February 2013, Bob Kyeyune wrote:<br>
> Hello;<br>
> how do i embed and send the recorded file to email automagically<br>
><br>
> exten => _1XXX,3,MixMonitor(${CALLFILENAME}|b|/usr/sbin/wav2mp3<br>
> ${CALLFILENAME} ${peeremail} ${EXTEN} ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}<br>
> )<br>
><br></div></blockquote><div><br></div><div></div></div><div><br></div>Here's an example of how we record and e-mail. You will need to download the sendEmail binary.<br clear="all"><div><br></div><div><div>[conference-record]</div>
<div>exten => s,1,Answer</div><div>exten => s,n,Set(MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/TelEvolve-conf-${UNIQUEID})</div><div>exten => s,n,Set(MEETME_RECORDINGFORMAT=wav49)</div><div>exten => s,n,Wait(1)</div>
<div>exten => s,n,MeetMe(televolve,cDr)</div><div>exten => h,1,System(/usr/sbin/sendEmail -t <a href="mailto:carlos@televolve.com">carlos@televolve.com</a> -f <a href="mailto:notifications@televolve.com">notifications@televolve.com</a> -u "Conference call recording" -m "Conference call ${UNIQUEID}")</div>
</div><div><br></div><div><br></div>-- <br><div>Carlos Alvarez</div><div>TelEvolve</div><div>602-889-3003</div><div><br></div>