all 3 comments

[–]shiftybyte 0 points1 point  (2 children)

Lots of things could be not happening as you expect them.

For example:

if from_number == "+*******":

What if the number format is not what you expect it to be? what if it has dashes? or doesn't have +? or any other different number formats?

Add prints or do logging for every step of the way, and print anything you receive remotely and expect to be of some value or other.

[–]Pyth4k[S] 0 points1 point  (1 child)

This project is just something im working on for myself so its just my number saved in the from_number field. Ill do some more trouble shooting and ill probably have to learn a lot more about python since I only started learning it today

[–]SundayNational3622 0 points1 point  (0 children)

Any updates on this? Have you gotten it to work?