Ticket #3733 (new Feature Requests)

Opened 3 years ago

Last modified 2 years ago

At the end of voicemail recording, allow a call to SoX

Reported by: aaelghat1 Assigned to:
Priority: minor Milestone: Undetermined
Component: Voicemail Version:
Keywords: voicemail, SoX, Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

In FreePBX under General Settings\Call Recording\Run After Record you can specify an optional call monitor script to be run after the call is hung-up. A similar capability to run a script when a voicemail is left would be handy as well.

My intent would be to run a SoX command that would look at the last six seconds of the voicemail and filter out the hang-up click or the "1" touchtone (the voicemail system tell people they can press "1" to end the call, but the DTMF tone ends as part of the recording). After doing that I would amplify the recording. I realize that there is a voicemail recording gain parameter, but the hang-up click or "1" DTMF sound are often the loudest things on the recording, so I achieve better results by first filtering out those sounds, and then amplifying the audio.

If there is an alternate way of doing this, I'd be most receptive. The trickiest thing for me is to ensure that SoX is modifying the right VM file. Thanks.

Change History

07/11/09 02:05:11 changed by aaelghat1

One more thing here...

Although there is the externotify option in voicenmail.conf to call an external program, the issue is that the three parameters that are passed to it are context, extension, and number of messages. I can't act on the recording without knowing the recording path and file name of the last recording.

08/17/09 18:22:27 changed by p_lindheimer

  • version deleted.
  • milestone changed from 2.6 to 2.7.