Possible Bug With Record Call Function file format
-
I believe I have found a small bug in how FOP2 handles the Record Call Function.
I am running Asterisk 1.4 and I can have any calls recorded simply by pressing * then 1 anytime in any conversation.
The calls are stored in /var/spool/asterisk/monitor in this format auto-1247113341-XXX-xxxxxxxxxx.wav
the XXX is for the the extension number and xxxxxxxxxx is for Caller ID number.The 1247113341 is the file number. Now anytime a call is recorded I can listen to this recorded call via the recordings tab in FreeBPX. I just log in with my extension and I can listen to any calls that I have recorded and delete them as well. All works well.Now the problem is when I click on the Record Call Function (which I love because there are no dial tones like when I press on * then 1) it DOES record the call but puts the file in the wrong format. The Record Call Function DOES place the call in the proper directory in /var/spool/asterisk/monitor however it saves it in XXX-1247113454.wav this format which is extension-then file number.wav
The proper fix I believe would need to be saved in auto-file number-extension-Caller ID.wav
If I rename any of the Record Call Function saved files to that file format I now can listen to the recorded calls in the FreePBX recordings tab and also delete them.
I hope this helps.
By the way FOP2 is amazing. I am testing the free version at home I have only 5 extensions however when I will install Asterisk in my office I will get the paid version.
-
Hi,
Thank you for your very detailed analysis. It is not technically a bug, but it would be nice to add a configuration parameter to set the recording file name, so freepbx/ari users can have them available in that name format, while other users might use a different one.
I will consider this a feature request and I will see if I can incorporate the feature into the next release.
Best regards,
--
Nicolás -
-
Hi Nicolás another thing I noticed with the Record Call Function is that when a call stops recording you must refresh the page for the icon to go away. Even if you hang up or click the hang up icon it still shows the record icon inside the extension button.
The page does not auto refresh you must log out then back in for the icon to disappear. -
-
-
-
Don't tell anyone but the centos 5 32 bit is already updated with that fix... if you redownload you only need to replace fop2_server and fop2.js . The official next release will be sometime next week. I would love to have parking enabled but it is taking longer than I expected.
-
-
What version did you download? You might want to try with a beta because not all original versions where updated.
Here you have the locations to download the betas:
-
-
Please look at fop2.cfg where you can set the recording filename to the format you like. The default name will work show recordings on Elastix recording interface. If you need to adjust it so it works with your FreePBX version, feel free to do so. The filename is not a behavior nor a bug, not sure what you expect the file name to be.
; Filename to use when start monitoring, you can use ${UNIQUEID}, ; ${ORIG_EXTENSION}, ${DEST_EXTENSION} ; and date formats %Y %m %d to construct the filename. ; ; Settings for modifying the recording filename ; Available variables are: ; ${UNIQUEID} = Unique Id of the call ; ${TIMESTAMP} = Unix Timestamp when the recording was initiated ; ${DEST_EXTENSION} = Target extenstion being monitored ; ${ORIG_EXTENSION} = Extension/User that started the recording (not ; the other leg) ; Date variables: ; %Y 4 digits year ; %y 2 digits year ; %m 2 digits month ; %d 2 digits day ; %h 2 digits hour ; %i 2 digits minute ; %s 2 digits seconds monitor_filename=g${DEST_EXTENSION}-${UNIQUEID} monitor_format=wav monitor_mix=true -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login