On 19/1/13 1:25 am, Joseph wrote:
I would like to outgoing/icoming calls and email the files.
This is what I have:
exten => _7.,n,Set(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten => _7.,n,Monitor(wav,${CALLFILENAME},m)
How do I email these file?

You probably want to use MixMonitor() instead of Monitor():
http://www.voip-info.org/wiki/view/Asterisk+cmd+Mixmonitor

One of its options allows you to execute a command at the end of recording, which you can then use to call a script to handle your recordings however you wish.

Kind regards,

Chris
--
This email is made from 100% recycled electrons

--
_____________________________________________________________________
-- 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

Reply via email to