[asterisk-users] recrding calls

2013-01-18 Thread Joseph
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? -- Joseph --

Re: [asterisk-users] recrding calls

2013-01-18 Thread Chris Bagnall
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

Re: [asterisk-users] recrding calls

2013-01-18 Thread Joseph
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

Re: [asterisk-users] recrding calls

2013-01-18 Thread Steve Edwards
On Fri, 18 Jan 2013, Joseph wrote: 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) Please re-read the description for mixmonitor(). The arguments are not the

Re: [asterisk-users] recrding calls

2013-01-18 Thread Joseph
On 01/18/13 18:09, Steve Edwards wrote: On Fri, 18 Jan 2013, Joseph wrote: 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) Please re-read the description for

Re: [asterisk-users] recrding calls

2013-01-18 Thread Carlos Alvarez
On Fri, Jan 18, 2013 at 6:25 PM, Joseph syscon...@gmail.com 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?

Re: [asterisk-users] recrding calls

2013-01-18 Thread Joseph
On 01/18/13 19:27, Carlos Alvarez wrote: On Fri, Jan 18, 2013 at 6:25 PM, Joseph [1]syscon...@gmail.com 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 =

Re: [asterisk-users] recrding calls

2013-01-18 Thread Warren Selby
Around version 1.4 or 1.6, TIMESTAMP was phased out and replaced with STRFTIME. See this page for details on how to properly generate a timestamp: http://www.voip-info.org/wiki/view/Asterisk+func+strftime On Fri, Jan 18, 2013 at 8:46 PM, Joseph syscon...@gmail.com wrote: On 01/18/13 19:27,

Re: [asterisk-users] recrding calls

2013-01-18 Thread Carlos Alvarez
Yeah, sorry, that example was from one of our older servers. On Fri, Jan 18, 2013 at 8:08 PM, Warren Selby wcse...@selbytech.com wrote: Around version 1.4 or 1.6, TIMESTAMP was phased out and replaced with STRFTIME. See this page for details on how to properly generate a timestamp:

Re: [asterisk-users] recrding calls

2013-01-18 Thread Joseph
On 01/18/13 21:08, Warren Selby wrote: Around version 1.4 or 1.6, TIMESTAMP was phased out and replaced with STRFTIME. See this page for details on how to properly generate a timestamp: [1]http://www.voip-info.org/wiki/view/Asterisk+func+strftime Thank Warren for the pointer, yes it