Re: [asterisk-users] How to append the recording file.
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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=_,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/ -- _ -- 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
Re: [asterisk-users] How to append the recording file.
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 sedwa...@sedwards.com 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
Re: [asterisk-users] How to append the recording file.
As the other posters said - try it! Another option would be to use sox to combine files with some common part of their filename. On 28 September 2014 19:39, Steve Edwards asterisk@sedwards.com wrote: 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 sedwa...@sedwards.com 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 -- _ -- 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
[asterisk-users] How to append the recording file.
Hi All, I am trying to record the call using MixMonitor. exten=_,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/ -- _ -- 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