Skip to content

Commit

Permalink
Apply user locale for internal and in-call door managers
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Apr 26, 2024
1 parent 784ad00 commit 29da1b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions door_ivr/door_ivr.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ def handle_phone_call(self):
self.answer_wait_greet_stream_and_end_call('insufficient_permissions')
return

self.user_locale = self.get_user_locale()

doors = self.get_doors()

if not any(door['supported_actions'] for door in doors):
Expand Down Expand Up @@ -388,6 +390,8 @@ def handle_phone_call(self):
self.answer_wait_greet_stream_and_end_call('insufficient_permissions')
return

self.user_locale = self.get_user_locale()

doors = self.get_doors()

if not any(door['supported_actions'] for door in doors):
Expand Down

0 comments on commit 29da1b2

Please sign in to comment.