[asterisk-users] recrding calls

Joseph syscon780 at gmail.com
Fri Jan 18 20:03:14 CST 2013


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



More information about the asterisk-users mailing list