Un-top-posting...
2011/3/2 Danny Nicholas <[email protected]>
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: [email protected] [mailto:[email protected]] 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 [email protected] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
-- _____________________________________________________________________ -- 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
