From f1eac48add3e23a044d094cda816941a7c3021cf Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 18 Jan 2022 20:33:42 -0500 Subject: [PATCH] Fallback should actually happen This is certainly an accidental holdover from the original code, and was making voicemail from anon not work at all. --- web.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.rb b/web.rb index 2681a3b5817f115426022e089f7cbf914933abec..3f22f72d871007f3428ef46fedab5aedf0e425a6 100644 --- a/web.rb +++ b/web.rb @@ -110,7 +110,7 @@ class Web < Roda "13;phone-context=anonymous.phone-context.soprani.ca" elsif candidate[0] == "+" && /\A\d+\z/.match(candidate[1..-1]) candidate - elsif candidate == "Restricted" + else "#{TEL_CANDIDATES.fetch(candidate, '19')}" \ ";phone-context=anonymous.phone-context.soprani.ca" end