[asterisk-users] records inbound and outbound calls
Steve Edwards
asterisk.org at sedwards.com
Wed Mar 2 12:35:35 CST 2011
Un-top-posting...
> 2011/3/2 Danny Nicholas <danny at debsinc.com>
> How I did it
>
> exten => 3009,1,Answer()
> exten => 3009,2,MixMonitor(test.wav|av(0)V(0))
> exten => 3009,3,Dial(SIP/144)
> exten => 3009,4,Hangup()
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> salaheddine elharit
> thank you i have one question waht is 3009 is the called
On Wed, 2 Mar 2011, Danny Nicholas wrote:
> I made a sub-context 3009 in default to let me call from my phone
> “sipphone” to my phone “144” and record the conversation.
3009 is an extension, not a [sub]context.
I'd add a suggestion to use the 'n' priority to make maintenance easier.
I use
'mixmonitor(/tmp/${EXTEN}-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}.wav)'
on my dev box so the file name has the number I dialed as well as the
timestamp.
Also, recording calls without warning is illegal in [many|most|all]
countries.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list