On Fri, Feb 1, 2013 at 8:35 AM, A J Stiles <asterisk_l...@earthshod.co.uk>wrote:
> On Friday 01 February 2013, Bob Kyeyune wrote: > > Hello; > > how do i embed and send the recorded file to email automagically > > > > exten => _1XXX,3,MixMonitor(${CALLFILENAME}|b|/usr/sbin/wav2mp3 > > ${CALLFILENAME} ${peeremail} ${EXTEN} > ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)} > > ) > > > Here's an example of how we record and e-mail. You will need to download the sendEmail binary. [conference-record] exten => s,1,Answer exten => s,n,Set(MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/TelEvolve-conf-${UNIQUEID}) exten => s,n,Set(MEETME_RECORDINGFORMAT=wav49) exten => s,n,Wait(1) exten => s,n,MeetMe(televolve,cDr) exten => h,1,System(/usr/sbin/sendEmail -t car...@televolve.com -f notificati...@televolve.com -u "Conference call recording" -m "Conference call ${UNIQUEID}") -- Carlos Alvarez TelEvolve 602-889-3003
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users