diff --git a/incoming.php b/incoming.php index f58bc74..e6b251c 100755 --- a/incoming.php +++ b/incoming.php @@ -56,11 +56,11 @@ if ($countryCode) { ); } else $isOutOfHours = true; -} -if ($isOutOfHours) { - Agi::exec("SET VARIABLE MACRO $countryCode-out-of-ours"); - exit; + if ($isOutOfHours) { + Agi::exec("SET VARIABLE MACRO $countryCode-out-of-ours"); + exit; + } } // Gets the client from the phone number