There is a list of numbers, and how you need to store all these numbers in one format. For example, the API can do the numbers in the following formats:
+7 777 777 77 77
8 777 777 77 77
777 777 77 77
And the whole thing should be kept in the same form as one number - 77777777777
As does iOS? For example, if you dial any of these numbers, in any case, get on one.
No matter where to handle the rooms, though on the server (PHP), at least at the front (Swift, Objective-C)