how to program the bot to understand if the sms doesn't arrive/numbers doesn't arrive or other problems, and to request a new number until the activation code is received
When we get number by verifying Gmail account creation from any temporary number provider site.
While the cost of numbers provided by each provider varies.
So how can we choose a low cost number?
There is no action in the BAS module to determine the cost of a room, but you can find out the cost yourself through the api of the service you need.