Change minimum voicemail length to less than 3 seconds?

Status
Not open for further replies.

Tuly

Member
Sep 6, 2017
42
1
8
38
Hi,
right now when someone leaves a voicemail of less then 3 seconds, the system plays back a message "your recording is below the minimum acceptable length" i would like to change that so the system should accept a voicemail even less then 3 seconds, how can i do that?
 

Thotti

New Member
Aug 23, 2018
7
0
1
50
Munich
0049.cloud
This is not configurable. Open a terminal/ssh shell and open the lua script doing the recording:

vi /usr/share/freeswitch/scripts/app/voicemail/resources/functions/record_message.lua

In line 270/271 you will see, what you have to change. You could change it to:
if (message_length > 1) then
 

markjcrane

Active Member
Staff member
Jul 22, 2018
450
162
43
49
I hard coded it because of reports of blank or empty voicemails. People considered it a bug.
 
Status
Not open for further replies.