Voicemail timeout field improvements

Stephen Paul Weber created

The -1 thing is pretty outdated, we have a voicemail disable for that
now.

Realistic range is 0 (instant voicemail) to 300 (bandwidth's max which
we impose in the code anyway).

Change summary

forms/configure_calls.rb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Detailed changes

forms/configure_calls.rb 🔗

@@ -14,8 +14,9 @@ if @customer.fwd.voicemail_enabled?
 		type: "text-single",
 		datatype: "xs:integer",
 		label: "Seconds to ring before voicemail",
-		description: "One ring is ~5 seconds. -1 means ring forever.",
-		value: @customer.fwd.timeout.to_i.to_s
+		description: "One ring is ~5 seconds",
+		value: @customer.fwd.timeout.to_i.to_s,
+		range: (0..300)
 	)
 
 	field(