On 01/19/13 01:34, Chris Bagnall wrote:
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

I see, so MixMonitor mixes the IN/OUT sound as one file; that is good.

I've modified it but the call is recorded as "raw" extension and no TIMESTAMP.

exten => 11,n,Set(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten => 11,n,MixMonitor(${CALLFILENAME},wav,b)

--
Joseph

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