Hi All, I am trying to record the call using MixMonitor. exten=>_XXXX,n,MixMonitor(${EXTEN}.wav,b) What i want to do is- when first time a call is made to some number say 1100, a new file (1100.wav) is created. When call is made 2nd or 3rd time, no new file is created instead call recording is appended to file created in above step. Now I know that 'a' option is used to append the recording to a file but I couldn't find any example on how to use it? Also if I use 'a' option and file doesn't exist then is it created or it is error? Any suggestions please? Anurag Rana http://newbie42.blogspot.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140928/d4e3652e/attachment.html>
How about recording the call calling it whatever you want, and then using a custom AGI script to append the call to the original one? That?s how I would do it if it were me. Regards; John From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anurag Rana Sent: Sunday, September 28, 2014 1:55 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] How to append the recording file. Hi All, I am trying to record the call using MixMonitor. exten=>_XXXX,n,MixMonitor(${EXTEN}.wav,b) What i want to do is- when first time a call is made to some number say 1100, a new file (1100.wav) is created. When call is made 2nd or 3rd time, no new file is created instead call recording is appended to file created in above step. Now I know that 'a' option is used to append the recording to a file but I couldn't find any example on how to use it? Also if I use 'a' option and file doesn't exist then is it created or it is error? Any suggestions please? Anurag Rana http://newbie42.blogspot.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140928/e08a7222/attachment.html>
On Sun, 28 Sep 2014, Anurag Rana wrote:> I am trying to record the call using MixMonitor....> Now I know that 'a' option is used to append the recording to a file but > I couldn't find any example on how to use it? Also if I use 'a' option > and file doesn't exist then is it created or it is error? > > Any suggestions please?Sure. Try it -- faster than waiting for a response. If it depends on the file already existing, add it to 'core show application mixmonitor.' If it creates the file if it doesn't exist, add it to 'core show application mixmonitor.' -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000