Hi
I need add multiple phone numbers in secret file and in my program make this condition which any of that phone numbers was the sender, accept them.
would you please help me to write multiple phone number in one heading, in correct format, in secret file, and point it out correctly in my program.
somthing like this:
Unfortunately, no one helped me. Maybe I should ask my question in a different way.
As you can see in this picture, how can define multiple phone numbers in the secret file and the forwarded message can be sent to all those numbers in the forward section.
Thanks for your response
my second post is using GSM Modem in Home assistant and not for Esphome.
I did not open a new post and mentioned it in the same post
Yes in Both methods (Esphome with Sim800L and in Home assistant With GSM Modem) I got work with single number.
Now my problem is the second method (Home Assistant with GSM Modem ) like this Link:
No, I think you misunderstood my meaning.
The problem raised in the first post still exists for me, but at the moment the problem raised in the second post is vital and necessary for me.
I am now reading the guidance link you sent.
In my opinion, both problems are similar to each other.
If you’re looking to define multiple phone numbers as SMS senders and filter them, I’ve got a few ideas that might help. First, you could use services that let you manage different numbers for sending SMS. It’s like having your cake and eating it too!
A great option to check out is Tardigrada.io . Its tools help you set up multiple sender IDs and filter messages easily. Plus, its interface is pretty user-friendly, which is always a win.
Another option you might consider is using APIs to programmatically manage your SMS sending. That way, you can customize everything to fit your needs. Remember that some services might charge fees for extra numbers or features, so it’s worth shopping around.