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/
3 thoughts on - 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-bounces@lists.digium.com [mailto:asterisk-users-bounces@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/
…
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.’
As the other posters said – try it!
Another option would be to use sox to combine files with some common part of their filename.