@@ -174,10 +174,10 @@ |
||
174 | 174 | $body['call']['source'] = Config::$otpCallSource; |
175 | 175 | $body['call']['speed'] = Config::$otpCallSpeed; |
176 | 176 | $body['call']['repetition'] = Config::$otpCallRepetition; |
177 | - if (isset(Config::$otpCallVoiceProfile)) { |
|
178 | - $body['call']['voiceProfile'] = Config::$otpCallVoiceProfile; |
|
179 | - } |
|
180 | - break; |
|
177 | + if (isset(Config::$otpCallVoiceProfile)) { |
|
178 | + $body['call']['voiceProfile'] = Config::$otpCallVoiceProfile; |
|
179 | + } |
|
180 | + break; |
|
181 | 181 | default: |
182 | 182 | throw new Exception(PHP_EOL. "***You must specify an OTP channel type***" . PHP_EOL); |
183 | 183 | break; |